16 #ifdef DtUSE_UTILITIES_NAMESPACE
17 namespace DtUSE_UTILITIES_NAMESPACE
43 #define is_bigendian() ( (*(char*)&endianChecker) == 0 )
49 for(
int i = 0; i < ( theSize >> 1 ); ++i )
51 theEnd = ( theSize - 1 ) - i;
52 byteArray[ i ] ^= byteArray[ theEnd ];
53 byteArray[ theEnd ] ^= byteArray[ i ];
54 byteArray[ i ] ^= byteArray[ theEnd ];
61 unsigned short msbyte = rhs & 0x00ff;
62 unsigned short lsbyte = ( rhs & 0xff00 ) >> 8;
63 return ( msbyte << 8 ) | lsbyte;
71 return ( msword << 16 ) | lsword;
78 unsigned int mspart =
endianSwap32Bit( static_cast<unsigned int>(rhs & 0xffffffff) );
79 unsigned int lspart =
endianSwap32Bit(static_cast<unsigned int>(( rhs >> 32 ) & 0xffffffff) );
80 return (
DtU64 ( mspart ) << 32 ) | lspart;
111 bool usingDt =
false;
129 input = iter->second;
134 if(nonDt[0] ==
'D' && nonDt[1] ==
't')
149 std::string temp = input.
string();
157 input = temp.
c_str();
165 #ifdef DtUSE_UTILITIES_NAMESPACE