CMGDK r49-rc2
|
名字空间 | |
namespace | hgl |
__MAKE_HGL__&&!__MAKE_PLUGIN__ | |
宏定义 | |
#define | DEVIL_COMP_FLAG(flag, func, _lt, _rt) case flag:dci=new func<_lt,_rt>(left,right);break; |
#define | DEVIL_COMP_CREATE(lt, _lt, rt, _rt) |
#define | DEVIL_COMP_ARRAY(lt, _lt) |
函数 | |
void | hgl::ConvertString (WideString &targe, wchar_t *source, int length) |
#define DEVIL_COMP_ARRAY | ( | lt, | |
_lt | |||
) |
DEVIL_COMP_CREATE(lt,_lt,ttBool, bool); \ DEVIL_COMP_CREATE(lt,_lt,ttInt, int); \ DEVIL_COMP_CREATE(lt,_lt,ttUInt, uint); \ DEVIL_COMP_CREATE(lt,_lt,ttFloat, float); \ DEVIL_COMP_CREATE(lt,_lt,ttDouble, double);\ DEVIL_COMP_CREATE(lt,_lt,ttInt64, int64); \ DEVIL_COMP_CREATE(lt,_lt,ttUInt64, uint64);\
#define DEVIL_COMP_CREATE | ( | lt, | |
_lt, | |||
rt, | |||
_rt | |||
) |
if((left->type==lt)&&(right->type==rt)) \ switch(comp) \ { \ DEVIL_COMP_FLAG(ttEqual ,DevilCompEqu ,_lt,_rt) \ DEVIL_COMP_FLAG(ttNotEqual ,DevilCompNotEqu ,_lt,_rt) \ DEVIL_COMP_FLAG(ttLessThan ,DevilCompLess ,_lt,_rt) \ DEVIL_COMP_FLAG(ttGreaterThan ,DevilCompGreater ,_lt,_rt) \ DEVIL_COMP_FLAG(ttLessThanOrEqual ,DevilCompLessEqu ,_lt,_rt) \ DEVIL_COMP_FLAG(ttGreaterThanOrEqual,DevilCompGreaterEqu,_lt,_rt) \ };