|
Public Member Functions |
| CStdStr () |
| CStdStr (const MYTYPE &str) |
| CStdStr (const std::string &str) |
| CStdStr (PCMYSTR pT, MYSIZE n) |
| CStdStr (PCSTR pA) |
| CStdStr (MYCITER first, MYCITER last) |
| CStdStr (MYSIZE nSize, MYVAL ch, const MYALLOC &al=MYALLOC()) |
MYTYPE & | operator= (const MYTYPE &str) |
MYTYPE & | operator= (const std::string &str) |
MYTYPE & | operator= (PCSTR pA) |
MYTYPE & | operator= (CT t) |
MYTYPE & | operator+= (const MYTYPE &str) |
MYTYPE & | operator+= (const std::string &str) |
MYTYPE & | operator+= (PCSTR pA) |
MYTYPE & | operator+= (CT t) |
MYTYPE & | ToUpper () |
MYTYPE & | ToLower () |
CT * | GetBuf (int nMinLen=-1) |
void | RelBuf (int nNewLen=-1) |
void | Format (const CT *szFmt,...) |
void | FormatV (const CT *szFormat, va_list argList) |
int | CompareNoCase (PCMYSTR szThat) const |
int | Find (CT ch) const |
int | Find (PCMYSTR szSub) const |
int | Find (CT ch, int nStart) const |
int | Find (PCMYSTR szSub, int nStart) const |
CT * | GetBuffer (int nMinLen=-1) |
int | GetLength () const |
int | Insert (int nIdx, CT ch) |
int | Insert (int nIdx, PCMYSTR sz) |
MYTYPE | Left (int nCount) const |
void | MakeLower () |
void | MakeReverse () |
void | MakeUpper () |
void | ReleaseBuffer (int nNewLen=-1) |
int | Remove (CT ch) |
int | Replace (CT chOld, CT chNew) |
int | Replace (PCMYSTR szOld, PCMYSTR szNew) |
int | ReverseFind (CT ch) const |
MYTYPE | Right (int nCount) const |
CT & | operator[] (int nIdx) |
const CT & | operator[] (int nIdx) const |
CT & | operator[] (unsigned int nIdx) |
const CT & | operator[] (unsigned int nIdx) const |
CT & | operator[] (long unsigned int nIdx) |
const CT & | operator[] (long unsigned int nIdx) const |
| operator const CT * () const |
Private Types |
typedef std::basic_string<
CT > | MYBASE |
typedef CStdStr< CT > | MYTYPE |
typedef MYBASE::const_pointer | PCMYSTR |
typedef MYBASE::pointer | PMYSTR |
typedef MYBASE::iterator | MYITER |
typedef MYBASE::const_iterator | MYCITER |
typedef MYBASE::reverse_iterator | MYRITER |
typedef MYBASE::size_type | MYSIZE |
typedef MYBASE::value_type | MYVAL |
typedef MYBASE::allocator_type | MYALLOC |
Friends |
MYTYPE | operator+EMP_TEMP (const MYTYPE &str1, const MYTYPE &str2) |
MYTYPE | operator+EMP_TEMP (const MYTYPE &str, CT t) |
MYTYPE | operator+EMP_TEMP (const MYTYPE &str, PCSTR sz) |
MYTYPE | operator+EMP_TEMP (PCSTR pA, const MYTYPE &str) |