|
Public Member Functions |
| Ztring () |
| Ztring (const ZENLIB_STRINGTYPE &s, size_type pos=0, size_type n=npos) |
| Ztring (const ZENLIB_STRINGTYPE *s, size_type pos=0, size_type n=npos) |
| Ztring (const Char *s) |
| Ztring (const Char *s, size_type n) |
| Ztring (size_type n, const Char s) |
| Ztring (const ints) |
| Ztring (const intu) |
| Ztring (const float32) |
| Ztring (const float64) |
Ztring | operator+ (const Ztring &) const |
Ztring | operator+ (const Char *) const |
Ztring & | operator+= (const Ztring &) |
Ztring & | operator+= (const Char *) |
Ztring & | operator= (const Ztring &) |
Ztring & | operator= (const Char *) |
bool | operator== (const Ztring &Value) const |
bool | operator== (const Char *Value) const |
bool | operator!= (const Ztring &Value) const |
bool | operator!= (const Char *Value) const |
Char * | Convert_Char () const |
| return a new char array
|
int32s | Convert_int32s (ztring_t Options=Ztring_Rounded) const |
| Convert into Int (32 bits).
|
int32u | Convert_int32u (ztring_t Options=Ztring_Rounded) const |
| Convert into unsigned Int (32 bits).
|
float32 | Convert_float32 (ztring_t Options=Ztring_Rounded) const |
| Convert into float.
|
float64 | Convert_float64 (ztring_t Options=Ztring_Rounded) const |
Ztring * | MakeLowerCase () |
| convert into lowercase
|
Ztring * | MakeUpperCase () |
| convert into uppercase
|
Ztring * | TrimLeft () |
| Remove leading whitespaces from a string.
|
Ztring * | TrimRight () |
| Remove trailing whitespaces from a string.
|
Ztring * | Trim () |
| Remove leading and trailing whitespaces from a string.
|
Ztring * | Quote () |
| Quotes a string.
|
Ztring | SubString (const ZENLIB_STRINGTYPE &Begin, const ZENLIB_STRINGTYPE &End, size_type Pos=0, ztring_t Options=Ztring_Nothing) const |
| return a string between two strings
|
int | FindAndReplace (const ZENLIB_STRINGTYPE &ToFind, const ZENLIB_STRINGTYPE &ReplaceBy, size_type Pos=0, ztring_t Options=Ztring_Nothing) |
| replace a string by another one
|
Static Public Member Functions |
Ztring | ToZtring (const int8s, int radix=10) |
Ztring | ToZtring (const int8u, int radix=10) |
Ztring | ToZtring (const int16s, int radix=10) |
Ztring | ToZtring (const int16u, int radix=10) |
Ztring | ToZtring (const int32s, int radix=10) |
Ztring | ToZtring (const int32u, int radix=10) |
Ztring | ToZtring (const float32, int decimal=3) |
Ztring | ToZtring (const float64, int decimal=3) |