#include <MzString.h>
公有成员 | |
| wchar_t * | C_Str () const |
| get the string' buffer pointer, you can use it to do string formatting & etc. | |
| CMzStringW (const wchar_t *pStr) | |
| constructor | |
| CMzStringW (const CMzStringW &Str) | |
| constructor | |
| CMzStringW (size_t nSize) | |
| constructor | |
| CMzStringW (void) | |
| int | Compare (const CMzString &_Str) const |
| strings comparing: the return value is the same as the C function: wcscmp | |
| int | Compare (const wchar_t *pStr) const |
| strings comparing: the return value is the same as the C function: wcscmp | |
| size_t | GetBufferSize () const |
| get the buffer size (charactor count) | |
| bool | IsEmpty () const |
| is the string empty | |
| size_t | Length () const |
| get the string's characters count | |
| operator LPCTSTR () const | |
| type conversion operator | |
| operator LPTSTR () const | |
| type conversion operator | |
| CMzStringW | operator+ (const wchar_t *pStr) |
| strings link operator | |
| CMzStringW | operator+ (const CMzStringW &Str) |
| strings link operator | |
| CMzStringW & | operator= (const wchar_t *pStr) |
| = operator | |
| CMzStringW & | operator= (const CMzStringW &Str) |
| = operator | |
| bool | operator== (const CMzString &_Str) const |
| == operator | |
| bool | operator== (const wchar_t *pStr) const |
| == operator | |
| bool | SetBufferSize (size_t nSize) |
| set the buffer size (character count of the string object. This will Zero the buffer too. | |
| CMzStringW | SubStr (int nPosStart, int nCount) |
| get a sub string | |
| void | ZeroBuffer () |
| zero the string buffer, but will not change the buffer size | |
| virtual | ~CMzStringW (void) |
| CMzStringW::CMzStringW | ( | void | ) |
| CMzStringW::CMzStringW | ( | size_t | nSize | ) |
constructor
| nSize | the init size of the string buffer, the count of wchar_t |
| CMzStringW::CMzStringW | ( | const CMzStringW & | Str | ) |
constructor
| Str | init the object with the Str. |
| CMzStringW::CMzStringW | ( | const wchar_t * | pStr | ) |
constructor
| pStr | init the object with the pStr |
| virtual CMzStringW::~CMzStringW | ( | void | ) | [virtual] |
| wchar_t* CMzStringW::C_Str | ( | ) | const |
get the string' buffer pointer, you can use it to do string formatting & etc.
| int CMzStringW::Compare | ( | const CMzString & | _Str | ) | const |
strings comparing: the return value is the same as the C function: wcscmp
| int CMzStringW::Compare | ( | const wchar_t * | pStr | ) | const |
strings comparing: the return value is the same as the C function: wcscmp
| size_t CMzStringW::GetBufferSize | ( | ) | const |
get the buffer size (charactor count)
| bool CMzStringW::IsEmpty | ( | ) | const |
is the string empty
| size_t CMzStringW::Length | ( | ) | const |
get the string's characters count
| CMzStringW::operator LPCTSTR | ( | ) | const |
type conversion operator
| CMzStringW::operator LPTSTR | ( | ) | const |
type conversion operator
| CMzStringW CMzStringW::operator+ | ( | const wchar_t * | pStr | ) |
strings link operator
| CMzStringW CMzStringW::operator+ | ( | const CMzStringW & | Str | ) |
strings link operator
| CMzStringW& CMzStringW::operator= | ( | const wchar_t * | pStr | ) |
= operator
| CMzStringW& CMzStringW::operator= | ( | const CMzStringW & | Str | ) |
= operator
| bool CMzStringW::operator== | ( | const CMzString & | _Str | ) | const |
== operator
| bool CMzStringW::operator== | ( | const wchar_t * | pStr | ) | const |
== operator
| bool CMzStringW::SetBufferSize | ( | size_t | nSize | ) |
set the buffer size (character count of the string object. This will Zero the buffer too.
| CMzStringW CMzStringW::SubStr | ( | int | nPosStart, | |
| int | nCount | |||
| ) |
get a sub string
| void CMzStringW::ZeroBuffer | ( | ) |
zero the string buffer, but will not change the buffer size