CMGDK r49-rc2
组合类型 | 名字空间 | 宏定义 | 枚举 | 函数 | 变量
K:/CMGDKv18/SDK/Include/hgl/endian/Endian.h文件参考
#include <hgl/platform/Platform.h>

浏览该文件的源代码。

组合类型

struct  hgl::endian::BOMFileHeader

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


namespace  hgl::endian

宏定义

#define HGL_BOM_UTF16LE   0xfffe
#define HGL_BOM_UTF16BE   0xfeff
#define HGL_BOM_UTF32LE   0xfffe0000
#define HGL_BOM_UTF32BE   0x0000feff
#define LittleToCurrentEndian   EndianSwap
#define BigToCurrentEndian   ToBigEndian

枚举

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

函数

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

变量

const BOMFileHeader hgl::endian::BOMData [bomEnd]

宏定义文档

#define BigToCurrentEndian   ToBigEndian
#define HGL_BOM_UTF16BE   0xfeff
#define HGL_BOM_UTF16LE   0xfffe
#define HGL_BOM_UTF32BE   0x0000feff
#define HGL_BOM_UTF32LE   0xfffe0000
#define LittleToCurrentEndian   EndianSwap
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义