#include <T2StringTraits.h>
Public Types | |
using | CharTraits = TCharTraits |
using | CharType = typename TCharTraits::CharType |
using | UCharType = typename TCharTraits::UCharType |
Static Public Member Functions | |
static TINT | FormatV (CharType *a_pcString, TINT size, const CharType *a_pcFormat, va_list args) |
static TINT | FormatV (CharType *a_pcString, const CharType *a_pcFormat, va_list args) |
static TINT | Format (CharType *a_pcString, TINT size, const CharType *a_pcFormat,...) |
static TINT | Format (CharType *a_pcString, const CharType *a_pcFormat,...) |
static TINT | Compare (const CharType *str1, const CharType *str2, TSIZE size=-1) |
static TINT | CompareNoCase (const CharType *str1, const CharType *str2, TSIZE size=-1) |
static CharType * | Copy (CharType *dst, const CharType *src, TSIZE size=-1) |
static CharType * | CopySafe (CharType *dst, const CharType *src, TSIZE size) |
static CharType * | Concat (CharType *dst, const CharType *src, TSIZE size=-1) |
static CharType * | FindChar (CharType *str, CharType character) |
static const CharType * | FindChar (const CharType *str, CharType character) |
static CharType * | FindString (CharType *str, const CharType *substr) |
static const CharType * | FindString (const CharType *str, const CharType *substr) |
static TSIZE | Length (const CharType *str) |
static TBOOL | IsLowerCase (const CharType *str) |
static TBOOL | IsUpperCase (const CharType *str) |
static void | ToLowerCase (CharType *str) |
static void | ToUpperCase (CharType *str) |
static void | IntToString (TINT value, CharType *dst, TINT unused, TINT radix) |
static void | IntToString (TINT value, CharType *dst, TINT radix) |
static TINT | StringToInt (const CharType *src) |
static TFLOAT | StringToFloat (const CharType *src) |
static CharType * | SkipSpaces (CharType *str) |
static const CharType * | SkipSpaces (const CharType *str) |
Definition at line 13 of file T2StringTraits.h.
using T2StringTraits< CharT, TCharTraits >::CharTraits = TCharTraits |
Definition at line 16 of file T2StringTraits.h.
using T2StringTraits< CharT, TCharTraits >::CharType = typename TCharTraits::CharType |
Definition at line 17 of file T2StringTraits.h.
using T2StringTraits< CharT, TCharTraits >::UCharType = typename TCharTraits::UCharType |
Definition at line 18 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::Compare | ( | const CharType * | str1, |
const CharType * | str2, | ||
TSIZE | size ) |
Definition at line 99 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::Compare | ( | const CharType * | str1, |
const CharType * | str2, | ||
TSIZE | size ) |
Definition at line 259 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 27 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::CompareNoCase | ( | const CharType * | str1, |
const CharType * | str2, | ||
TSIZE | size ) |
Definition at line 105 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::CompareNoCase | ( | const CharType * | str1, |
const CharType * | str2, | ||
TSIZE | size ) |
Definition at line 265 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 28 of file T2StringTraits.h.
TINLINE T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::Concat | ( | CharType * | dst, |
const CharType * | src, | ||
TSIZE | size ) |
Definition at line 123 of file T2StringTraits.h.
TINLINE T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::Concat | ( | CharType * | dst, |
const CharType * | src, | ||
TSIZE | size ) |
Definition at line 283 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 33 of file T2StringTraits.h.
TINLINE T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::Copy | ( | CharType * | dst, |
const CharType * | src, | ||
TSIZE | size ) |
Definition at line 111 of file T2StringTraits.h.
TINLINE T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::Copy | ( | CharType * | dst, |
const CharType * | src, | ||
TSIZE | size ) |
Definition at line 271 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 30 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 31 of file T2StringTraits.h.
TINLINE T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::CopySafe | ( | CharType * | dst, |
const CharType * | src, | ||
TSIZE | size ) |
Definition at line 117 of file T2StringTraits.h.
TINLINE T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::CopySafe | ( | CharType * | dst, |
const CharType * | src, | ||
TSIZE | size ) |
Definition at line 277 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 35 of file T2StringTraits.h.
TINLINE T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::FindChar | ( | CharType * | str, |
CharType | character ) |
Definition at line 129 of file T2StringTraits.h.
TINLINE T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::FindChar | ( | CharType * | str, |
CharType | character ) |
Definition at line 289 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 36 of file T2StringTraits.h.
TINLINE const T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::FindChar | ( | const CharType * | str, |
CharType | character ) |
Definition at line 135 of file T2StringTraits.h.
TINLINE const T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::FindChar | ( | const CharType * | str, |
CharType | character ) |
Definition at line 295 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 37 of file T2StringTraits.h.
TINLINE T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::FindString | ( | CharType * | str, |
const CharType * | substr ) |
Definition at line 141 of file T2StringTraits.h.
TINLINE T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::FindString | ( | CharType * | str, |
const CharType * | substr ) |
Definition at line 301 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 38 of file T2StringTraits.h.
TINLINE const T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::FindString | ( | const CharType * | str, |
const CharType * | substr ) |
Definition at line 147 of file T2StringTraits.h.
TINLINE const T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::FindString | ( | const CharType * | str, |
const CharType * | substr ) |
Definition at line 307 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 25 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::Format | ( | CharType * | a_pcString, |
const CharType * | a_pcFormat, | ||
... ) |
Definition at line 87 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::Format | ( | CharType * | a_pcString, |
const CharType * | a_pcFormat, | ||
... ) |
Definition at line 247 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 24 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::Format | ( | CharType * | a_pcString, |
TINT | size, | ||
const CharType * | a_pcFormat, | ||
... ) |
Definition at line 75 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::Format | ( | CharType * | a_pcString, |
TINT | size, | ||
const CharType * | a_pcFormat, | ||
... ) |
Definition at line 235 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 22 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::FormatV | ( | CharType * | a_pcString, |
const CharType * | a_pcFormat, | ||
va_list | args ) |
Definition at line 69 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::FormatV | ( | CharType * | a_pcString, |
const CharType * | a_pcFormat, | ||
va_list | args ) |
Definition at line 229 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 21 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::FormatV | ( | CharType * | a_pcString, |
TINT | size, | ||
const CharType * | a_pcFormat, | ||
va_list | args ) |
Definition at line 63 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::FormatV | ( | CharType * | a_pcString, |
TINT | size, | ||
const CharType * | a_pcFormat, | ||
va_list | args ) |
Definition at line 223 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 49 of file T2StringTraits.h.
Definition at line 189 of file T2StringTraits.h.
Definition at line 349 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 48 of file T2StringTraits.h.
TINLINE void T2StringTraits< TCHAR >::IntToString | ( | TINT | value, |
CharType * | dst, | ||
TINT | unused, | ||
TINT | radix ) |
Definition at line 183 of file T2StringTraits.h.
TINLINE void T2StringTraits< TWCHAR >::IntToString | ( | TINT | value, |
CharType * | dst, | ||
TINT | unused, | ||
TINT | radix ) |
Definition at line 343 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 42 of file T2StringTraits.h.
TINLINE TBOOL T2StringTraits< TCHAR >::IsLowerCase | ( | const CharType * | str | ) |
Definition at line 159 of file T2StringTraits.h.
TINLINE TBOOL T2StringTraits< TWCHAR >::IsLowerCase | ( | const CharType * | str | ) |
Definition at line 319 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 43 of file T2StringTraits.h.
TINLINE TBOOL T2StringTraits< TCHAR >::IsUpperCase | ( | const CharType * | str | ) |
Definition at line 165 of file T2StringTraits.h.
TINLINE TBOOL T2StringTraits< TWCHAR >::IsUpperCase | ( | const CharType * | str | ) |
Definition at line 325 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 40 of file T2StringTraits.h.
TINLINE TSIZE T2StringTraits< TCHAR >::Length | ( | const CharType * | str | ) |
Definition at line 153 of file T2StringTraits.h.
TINLINE TSIZE T2StringTraits< TWCHAR >::Length | ( | const CharType * | str | ) |
Definition at line 313 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 54 of file T2StringTraits.h.
TINLINE T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::SkipSpaces | ( | CharType * | str | ) |
Definition at line 207 of file T2StringTraits.h.
TINLINE T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::SkipSpaces | ( | CharType * | str | ) |
Definition at line 367 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 55 of file T2StringTraits.h.
TINLINE const T2StringTraits< TCHAR >::CharType * T2StringTraits< TCHAR >::SkipSpaces | ( | const CharType * | str | ) |
Definition at line 213 of file T2StringTraits.h.
TINLINE const T2StringTraits< TWCHAR >::CharType * T2StringTraits< TWCHAR >::SkipSpaces | ( | const CharType * | str | ) |
Definition at line 373 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 52 of file T2StringTraits.h.
TINLINE TFLOAT T2StringTraits< TCHAR >::StringToFloat | ( | const CharType * | src | ) |
Definition at line 201 of file T2StringTraits.h.
TINLINE TFLOAT T2StringTraits< TWCHAR >::StringToFloat | ( | const CharType * | src | ) |
Definition at line 361 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 51 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TCHAR >::StringToInt | ( | const CharType * | src | ) |
Definition at line 195 of file T2StringTraits.h.
TINLINE TINT T2StringTraits< TWCHAR >::StringToInt | ( | const CharType * | src | ) |
Definition at line 355 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 45 of file T2StringTraits.h.
TINLINE void T2StringTraits< TCHAR >::ToLowerCase | ( | CharType * | str | ) |
Definition at line 171 of file T2StringTraits.h.
TINLINE void T2StringTraits< TWCHAR >::ToLowerCase | ( | CharType * | str | ) |
Definition at line 331 of file T2StringTraits.h.
|
inlinestatic |
Definition at line 46 of file T2StringTraits.h.
TINLINE void T2StringTraits< TCHAR >::ToUpperCase | ( | CharType * | str | ) |
Definition at line 177 of file T2StringTraits.h.
TINLINE void T2StringTraits< TWCHAR >::ToUpperCase | ( | CharType * | str | ) |
Definition at line 337 of file T2StringTraits.h.