15 #ifdef DtUSE_UTILITIES_NAMESPACE
16 namespace DtUSE_UTILITIES_NAMESPACE
42 #define is_bigendian() ( (*(char*)&endianChecker) == 0 )
48 for(
int i = 0; i < ( theSize >> 1 ); ++i )
50 theEnd = ( theSize - 1 ) - i;
51 byteArray[ i ] ^= byteArray[ theEnd ];
52 byteArray[ theEnd ] ^= byteArray[ i ];
53 byteArray[ i ] ^= byteArray[ theEnd ];
60 unsigned short msbyte = rhs & 0x00ff;
61 unsigned short lsbyte = ( rhs & 0xff00 ) >> 8;
62 return ( msbyte << 8 ) | lsbyte;
70 return ( msword << 16 ) | lsword;
77 unsigned int mspart =
endianSwap32Bit( static_cast<unsigned int>(rhs & 0xffffffff) );
78 unsigned int lspart =
endianSwap32Bit(static_cast<unsigned int>(( rhs >> 32 ) & 0xffffffff) );
79 return (
DtU64 ( mspart ) << 32 ) | lspart;
111 bool usingDt =
false;
122 input = iter->second;
127 if(nonDt[0] ==
'D' && nonDt[1] ==
't')
140 std::string temp = input.
string();
148 input = temp.
c_str();
156 #ifdef DtUSE_UTILITIES_NAMESPACE