CString Class Reference
#include <cstring.h>
Public Member Functions | |
CString () | |
CString (const char s) | |
CString (const char *s) | |
CString (const std::string &s) | |
CString (const CString &s) | |
CString (const int n) | |
CString (const unsigned int n) | |
CString (const long int n) | |
CString (const unsigned long int n) | |
CString (const long long int n) | |
CString (const double n) | |
~CString () | |
CString & | operator+= (const CString &s) |
CString & | operator+= (const char c) |
CString & | operator+= (const int n) |
CString & | operator+= (const unsigned int n) |
CString & | operator+= (const long int n) |
CString & | operator+= (const unsigned long int n) |
CString & | operator+= (const long long int n) |
CString & | operator+= (const double n) |
char | operator[] (int n) |
operator const char * () const | |
operator int () const | |
operator uint () const | |
operator double () const | |
operator long () const | |
operator unsigned long () const | |
operator long long () const | |
operator unsigned long long () const | |
CString & | trim () |
CString & | ltrim () |
CString & | rtrim () |
CStrings | split (const char delim) const |
CString & | replace (const CString &s1, const CString &s2, const size_type sPos=0, const uint n=0) |
CString & | toLower () |
CString & | toUpper () |
Detailed Description
CString String container class. Derived from STL library class string.
Constructor & Destructor Documentation
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
CString () Constructor. |
|
~CString () Destructor. |
Member Function Documentation
|
ltrim () Remove whitespace from left-hand side of string. |
|
operator const char* () Type conversion to constant character pointer. |
|
operator double () Type conversion to double. |
|
operator int () Type conversion to integer. |
|
operator long () Type conversion to long. |
|
operator long long () Type conversion to long long. |
|
operator uint () Type conversion to unsigned integer. |
|
operator unsigned long () Type conversion to unsigned long. |
|
operator unsigned long long () Type conversion to unsigned long long. |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
operator+= () Addition to string |
|
|
|
replace () Replace first n occurances of string s1 with string s2 starting from position sPos. If n is equal to zero, all occurances are replaced |
|
rtrim () Remove whitespace from right-hand side of string. |
|
split () Split the string on all occurances of delim character |
|
toLower () The function converts the string to lower-case. |
|
toUpper () The function converts the string to upper-case. |
|
trim () Remove whitespace from left-hand and right-hand side of string. Here is the call graph for this function: |
The documentation for this class was generated from the following files: