|
Namespaces |
namespace | str_template |
Functions |
const char * | str_template::strformat (char *buf, const char *format) |
| converts narrow string format to itself
|
const wchar_t * | str_template::strformat (wchar_t *buf, const char *format) |
| converts narrow string format to wide format string
|
int | str_template::strscan (const char *buf, size_t len, const char *format, void *res) |
| scans only one parameter narrow char
|
int | str_template::strscan (const wchar_t *buf, size_t len, const wchar_t *format, void *res) |
| scans only one parameter wide char
|
int | str_template::strprint (char *buf, size_t len, const char *format,...) |
| prints to memory formatted string narrow string
|
int | str_template::strprint (wchar_t *buf, size_t len, const wchar_t *format,...) |
| prints to memory formatted string wide string
|
template<class T> |
size_t | str_template::strlen (const T *x) |
| template function for string length calculation
|
template<class T> |
T * | str_template::strcpy (T *dest, const T *x, size_t len=os_minus_one) |
| template function for string coping
|
template<class T> |
int | str_template::strcmp (const T *dest, const T *x, size_t len=os_minus_one) |
| template function for string comparision
|
int | str_template::strnocasecmp (const char *dest, const char *x, size_t len) |
| template function for string comparision without case narrow string
|
int | str_template::strnocasecmp (const wchar_t *dest, const wchar_t *x, size_t len) |
| template function for string comparision without case wide string
|
size_t | str_template::multibyte_to_unicode_len (const char *x, size_t len=os_minus_one) |
| gets the length required for utf-8 to utf-16 conversion
|
const wchar_t * | str_template::multibyte_to_unicode (wchar_t *dest, size_t dest_len, const char *x, size_t src_len=os_minus_one) |
| converts utf-8 to utf-16 using pre-allocated buffer
|
const wchar_t * | str_template::multibyte_to_unicode (wstring_t &dest, const char *x, size_t len=os_minus_one) |
| converts utf-8 to utf-16 using wstring_t class
|
const wchar_t * | str_template::multibyte_to_unicode (byte_allocator &_allocator, const char *x, size_t len=os_minus_one) |
| converts utf-8 to utf-16 using external allocator
|
size_t | str_template::unicode_to_multibyte_len (const wchar_t *x, size_t len=os_minus_one) |
| gets the length required for utf-16 to utf-8 conversion
|
const char * | str_template::unicode_to_multibyte (char *dest, size_t dest_len, const wchar_t *x, size_t src_len=os_minus_one) |
| converts utf-16 to utf-8 using pre-allocated buffer
|
const char * | str_template::unicode_to_multibyte (string_t &dest, const wchar_t *x, size_t len=os_minus_one) |
| converts utf-16 to utf-8 using string_t class
|
const char * | str_template::unicode_to_multibyte (byte_allocator &_allocator, const wchar_t *x, size_t len=os_minus_one) |
| converts utf-16 to utf-8 using external allocator
|
Variables |
static
BEGIN_TERIMBER_NAMESPACE const
ub1_t | str_leadingByte [6] = {0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC} |