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;
120 input = iter->second;
122 else if(input.
length() > 100)
124 std::string temp = input.
string();
132 input = temp.
c_str();
140 #ifdef DtUSE_UTILITIES_NAMESPACE