13 #ifndef __MSTRING_H__2B50AFA1_EFB9_428a_A397_3FFEA175FA33__
14 #define __MSTRING_H__2B50AFA1_EFB9_428a_A397_3FFEA175FA33__
25 #if 1 // defined _UNICODE || defined UNICODE
26 typedef std::wstringstream _stringstreamBase;
27 typedef std::wstring _stringBase;
28 typedef wchar_t _baseChar;
29 typedef char _otherChar;
31 typedef std::stringstream _stringstreamBase;
32 typedef std::string _stringBase;
33 typedef char _baseChar;
34 typedef wchar_t _otherChar;
44 typedef _stringstreamBase _Mybase;
53 typedef const _baseChar* CHAR_PTR;
54 typedef const _otherChar* OCHAR_PTR;
56 typedef _stringBase _Mybase;
59 inline MString(CHAR_PTR arg) : _stringBase(arg) { }
62 template<
typename T>
inline MString& operator<<(T arg)
64 MStringStream _s; _s << arg; this->append(_s.str());
return *
this;
70 inline operator CHAR_PTR()
const {
return c_str(); }
167 #endif // __MSTRING_H__2B50AFA1_EFB9_428a_A397_3FFEA175FA33__
Helper class for simple string manipulations