#include <T2String.h>
Public Types | |
using | StringTraits = TStringTraits |
using | CharTraits = typename StringTraits::CharTraits |
using | CharType = typename StringTraits::CharType |
using | UCharType = typename StringTraits::UCharType |
Public Member Functions | |
TSTATICASSERT (Size > 0) | |
constexpr | T2FormatString () |
T2FormatString (const CharType *a_szString) | |
void | Copy (const CharType *a_szString) |
TINT | ParseLine (const CharType *a_szString, TINT a_uiSize=-1, TINT *a_pStringLength=nullptr, TBOOL a_bTrimStartSpaces=true, TBOOL a_bTrimEndSpaces=true) |
Parses a line from specified buffer and saves it. | |
void | Format (const CharType *a_szFormat,...) |
void | FormatV (const CharType *a_szFormat, va_list a_Args) |
void | Append (const CharType *a_szString) |
void | Clear () |
TUINT | Length () |
constexpr CharType * | Get () |
constexpr const CharType * | Get () const |
constexpr CharType * | Get (TUINT a_uiIndex) |
constexpr const CharType * | Get (TUINT a_uiIndex) const |
constexpr CharType & | operator[] (TUINT a_uiIndex) |
constexpr const CharType & | operator[] (TUINT a_uiIndex) const |
Definition at line 85 of file T2String.h.
using T2FormatString< Size, TStringTraits >::CharTraits = typename StringTraits::CharTraits |
Definition at line 91 of file T2String.h.
using T2FormatString< Size, TStringTraits >::CharType = typename StringTraits::CharType |
Definition at line 92 of file T2String.h.
using T2FormatString< Size, TStringTraits >::StringTraits = TStringTraits |
Definition at line 90 of file T2String.h.
using T2FormatString< Size, TStringTraits >::UCharType = typename StringTraits::UCharType |
Definition at line 93 of file T2String.h.
|
inlineconstexpr |
Definition at line 96 of file T2String.h.
|
inline |
Definition at line 101 of file T2String.h.
|
inline |
Definition at line 189 of file T2String.h.
|
inline |
Definition at line 194 of file T2String.h.
|
inline |
Definition at line 106 of file T2String.h.
|
inline |
Definition at line 172 of file T2String.h.
|
inline |
Definition at line 183 of file T2String.h.
|
inlineconstexpr |
Definition at line 204 of file T2String.h.
|
inlineconstexpr |
Definition at line 209 of file T2String.h.
|
inlineconstexpr |
Definition at line 214 of file T2String.h.
|
inlineconstexpr |
|
inline |
Definition at line 199 of file T2String.h.
|
inlineconstexpr |
Definition at line 226 of file T2String.h.
|
inlineconstexpr |
Definition at line 231 of file T2String.h.
|
inline |
Parses a line from specified buffer and saves it.
a_szString | buffer to parse buffer |
a_uiSize | size of the a_szString buffer |
a_pStringLength | if not TNULL, string length is saved there |
a_bTrimSpaces | if TTRUE, removes spaces at the start and at the end |
Definition at line 119 of file T2String.h.
T2FormatString< Size, TStringTraits >::TSTATICASSERT | ( | Size | , |
0 | ) |