CMGDK r49-rc2
组合类型 | 枚举 | 函数 | 变量
hgl::endian名字空间参考

组合类型

struct  BOMFileHeader
struct  WideCharConvert< 2 >
struct  WideCharConvert< 4 >
struct  UTF16ToWideChar< HGL_LITTLE_ENDIAN >
struct  UTF16ToWideChar< HGL_BIG_ENDIAN >
struct  UTF16CharConvert< 2 >
struct  UTF16CharConvert< 4 >
struct  WideToUTF16Char< HGL_LITTLE_ENDIAN >
struct  WideToUTF16Char< HGL_BIG_ENDIAN >

枚举

enum  ByteOrderMask {
  bomAnsi = 0, bomUTF8, bomUTF16LE, bomUTF16BE,
  bomUTF32LE, bomUTF32BE, bomEnd
}

函数

template<int , char >
const char * GetCurWideCharSet ()
template<>
const char * GetCurWideCharSet< 2, HGL_LITTLE_ENDIAN > ()
template<>
const char * GetCurWideCharSet< 2, HGL_BIG_ENDIAN > ()
template<>
const char * GetCurWideCharSet< 4, HGL_LITTLE_ENDIAN > ()
template<>
const char * GetCurWideCharSet< 4, HGL_BIG_ENDIAN > ()
const char * GetWideCharSet ()
template<typename T >
EndianSwap (const T value)
template<>
int8 EndianSwap< int8 > (const int8 value)
template<>
uint8 EndianSwap< uint8 > (const uint8 value)
template<typename T >
void EndianSwap (T *value, const int64 count)
template<typename T >
void EndianSwap (T *dst, const T *src, const int64 count)
template<typename D , typename S >
void EndianSwap (D *dst, const S *src, const int64 count)
template<typename T >
ToBigEndian (T value)
template<typename T >
void ToBigEndian (T *value, const int64 count)
template<typename D , typename S >
void ToBigEndian (D *dst, const S *src, const int64 count)
template<typename T >
ToLittleEndian (T value)
template<typename T >
void ToLittleEndian (T *value, const int64 count)
template<typename D , typename S >
void ToLittleEndian (D *dst, const S *src, const int64 count)

变量

const BOMFileHeader BOMData [bomEnd]

枚举类型文档

枚举值:
bomAnsi 
bomUTF8 
bomUTF16LE 
bomUTF16BE 
bomUTF32LE 
bomUTF32BE 
bomEnd 

函数文档

template<typename T >
T hgl::endian::EndianSwap ( const T  value) [inline]
template<typename T >
void hgl::endian::EndianSwap ( T *  value,
const int64  count 
) [inline]
template<typename T >
void hgl::endian::EndianSwap ( T *  dst,
const T *  src,
const int64  count 
) [inline]
template<typename D , typename S >
void hgl::endian::EndianSwap ( D *  dst,
const S *  src,
const int64  count 
) [inline]
template<>
int8 hgl::endian::EndianSwap< int8 > ( const int8  value) [inline]
template<>
uint8 hgl::endian::EndianSwap< uint8 > ( const uint8  value) [inline]
template<int , char >
const char* hgl::endian::GetCurWideCharSet ( )
template<>
const char* hgl::endian::GetCurWideCharSet< 2, HGL_BIG_ENDIAN > ( ) [inline]
template<>
const char* hgl::endian::GetCurWideCharSet< 2, HGL_LITTLE_ENDIAN > ( ) [inline]
template<>
const char* hgl::endian::GetCurWideCharSet< 4, HGL_BIG_ENDIAN > ( ) [inline]
template<>
const char* hgl::endian::GetCurWideCharSet< 4, HGL_LITTLE_ENDIAN > ( ) [inline]
const char* hgl::endian::GetWideCharSet ( ) [inline]
template<typename D , typename S >
void hgl::endian::ToBigEndian ( D *  dst,
const S *  src,
const int64  count 
) [inline]
template<typename T >
void hgl::endian::ToBigEndian ( T *  value,
const int64  count 
) [inline]
template<typename T >
T hgl::endian::ToBigEndian ( value)
template<typename T >
void hgl::endian::ToLittleEndian ( T *  value,
const int64  count 
) [inline]
template<typename D , typename S >
void hgl::endian::ToLittleEndian ( D *  dst,
const S *  src,
const int64  count 
) [inline]
template<typename T >
T hgl::endian::ToLittleEndian ( value)

变量文档

初始化序列:
        {
            {0,{}},
            {3,{0xEF,0xBB,0xBF}},
            {2,{0xFF,0xFE}},
            {2,{0xFE,0xFF}},
            {4,{0xFF,0xFE,0x00,0x00}},
            {4,{0x00,0x00,0XFE,0xFF}}
        }
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义