CMGDK r49-rc2
组合类型 | 名字空间 | 宏定义 | 函数
K:/CMGDKv18/SDK/Include/hgl/type/WideString.H文件参考
#include <hgl/CodePage.H>
#include <hgl/type/DataType.H>
#include <hgl/type/WideString.Private.H>
#include <hgl/CompOperator.H>
#include <hgl/type/WideString.Operator.H>

浏览该文件的源代码。

组合类型

class  hgl::WideString
 宽字符串处理类 更多...
class  hgl::PropertyString

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


宏定义

#define oper_over(type)
#define oper_over(type)
#define ps_oper(type)   void operator = (type val){if(true_str)*true_str=val;SafeCallEvent(OnSet,());}
#define hglSetPropertyString(prop, str, pointer, class_name, get_func, set_func)
#define hglSetPropertyStringRead(prop, str, pointer, class_name, get_func)
#define hglSetPropertyStringWrite(prop, str, pointer, class_name, set_func)

函数

 hgl::oper_over (char)
 hgl::oper_over (wchar_t)
 hgl::oper_over (int)
 hgl::oper_over (uint)
 hgl::oper_over (int64)
 hgl::oper_over (uint64)
 hgl::oper_over (double)
 hgl::oper_over (char *)
 hgl::oper_over (wchar_t *)
template<typename T >
WideString hgl::BinaryToStr (const T &value)
WideString hgl::HexToStr (const uint8 *data, const int bytes, bool upper=true)
template<typename T >
WideString hgl::HexToStr (const T &value, bool upper=true)
WideString hgl::IntToStr (int64 n)
 转换整型数到WideString
WideString hgl::UIntToStr (uint64 n)
 转换整型数到WideString
WideString hgl::FloatToStr (double n)
 转换浮点数到WideString
void hgl::IntToSize (WideString &, uint64)

宏定义文档

#define hglSetPropertyString (   prop,
  str,
  pointer,
  class_name,
  get_func,
  set_func 
)
值:
prop.Set(str);  \
                                                                                SetEventCall(prop.OnGet,pointer,class_name,get_func);   \
                                                                                SetEventCall(prop.OnSet,pointer,class_name,set_func);
#define hglSetPropertyStringRead (   prop,
  str,
  pointer,
  class_name,
  get_func 
)
值:
prop.Set(str);  \
                                                                                SetEventCall(prop.OnGet,pointer,class_name,get_func);
#define hglSetPropertyStringWrite (   prop,
  str,
  pointer,
  class_name,
  set_func 
)
值:
prop.Set(str);  \
                                                                                SetEventCall(prop.OnSet,pointer,class_name,set_func);
#define oper_over (   type)
值:
bool operator type (const PropertyString &str) const    \
                                { \
                                    if(!true_str)   \
                                    {   \
                                        if(!str.true_str)   \
                                            return 0 type 1;    \
                                        else    \
                                            return 0 type 0;    \
                                    }   \
                                    else \
                                    {   \
                                        if(!str.true_str)   \
                                            return 1 type 0;    \
                                        else    \
                                            return *true_str type *str.true_str;    \
                                    } \
                                }
#define oper_over (   type)
值:
inline WideString operator + (const type val,const WideString &str) \
                            {   \
                                WideString new_str(val);    \
                                \
                                new_str.Strcat(str.wc_str());   \
                                \
                                return(new_str);    \
                            }
#define ps_oper (   type)    void operator = (type val){if(true_str)*true_str=val;SafeCallEvent(OnSet,());}
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义