#include <TString8.h>
Public Member Functions | |
TString8 () | |
TString8 (T2Allocator *allocator) | |
TString8 (TString8 &&src) noexcept | |
TString8 (const TString8 &src, T2Allocator *allocator=nullptr) | |
TString8 (const TString16 &src, T2Allocator *allocator=nullptr) | |
TString8 (const TCHAR *src, T2Allocator *allocator=nullptr) | |
TString8 (TINT size, T2Allocator *allocator=nullptr) | |
~TString8 () | |
void | Copy (const TString8 &src, TINT size=-1) |
void | Copy (const TString16 &src, TINT size=-1) |
void | Copy (const TCHAR *src, TINT size=-1) |
void | Copy (const TWCHAR *src, TINT size=-1) |
void | FreeBuffer () |
TBOOL | AllocBuffer (TINT a_iLength, TBOOL a_bFreeMemory=true) |
TString8 & | Format (const TCHAR *a_pcFormat,...) |
TString8 & | VFormat (const TCHAR *a_pcFormat, va_list a_vargs) |
void | UndoForceSetData () |
void | ForceSetData (TCHAR *a_pchString, TINT a_iLength) |
TINT | FindReverse (TCHAR a_findChar, TINT pos=-1) const |
void | Truncate (TINT length) |
TINT | Find (TCHAR character, TINT pos=0) const |
TINT | Find (const TCHAR *substr, TINT pos=0) const |
const TCHAR * | GetString (TINT a_iIndex=0) const |
TCHAR * | GetStringUnsafe (TINT a_iIndex=0) |
TString8 & | Concat (const TString8 &str, TINT size=-1) |
TString8 & | Concat (const TString16 &src, TINT size=-1) |
TString8 & | Concat (const TCHAR *src, TINT size=-1) |
TString8 & | Reserve (TINT size) |
TINT | Compare (const TCHAR *a_szString, TINT a_iLength=-1) const |
TINT | CompareNoCase (const TCHAR *a_szString, TINT a_iLength=-1) const |
TString8 | Mid (TINT a_iFirst, TINT a_iCount) const |
TString8 | Right (TINT a_iFrom) const |
TString8 & | MakeUpper () |
TString8 & | MakeLower () |
TINT | Length () const |
TUINT16 | ExcessLength () const |
TBOOL | StartsWith (const TCHAR *a_szString, TINT a_iLength=-1) const |
TBOOL | EndsWith (const TCHAR *a_szString, TINT a_iLength=-1) const |
TBOOL | StartsWithNoCase (const TCHAR *a_szString, TINT a_iLength=-1) const |
TBOOL | EndsWithNoCase (const TCHAR *a_szString, TINT a_iLength=-1) const |
TBOOL | IsAllLowerCase () const |
TBOOL | IsAllUpperCase () const |
TBOOL | IsIndexValid (TINT a_iIndex) const |
TBOOL | IsEmpty () const |
TBOOL | IsUnicode () const |
TString8 | operator+ (const TCHAR *cstr) const |
TString8 * | operator+= (const TCHAR *cstr) |
TString8 * | operator+= (TString8 &str) |
TCHAR & | operator[] (TINT a_iIndex) |
const TCHAR & | operator[] (TINT a_iIndex) const |
operator const TCHAR * () const | |
operator const TBOOL () const | |
TBOOL | operator! () |
TBOOL | operator== (const TCHAR *cstr) const |
TBOOL | operator== (const TString8 &str) const |
TBOOL | operator!= (const TCHAR *cstr) const |
TBOOL | operator!= (const TString8 &str) const |
TBOOL | operator< (const TCHAR *cstr) const |
TBOOL | operator< (const TString8 &str) const |
TBOOL | operator<= (const TCHAR *cstr) const |
TBOOL | operator<= (const TString8 &str) const |
TString8 & | operator= (const TCHAR *cstr) |
TString8 & | operator= (const TWCHAR *wcstr) |
TString8 & | operator= (const TString8 &str) |
TString8 & | operator= (TString8 &&str) |
TString8 & | operator= (const TString16 &str) |
Static Public Member Functions | |
static TString8 | VarArgs (const TCHAR *a_pcFormat,...) |
Definition at line 20 of file TString8.h.
TString8::TString8 | ( | ) |
Definition at line 15 of file TString8.cpp.
TString8::TString8 | ( | T2Allocator * | allocator | ) |
Definition at line 21 of file TString8.cpp.
|
noexcept |
Definition at line 55 of file TString8.cpp.
TString8::TString8 | ( | const TString8 & | src, |
T2Allocator * | allocator = nullptr ) |
Definition at line 27 of file TString8.cpp.
TString8::TString8 | ( | const TString16 & | src, |
T2Allocator * | allocator = nullptr ) |
Definition at line 41 of file TString8.cpp.
TString8::TString8 | ( | const TCHAR * | src, |
T2Allocator * | allocator = nullptr ) |
Definition at line 48 of file TString8.cpp.
TString8::TString8 | ( | TINT | size, |
T2Allocator * | allocator = nullptr ) |
Definition at line 34 of file TString8.cpp.
|
inline |
Definition at line 30 of file TString8.h.
Definition at line 127 of file TString8.cpp.
Definition at line 362 of file TString8.cpp.
Definition at line 374 of file TString8.cpp.
Definition at line 300 of file TString8.cpp.
Definition at line 415 of file TString8.cpp.
Definition at line 66 of file TString8.h.
Definition at line 76 of file TString8.cpp.
Definition at line 64 of file TString8.cpp.
Definition at line 32 of file TString8.h.
Definition at line 95 of file TString8.cpp.
Definition at line 485 of file TString8.cpp.
Definition at line 505 of file TString8.cpp.
|
inline |
Definition at line 94 of file TString8.h.
Definition at line 117 of file TString8.cpp.
Definition at line 107 of file TString8.cpp.
Definition at line 234 of file TString8.cpp.
Definition at line 218 of file TString8.cpp.
Definition at line 176 of file TString8.cpp.
void TString8::FreeBuffer | ( | ) |
Definition at line 280 of file TString8.cpp.
Definition at line 286 of file TString8.cpp.
Definition at line 293 of file TString8.cpp.
TBOOL TString8::IsAllLowerCase | ( | ) | const |
TBOOL TString8::IsAllUpperCase | ( | ) | const |
|
inline |
Definition at line 104 of file TString8.h.
Definition at line 103 of file TString8.h.
|
inline |
Definition at line 105 of file TString8.h.
|
inline |
Definition at line 93 of file TString8.h.
|
inline |
Definition at line 87 of file TString8.h.
|
inline |
Definition at line 81 of file TString8.h.
Definition at line 386 of file TString8.cpp.
|
inline |
Definition at line 130 of file TString8.h.
|
inline |
Definition at line 129 of file TString8.h.
|
inline |
Definition at line 132 of file TString8.h.
|
inline |
Definition at line 135 of file TString8.h.
|
inline |
Definition at line 136 of file TString8.h.
Definition at line 108 of file TString8.h.
Definition at line 114 of file TString8.h.
Definition at line 120 of file TString8.h.
Definition at line 137 of file TString8.h.
Definition at line 138 of file TString8.h.
Definition at line 139 of file TString8.h.
Definition at line 140 of file TString8.h.
Definition at line 142 of file TString8.h.
Definition at line 172 of file TString8.h.
Definition at line 154 of file TString8.h.
Definition at line 148 of file TString8.h.
Definition at line 160 of file TString8.h.
Definition at line 133 of file TString8.h.
Definition at line 134 of file TString8.h.
Definition at line 126 of file TString8.h.
Definition at line 127 of file TString8.h.
Definition at line 334 of file TString8.cpp.
Definition at line 410 of file TString8.cpp.
Definition at line 495 of file TString8.cpp.
void TString8::Truncate | ( | TINT | length | ) |
Definition at line 257 of file TString8.cpp.
|
inline |
Definition at line 47 of file TString8.h.
Definition at line 202 of file TString8.cpp.
Definition at line 190 of file TString8.cpp.