#include <StringHelper.h>
Public Member Functions | |
void | Clear () |
StringBuilder & | operator<< (kt_int8u value) |
StringBuilder & | operator<< (kt_int16s value) |
StringBuilder & | operator<< (kt_int16u value) |
StringBuilder & | operator<< (kt_int32s value) |
StringBuilder & | operator<< (kt_int32u value) |
StringBuilder & | operator<< (kt_int64s value) |
StringBuilder & | operator<< (kt_int64u value) |
StringBuilder & | operator<< (kt_float value) |
StringBuilder & | operator<< (kt_double value) |
StringBuilder & | operator<< (const String &rValue) |
StringBuilder & | operator<< (const StringBuilder &rValue) |
const String & | ToString () const |
Private Attributes | |
String | m_String |
Friends | |
KARTO_FORCEINLINE std::ostream & | operator<< (std::ostream &rStream, const StringBuilder &rStringBuilder) |
Class to build strings
Definition at line 545 of file StringHelper.h.
void karto::StringBuilder::Clear | ( | ) |
Erase contents of string builder
Definition at line 500 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int8u | value | ) |
Add char to this string builder
value | char value Add kt_int8u to this string builder |
value | kt_int8u value |
Definition at line 517 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int16s | value | ) |
Add kt_int16s to this string builder
value | kt_int16s value |
Definition at line 524 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int16u | value | ) |
Add kt_int16u to this string builder
value | kt_int16u value |
Definition at line 531 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int32s | value | ) |
Add kt_int32s to this string builder
value | kt_int32s value |
Definition at line 538 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int32u | value | ) |
Add kt_int32u to this string builder
value | kt_int32u value |
Definition at line 545 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int64s | value | ) |
Add kt_int64s to this string builder
value | kt_int64s value |
Definition at line 552 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_int64u | value | ) |
Add kt_int64u to this string builder
value | kt_int64u value |
Definition at line 559 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_float | value | ) |
Add kt_float to this string builder
value | kt_float value |
Definition at line 575 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | kt_double | value | ) |
Add kt_double to this string builder
value | kt_double value |
Definition at line 582 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | const String & | rValue | ) |
Add string to this string builder
rValue | string value |
Definition at line 589 of file StringHelper.cpp.
StringBuilder & karto::StringBuilder::operator<< | ( | const StringBuilder & | rValue | ) |
Add string builder to this string builder
rValue | string builder value |
Definition at line 596 of file StringHelper.cpp.
const String & karto::StringBuilder::ToString | ( | ) | const |
Convert contents to string
Definition at line 505 of file StringHelper.cpp.
|
friend |
Write string to output stream
rStream | output stream |
rStringBuilder | StringBuilder to write |
Definition at line 654 of file StringHelper.h.
|
private |
Definition at line 661 of file StringHelper.h.