CMGDK r49-rc2
名字空间 | 宏定义 | 函数
K:/CMGDKv18/SDK/Source/Base/DataType/TDF.CPP文件参考
#include <hgl/LogInfo.H>
#include <hgl/type/TDF.H>
#include <hgl/stream/FileStream.H>
#include <hgl/HAC.H>
#include <string.h>

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


宏定义

#define READFUNC(func, type)
#define WRITEFUNC(func, type)

函数

 hgl::READFUNC (ReadBool, bool)
 hgl::READFUNC (ReadInt8, int8)
 hgl::READFUNC (ReadInt16, int16)
 hgl::READFUNC (ReadInt32, int32)
 hgl::READFUNC (ReadInt64, int64)
 hgl::READFUNC (ReadUint8, uint8)
 hgl::READFUNC (ReadUint16, uint16)
 hgl::READFUNC (ReadUint32, uint32)
 hgl::READFUNC (ReadUint64, uint64)
 hgl::READFUNC (ReadFloat, float)
 hgl::READFUNC (ReadDouble, double)
 hgl::READFUNC (ReadString, WideString)
 hgl::WRITEFUNC (WriteBool, bool)
 hgl::WRITEFUNC (WriteInt8, int8)
 hgl::WRITEFUNC (WriteInt16, int16)
 hgl::WRITEFUNC (WriteInt32, int32)
 hgl::WRITEFUNC (WriteInt64, int64)
 hgl::WRITEFUNC (WriteUint8, uint8)
 hgl::WRITEFUNC (WriteUint16, uint16)
 hgl::WRITEFUNC (WriteUint32, uint32)
 hgl::WRITEFUNC (WriteUint64, uint64)
 hgl::WRITEFUNC (WriteFloat, float)
 hgl::WRITEFUNC (WriteDouble, double)
 hgl::WRITEFUNC (WriteString, const WideString &)
void hgl::tdfWriteCompressData (TDFNode *, const WideString &, const WideString &, void *, int, const WideString &)
 存入压缩数据
void hgl::tdfWriteCompressData (TDFNode *, const WideString &, const WideString &, void *, int, CA)
 存入压缩数据
int hgl::tdfReadCompressData (TDFNode *, const WideString &, const WideString &, void *, int)
 读取压缩数据
void hgl::tdfWriteCompressData (TDFNode *, const WideString &, void *, int, const WideString &)
 存入压缩数据
void hgl::tdfWriteCompressData (TDFNode *, const WideString &, void *, int, CA=caRLE)
 存入压缩数据
int hgl::tdfReadCompressData (TDFNode *, const WideString &, void *, int)
 读取压缩数据
int hgl::tdfReadCompressImage (TDFNode *, const WideString &, const WideString &, void *, int, int, int)
void hgl::tdfWriteCompressImage (TDFNode *, const WideString &, const WideString &, void *, int, int, int, const WideString &, float)
int hgl::tdfReadCompressImage (TDFNode *, const WideString &, void *, int, int, int)
void hgl::tdfWriteCompressImage (TDFNode *, const WideString &, void *, int, int, int, const WideString &, float)

宏定义文档

#define READFUNC (   func,
  type 
)
值:
bool TDFNode::func(const wchar_t *name,type &val)   \
                                    {   \
                                        TDFNode *node=FindNode(name);    \
                                        \
                                        if(node)    \
                                        {   \
                                            node->Data.Position=0;  \
                                            return node->Data.func(val);    \
                                        }   \
                                        else    \
                                            return(false);  \
                                    }
#define WRITEFUNC (   func,
  type 
)
值:
TDFNode * TDFNode::func(const wchar_t *name,type _val_data)    \
                                    {   \
                                        TDFNode *node=FindNode(name);    \
                                        \
                                        if(!node)node=Create(name); \
                                        \
                                        node->Data.Clear(); \
                                        node->Data.func(_val_data);   \
                                        \
                                        return(node);   \
                                    }
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义