lifan
112 分钟以前 50ef8b1576ffbd5983b3776342730de32f41d0d1
jrj/xframe/wobject/xstring.hpp
@@ -17,12 +17,16 @@
   xstring(int val);
   xstring(double val);
   xstring(LPARAM val);
   xstring(LPARAM val,bool bdata=false);
   xstring(wchar_t* val, bool shouldSysFree = false);
   xstring(const wchar_t* val, bool shouldSysFree = false);
   ~xstring();
public:
   operator LPARAM()
   {
      return (LPARAM)data;
   }
   operator const wchar_t*()
   {
      return c_str();
@@ -87,7 +91,8 @@
   xstring rtrim();
   bool isNumber();
   xstring replace(wchar_t* from, wchar_t* to, int pos);
   xstring replace(const wchar_t* from, const wchar_t* to);
   xstring replace(const wchar_t* from, const wchar_t* to, int pos);
};
xstring operator +(const wchar_t* lhs, const xstring& rhs);