ZenLib
|
String manipulation (based on std::(w)string) More...
#include <Ztring.h>
Public Member Functions | |
Ztring () | |
Ztring (const tstring &str) | |
Ztring (const tstring &str, size_type pos, size_type n=npos) | |
Ztring (const Char *s, size_type n) | |
Ztring (const Char *s) | |
Ztring (size_type n, Char c) | |
Char & | operator() (size_type Pos) |
Same as [], but resize the string if Pos doesn't exist yet. More... | |
bool | Assign_FromFile (const Ztring &FileName) |
Ztring & | From_Unicode (const std::wstring &S) |
convert an Unicode encoded string into Ztring More... | |
Ztring & | From_Unicode (const wchar_t S) |
convert an Unicode encoded wchar_t into Ztring More... | |
Ztring & | From_Unicode (const wchar_t *S) |
convert an Unicode encoded string into Ztring More... | |
Ztring & | From_Unicode (const wchar_t *S, size_type Start, size_type Length) |
convert an Unicode encoded string into Ztring More... | |
Ztring & | From_Unicode (const wchar_t *S, size_type Length) |
convert an Unicode encoded string into Ztring More... | |
Ztring & | From_UTF8 (const std::string &S) |
convert an UTF-8 encoded string into Ztring More... | |
Ztring & | From_UTF8 (const char *S) |
convert an UTF-8 encoded string into Ztring More... | |
Ztring & | From_UTF8 (const char *S, size_type Start, size_type Length) |
convert an UTF-8 encoded string into Ztring More... | |
Ztring & | From_UTF8 (const char *S, size_type Length) |
convert an UTF-8 encoded string into Ztring More... | |
Ztring & | From_UTF16 (const char *S) |
convert an UTF-16 encoded string into Ztring More... | |
Ztring & | From_UTF16 (const char *S, size_type Start, size_type Length) |
convert an UTF-16 encoded string into Ztring More... | |
Ztring & | From_UTF16 (const char *S, size_type Length) |
convert an UTF-16 encoded string into Ztring More... | |
Ztring & | From_UTF16BE (const char *S) |
convert an UTF-16BE encoded string into Ztring More... | |
Ztring & | From_UTF16BE (const char *S, size_type Start, size_type Length) |
convert an UTF-16BE encoded string into Ztring More... | |
Ztring & | From_UTF16BE (const char *S, size_type Length) |
convert an UTF-16BE encoded string into Ztring More... | |
Ztring & | From_UTF16LE (const char *S) |
convert an UTF-16LE encoded string into Ztring More... | |
Ztring & | From_UTF16LE (const char *S, size_type Start, size_type Length) |
convert an UTF-16LE encoded string into Ztring More... | |
Ztring & | From_UTF16LE (const char *S, size_type Length) |
convert an UTF-16LE encoded string into Ztring More... | |
Ztring & | From_Local (const std::string &S) |
convert an Locael encoded string into Ztring More... | |
Ztring & | From_Local (const char *S) |
convert an Local encoded string into Ztring More... | |
Ztring & | From_Local (const char *S, size_type Start, size_type Length) |
convert an Local encoded string into Ztring More... | |
Ztring & | From_Local (const char *S, size_type Length) |
convert an Local encoded string into Ztring More... | |
Ztring & | From_ISO_8859_1 (const char *S) |
convert an ISO-8859-1 encoded string into Ztring More... | |
Ztring & | From_ISO_8859_1 (const char *S, size_type Start, size_type Length) |
convert an ISO-8859-1 encoded string into Ztring More... | |
Ztring & | From_ISO_8859_1 (const char *S, size_type Length) |
convert an ISO-8859-1 encoded string into Ztring More... | |
Ztring & | From_ISO_8859_2 (const char *S) |
convert an ISO-8859-2 encoded string into Ztring More... | |
Ztring & | From_ISO_8859_2 (const char *S, size_type Start, size_type Length) |
convert an ISO-8859-1 encoded string into Ztring More... | |
Ztring & | From_ISO_8859_2 (const char *S, size_type Length) |
convert an ISO-8859-1 encoded string into Ztring More... | |
Ztring & | From_GUID (const int128u S) |
convert an 16 byte GUID into Ztring More... | |
Ztring & | From_UUID (const int128u S) |
convert an 16 byte UUID into Ztring More... | |
Ztring & | From_CC4 (const char *S) |
convert an 4 Character Code into Ztring More... | |
Ztring & | From_CC4 (const int8u *S) |
convert an 4 Character Code into Ztring More... | |
Ztring & | From_CC4 (const int32u S) |
convert an 4 Character Code into Ztring More... | |
Ztring & | From_CC3 (const char *S) |
convert an 2 Character Code into Ztring More... | |
Ztring & | From_CC3 (const int8u *S) |
convert an 4 Character Code into Ztring More... | |
Ztring & | From_CC3 (const int32u S) |
convert an 4 Character Code into Ztring More... | |
Ztring & | From_CC2 (const char *S) |
convert an 2 Character Code into Ztring More... | |
Ztring & | From_CC2 (const int8u *S) |
convert an 2 Character Code into Ztring More... | |
Ztring & | From_CC2 (const int16u S) |
convert an 2 Character Code into Ztring More... | |
Ztring & | From_CC1 (const char *S) |
convert an 1 Character Code into Ztring More... | |
Ztring & | From_CC1 (const int8u *S) |
convert an 1 Character Code into Ztring More... | |
Ztring & | From_CC1 (const int8u S) |
convert an 1 Character Code into Ztring More... | |
Ztring & | From_Number (const int8s, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int8u, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int16s, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int16u, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int32s, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int32u, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int64s, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int64u, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const int128u, int8u Radix=10) |
convert number into Ztring More... | |
Ztring & | From_Number (const float32, int8u AfterComma=3, ztring_t Options=Ztring_Nothing) |
convert number into Ztring More... | |
Ztring & | From_Number (const float64, int8u AfterComma=3, ztring_t Options=Ztring_Nothing) |
convert number into Ztring More... | |
Ztring & | From_Number (const float80, int8u AfterComma=3, ztring_t Options=Ztring_Nothing) |
convert number into Ztring More... | |
Ztring & | From_BCD (const int8u) |
convert number (BCD coded) into Ztring More... | |
Ztring & | Duration_From_Milliseconds (const int64s Milliseconds) |
convert count of milliseconds into a readable and sortable string More... | |
Ztring & | Duration_From_Milliseconds (const int64u Milliseconds) |
Ztring & | Date_From_Milliseconds_1601 (const int64u Milliseconds) |
convert count of seconds since 1601 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1601 (const int64u Seconds) |
convert count of seconds since 1601 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1900 (const int32u Seconds) |
convert count of seconds since 1900 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1900 (const int64s Seconds) |
convert count of seconds since 1900 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1904 (const int32u Seconds) |
convert count of seconds since 1904 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1904 (const int64u Seconds) |
convert count of seconds since 1904 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1904 (const int64s Seconds) |
convert count of seconds since 1904 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1970 (const int32u Seconds) |
convert count of seconds since 1970 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1970 (const int32s Seconds) |
convert count of seconds since 1970 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1970 (const int64s Seconds) |
convert count of seconds since 1970 into a readable and sortable string More... | |
Ztring & | Date_From_Seconds_1970_Local (const int32u Seconds) |
convert count of seconds since 1970 into a readable and sortable string (in local time) More... | |
Ztring & | Date_From_String (const char *Date, size_type Value_Size=Error) |
convert a free formated string into a readable and sortable string More... | |
Ztring & | Date_From_Numbers (const int8u Year, const int8u Month, const int8u Day, const int8u Hour, const int8u Minute, const int8u Second) |
convert numbers into a readable and sortable string More... | |
std::wstring | To_Unicode () const |
Convert into Unicode chars. More... | |
std::string | To_UTF8 () const |
Convert into char* (UTF-8 encoded) More... | |
std::string | To_Local () const |
Convert into char* (Local encoded) More... | |
int128u | To_UUID () const |
Convert into 16 byte UUID number. More... | |
int32u | To_CC4 () const |
Convert into a 4 Character Code. More... | |
int8s | To_int8s (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into Int (8 bits) More... | |
int8u | To_int8u (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into unsigned Int (8 bits) More... | |
int16s | To_int16s (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into Int (16 bits) More... | |
int16u | To_int16u (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into unsigned Int (16 bits) More... | |
int32s | To_int32s (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into Int (32 bits) More... | |
int32u | To_int32u (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into unsigned Int (32 bits) More... | |
int64s | To_int64s (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into Int (64 bits) More... | |
int64u | To_int64u (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into unsigned Int (64 bits) More... | |
int128u | To_int128u (int8u Radix=10, ztring_t Options=Ztring_Rounded) const |
Convert into unsigned Int (64 bits) More... | |
float32 | To_float32 (ztring_t Options=Ztring_Nothing) const |
Convert into float. More... | |
float64 | To_float64 (ztring_t Options=Ztring_Nothing) const |
float80 | To_float80 (ztring_t Options=Ztring_Nothing) const |
bool | IsNumber () const |
test if it is a number More... | |
Ztring & | MakeLowerCase () |
convert into lowercase More... | |
Ztring & | MakeUpperCase () |
convert into uppercase More... | |
Ztring & | TrimLeft (Char ToTrim=__T(' ')) |
Remove leading whitespaces from a string. More... | |
Ztring & | TrimRight (Char ToTrim=__T(' ')) |
Remove trailing whitespaces from a string. More... | |
Ztring & | Trim (Char ToTrim=__T(' ')) |
Remove leading and trailing whitespaces from a string. More... | |
Ztring & | Quote (Char ToTrim=__T('\"')) |
Quotes a string. More... | |
Ztring | SubString (const tstring &Begin, const tstring &End, size_type Pos=0, ztring_t Options=Ztring_Nothing) const |
return a string between two strings More... | |
size_type | FindAndReplace (const tstring &ToFind, const tstring &ReplaceBy, size_type Pos=0, ztring_t Options=Ztring_Nothing) |
replace a string by another one More... | |
size_type | Count (const Ztring &ToCount, ztring_t Options=Ztring_Nothing) const |
Count the number of occurencies of a string in the string. More... | |
bool | Compare (const Ztring &ToCompare, const Ztring &Comparator=__T("=="), ztring_t Options=Ztring_Nothing) const |
compare with another string More... | |
Static Public Member Functions | |
static Ztring | ToZtring_From_Local (const std::string &S) |
static Ztring | ToZtring_From_Local (const char *S) |
static Ztring | ToZtring_From_Local (const char *S, size_type Start, size_type Length) |
static Ztring | ToZtring_From_Local (const char *S, size_type Length) |
static Ztring | ToZtring_From_CC4 (const char *S) |
static Ztring | ToZtring_From_CC4 (const int8u *S) |
static Ztring | ToZtring_From_CC4 (const int32u S) |
static Ztring | ToZtring_From_CC3 (const char *S) |
static Ztring | ToZtring_From_CC3 (const int8u *S) |
static Ztring | ToZtring_From_CC3 (const int32u S) |
static Ztring | ToZtring_From_CC2 (const char *S) |
static Ztring | ToZtring_From_CC2 (const int8u *S) |
static Ztring | ToZtring_From_CC2 (const int16u S) |
static Ztring | ToZtring_From_CC1 (const char *S) |
static Ztring | ToZtring_From_CC1 (const int8u *S) |
static Ztring | ToZtring_From_CC1 (const int8u S) |
static Ztring | ToZtring (const int8s I, int8u Radix=10) |
static Ztring | ToZtring (const int8u I, int8u Radix=10) |
static Ztring | ToZtring (const int16s I, int8u Radix=10) |
static Ztring | ToZtring (const int16u I, int8u Radix=10) |
static Ztring | ToZtring (const int32s I, int8u Radix=10) |
static Ztring | ToZtring (const int32u I, int8u Radix=10) |
static Ztring | ToZtring (const int64s I, int8u Radix=10) |
static Ztring | ToZtring (const int64u I, int8u Radix=10) |
static Ztring | ToZtring (const int128u I, int8u Radix=10) |
static Ztring | ToZtring (const float32 F, int8u AfterComma=3) |
static Ztring | ToZtring (const float64 F, int8u AfterComma=3) |
static Ztring | ToZtring (const float80 F, int8u AfterComma=3) |
String manipulation (based on std::(w)string)
|
inline |
Referenced by ToZtring(), ToZtring_From_CC1(), ToZtring_From_CC2(), ToZtring_From_CC3(), ToZtring_From_CC4(), and ToZtring_From_Local().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool ZenLib::Ztring::Assign_FromFile | ( | const Ztring & | FileName | ) |
bool ZenLib::Ztring::Compare | ( | const Ztring & | ToCompare, |
const Ztring & | Comparator = __T("==") , |
||
ztring_t | Options = Ztring_Nothing |
||
) | const |
compare with another string
ToCompare | string to compare with |
Options | Options for comaparing Available : Ztring_CaseSensitive |
size_type ZenLib::Ztring::Count | ( | const Ztring & | ToCount, |
ztring_t | Options = Ztring_Nothing |
||
) | const |
Count the number of occurencies of a string in the string.
ToCount | string to count |
Options | Options for count Available : Ztring_CaseSensitive |
Ztring& ZenLib::Ztring::Date_From_Milliseconds_1601 | ( | const int64u | Milliseconds | ) |
convert count of seconds since 1601 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Numbers | ( | const int8u | Year, |
const int8u | Month, | ||
const int8u | Day, | ||
const int8u | Hour, | ||
const int8u | Minute, | ||
const int8u | Second | ||
) |
convert numbers into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1601 | ( | const int64u | Seconds | ) |
convert count of seconds since 1601 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1900 | ( | const int32u | Seconds | ) |
convert count of seconds since 1900 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1900 | ( | const int64s | Seconds | ) |
convert count of seconds since 1900 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1904 | ( | const int32u | Seconds | ) |
convert count of seconds since 1904 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1904 | ( | const int64s | Seconds | ) |
convert count of seconds since 1904 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1904 | ( | const int64u | Seconds | ) |
convert count of seconds since 1904 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1970 | ( | const int32s | Seconds | ) |
convert count of seconds since 1970 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1970 | ( | const int32u | Seconds | ) |
convert count of seconds since 1970 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1970 | ( | const int64s | Seconds | ) |
convert count of seconds since 1970 into a readable and sortable string
Ztring& ZenLib::Ztring::Date_From_Seconds_1970_Local | ( | const int32u | Seconds | ) |
convert count of seconds since 1970 into a readable and sortable string (in local time)
convert a free formated string into a readable and sortable string
Ztring& ZenLib::Ztring::Duration_From_Milliseconds | ( | const int64s | Milliseconds | ) |
convert count of milliseconds into a readable and sortable string
Ztring& ZenLib::Ztring::Duration_From_Milliseconds | ( | const int64u | Milliseconds | ) |
size_type ZenLib::Ztring::FindAndReplace | ( | const tstring & | ToFind, |
const tstring & | ReplaceBy, | ||
size_type | Pos = 0 , |
||
ztring_t | Options = Ztring_Nothing |
||
) |
replace a string by another one
ToFind | string to find |
ToReplace | string wich replace the string found |
Pos | Position to begin to scan string |
Options | Options for searching Available : Ztring_CaseSensitive, Ztring_Recursive |
|
inline |
convert an 1 Character Code into Ztring
References ZenLib::CC1(), and From_CC1().
Referenced by From_CC1().
|
inline |
convert an 1 Character Code into Ztring
References ZenLib::CC1(), and From_CC1().
Referenced by From_CC1().
|
inline |
convert an 2 Character Code into Ztring
References ZenLib::CC2(), and From_CC2().
Referenced by From_CC2().
|
inline |
convert an 2 Character Code into Ztring
References ZenLib::CC2(), and From_CC2().
Referenced by From_CC2().
|
inline |
convert an 2 Character Code into Ztring
References From_Local().
|
inline |
convert an 4 Character Code into Ztring
References From_Local().
|
inline |
convert an 4 Character Code into Ztring
References From_Local().
|
inline |
convert an 4 Character Code into Ztring
References From_Local().
Ztring& ZenLib::Ztring::From_ISO_8859_1 | ( | const char * | S | ) |
convert an ISO-8859-1 encoded string into Ztring
|
inline |
convert an ISO-8859-1 encoded string into Ztring
References From_ISO_8859_1().
Referenced by From_ISO_8859_1().
Ztring& ZenLib::Ztring::From_ISO_8859_1 | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an ISO-8859-1 encoded string into Ztring
Ztring& ZenLib::Ztring::From_ISO_8859_2 | ( | const char * | S | ) |
convert an ISO-8859-2 encoded string into Ztring
|
inline |
convert an ISO-8859-1 encoded string into Ztring
References From_ISO_8859_2().
Referenced by From_ISO_8859_2().
Ztring& ZenLib::Ztring::From_ISO_8859_2 | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an ISO-8859-1 encoded string into Ztring
|
inline |
Ztring& ZenLib::Ztring::From_Local | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an Local encoded string into Ztring
|
inline |
convert an Locael encoded string into Ztring
References From_Local().
Referenced by From_CC3(), From_CC4(), and From_Local().
Ztring& ZenLib::Ztring::From_Number | ( | const | float32, |
int8u | AfterComma = 3 , |
||
ztring_t | Options = Ztring_Nothing |
||
) |
convert number into Ztring
Ztring& ZenLib::Ztring::From_Number | ( | const | float64, |
int8u | AfterComma = 3 , |
||
ztring_t | Options = Ztring_Nothing |
||
) |
convert number into Ztring
Ztring& ZenLib::Ztring::From_Number | ( | const | float80, |
int8u | AfterComma = 3 , |
||
ztring_t | Options = Ztring_Nothing |
||
) |
convert number into Ztring
|
inline |
convert an Unicode encoded string into Ztring
References From_Unicode().
Referenced by From_Unicode().
Ztring& ZenLib::Ztring::From_Unicode | ( | const wchar_t * | S | ) |
convert an Unicode encoded string into Ztring
|
inline |
convert an Unicode encoded string into Ztring
References From_Unicode().
Referenced by From_Unicode().
Ztring& ZenLib::Ztring::From_Unicode | ( | const wchar_t * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an Unicode encoded string into Ztring
Ztring& ZenLib::Ztring::From_Unicode | ( | const wchar_t | S | ) |
convert an Unicode encoded wchar_t into Ztring
|
inline |
Ztring& ZenLib::Ztring::From_UTF16 | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an UTF-16 encoded string into Ztring
Ztring& ZenLib::Ztring::From_UTF16BE | ( | const char * | S | ) |
convert an UTF-16BE encoded string into Ztring
|
inline |
convert an UTF-16BE encoded string into Ztring
References From_UTF16BE().
Referenced by From_UTF16BE().
Ztring& ZenLib::Ztring::From_UTF16BE | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an UTF-16BE encoded string into Ztring
Ztring& ZenLib::Ztring::From_UTF16LE | ( | const char * | S | ) |
convert an UTF-16LE encoded string into Ztring
|
inline |
convert an UTF-16LE encoded string into Ztring
References From_UTF16LE().
Referenced by From_UTF16LE().
Ztring& ZenLib::Ztring::From_UTF16LE | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an UTF-16LE encoded string into Ztring
|
inline |
Ztring& ZenLib::Ztring::From_UTF8 | ( | const char * | S, |
size_type | Start, | ||
size_type | Length | ||
) |
convert an UTF-8 encoded string into Ztring
|
inline |
bool ZenLib::Ztring::IsNumber | ( | ) | const |
test if it is a number
Ztring& ZenLib::Ztring::MakeLowerCase | ( | ) |
convert into lowercase
Ztring& ZenLib::Ztring::MakeUpperCase | ( | ) |
convert into uppercase
Char& ZenLib::Ztring::operator() | ( | size_type | Pos | ) |
Same as [], but resize the string if Pos doesn't exist yet.
Ztring ZenLib::Ztring::SubString | ( | const tstring & | Begin, |
const tstring & | End, | ||
size_type | Pos = 0 , |
||
ztring_t | Options = Ztring_Nothing |
||
) | const |
return a string between two strings
Begin | First string |
End | Second string |
Pos | Position to begin to scan string |
Options | Options for searching Available : Ztring_CaseSensitive |
int32u ZenLib::Ztring::To_CC4 | ( | ) | const |
Convert into a 4 Character Code.
float32 ZenLib::Ztring::To_float32 | ( | ztring_t | Options = Ztring_Nothing | ) | const |
Convert into float.
float64 ZenLib::Ztring::To_float64 | ( | ztring_t | Options = Ztring_Nothing | ) | const |
float80 ZenLib::Ztring::To_float80 | ( | ztring_t | Options = Ztring_Nothing | ) | const |
int128u ZenLib::Ztring::To_int128u | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into unsigned Int (64 bits)
int16s ZenLib::Ztring::To_int16s | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into Int (16 bits)
int16u ZenLib::Ztring::To_int16u | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into unsigned Int (16 bits)
int32s ZenLib::Ztring::To_int32s | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into Int (32 bits)
int32u ZenLib::Ztring::To_int32u | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into unsigned Int (32 bits)
int64s ZenLib::Ztring::To_int64s | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into Int (64 bits)
int64u ZenLib::Ztring::To_int64u | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into unsigned Int (64 bits)
int8s ZenLib::Ztring::To_int8s | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into Int (8 bits)
int8u ZenLib::Ztring::To_int8u | ( | int8u | Radix = 10 , |
ztring_t | Options = Ztring_Rounded |
||
) | const |
Convert into unsigned Int (8 bits)
std::string ZenLib::Ztring::To_Local | ( | ) | const |
Convert into char* (Local encoded)
std::wstring ZenLib::Ztring::To_Unicode | ( | ) | const |
Convert into Unicode chars.
std::string ZenLib::Ztring::To_UTF8 | ( | ) | const |
Convert into char* (UTF-8 encoded)
int128u ZenLib::Ztring::To_UUID | ( | ) | const |
Convert into 16 byte UUID number.
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
|
inlinestatic |
References Ztring().
Remove leading and trailing whitespaces from a string.
Remove leading whitespaces from a string.
Remove trailing whitespaces from a string.