lifan
4 天以前 375a5e615ac9bf1a6e71a8f03b6df0285d7667b5
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);