CMzStringW类参考

String class (unicode, wchar_t) 更多...

#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
CMzStringWoperator= (const wchar_t *pStr)
 = operator
CMzStringWoperator= (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)


详细描述

String class (unicode, wchar_t)

构造及析构函数文档

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


该类的文档由以下文件生成:

Generated at Fri Feb 20 15:17:30 2009 for Meizu M8 MZFC Documentation by 魅族手机