Bike-X
0.8
|
#include "OVR_String.h"
Public Member Functions | |
StringBuffer () | |
StringBuffer (UPInt growSize) | |
StringBuffer (const char *data) | |
StringBuffer (const char *data, UPInt buflen) | |
StringBuffer (const String &src) | |
StringBuffer (const StringBuffer &src) | |
StringBuffer (const wchar_t *data) | |
~StringBuffer () | |
UPInt | GetGrowSize () const |
void | SetGrowSize (UPInt growSize) |
void | Clear () |
operator const char * () const | |
const char * | ToCStr () const |
UPInt | GetSize () const |
bool | IsEmpty () const |
UPInt | GetLength () const |
UInt32 | GetCharAt (UPInt index) const |
UInt32 | GetFirstCharAt (UPInt index, const char **offset) const |
UInt32 | GetNextChar (const char **offset) const |
void | Resize (UPInt _size) |
void | Reserve (UPInt _size) |
void | AppendChar (UInt32 ch) |
void | AppendString (const wchar_t *pstr, SPInt len=-1) |
void | AppendString (const char *putf8str, SPInt utf8StrSz=-1) |
void | AppendFormat (const char *format,...) |
void | Insert (const char *substr, UPInt posAt, SPInt len=-1) |
UPInt | InsertCharAt (UInt32 c, UPInt posAt) |
void | operator= (const char *str) |
void | operator= (const wchar_t *str) |
void | operator= (const String &src) |
void | operator= (const StringBuffer &src) |
void | operator+= (const String &src) |
void | operator+= (const char *psrc) |
void | operator+= (const wchar_t *psrc) |
void | operator+= (char ch) |
char & | operator[] (int index) |
char & | operator[] (UPInt index) |
const char & | operator[] (int index) const |
const char & | operator[] (UPInt index) const |
Private Attributes | |
char * | pData |
UPInt | Size |
UPInt | BufferSize |
UPInt | GrowSize |
bool | LengthIsSize |
Definition at line 404 of file OVR_String.h.
OVR::StringBuffer::StringBuffer | ( | ) |
Definition at line 558 of file OVR_String.cpp.
|
explicit |
Definition at line 563 of file OVR_String.cpp.
OVR::StringBuffer::StringBuffer | ( | const char * | data | ) |
Definition at line 569 of file OVR_String.cpp.
OVR::StringBuffer::StringBuffer | ( | const char * | data, |
UPInt | buflen | ||
) |
Definition at line 575 of file OVR_String.cpp.
OVR::StringBuffer::StringBuffer | ( | const String & | src | ) |
Definition at line 581 of file OVR_String.cpp.
OVR::StringBuffer::StringBuffer | ( | const StringBuffer & | src | ) |
Definition at line 587 of file OVR_String.cpp.
|
explicit |
Definition at line 593 of file OVR_String.cpp.
OVR::StringBuffer::~StringBuffer | ( | ) |
Definition at line 599 of file OVR_String.cpp.
void OVR::StringBuffer::AppendChar | ( | UInt32 | ch | ) |
Definition at line 663 of file OVR_String.cpp.
void OVR::StringBuffer::AppendFormat | ( | const char * | format, |
... | |||
) |
Definition at line 32 of file OVR_String_FormatUtil.cpp.
void OVR::StringBuffer::AppendString | ( | const wchar_t * | pstr, |
SPInt | len = -1 |
||
) |
Definition at line 680 of file OVR_String.cpp.
void OVR::StringBuffer::AppendString | ( | const char * | putf8str, |
SPInt | utf8StrSz = -1 |
||
) |
Definition at line 693 of file OVR_String.cpp.
void OVR::StringBuffer::Clear | ( | void | ) |
Definition at line 649 of file OVR_String.cpp.
|
inline |
Definition at line 426 of file OVR_String.h.
UPInt OVR::StringBuffer::GetLength | ( | ) | const |
Definition at line 616 of file OVR_String.cpp.
UInt32 OVR::StringBuffer::GetNextChar | ( | const char ** | offset | ) | const |
|
inline |
Definition at line 440 of file OVR_String.h.
Definition at line 738 of file OVR_String.cpp.
Definition at line 756 of file OVR_String.cpp.
|
inline |
Definition at line 442 of file OVR_String.h.
|
inline |
Definition at line 435 of file OVR_String.h.
|
inline |
Definition at line 480 of file OVR_String.h.
|
inline |
Definition at line 481 of file OVR_String.h.
|
inline |
Definition at line 482 of file OVR_String.h.
|
inline |
Definition at line 483 of file OVR_String.h.
void OVR::StringBuffer::operator= | ( | const char * | str | ) |
Definition at line 708 of file OVR_String.cpp.
void OVR::StringBuffer::operator= | ( | const wchar_t * | str | ) |
Definition at line 716 of file OVR_String.cpp.
void OVR::StringBuffer::operator= | ( | const String & | src | ) |
Definition at line 724 of file OVR_String.cpp.
void OVR::StringBuffer::operator= | ( | const StringBuffer & | src | ) |
Definition at line 730 of file OVR_String.cpp.
|
inline |
Definition at line 488 of file OVR_String.h.
|
inline |
Definition at line 493 of file OVR_String.h.
|
inline |
Definition at line 499 of file OVR_String.h.
|
inline |
Definition at line 504 of file OVR_String.h.
void OVR::StringBuffer::Reserve | ( | UPInt | _size | ) |
Definition at line 629 of file OVR_String.cpp.
void OVR::StringBuffer::Resize | ( | UPInt | _size | ) |
Definition at line 640 of file OVR_String.cpp.
void OVR::StringBuffer::SetGrowSize | ( | UPInt | growSize | ) |
Definition at line 604 of file OVR_String.cpp.
|
inline |
Definition at line 437 of file OVR_String.h.
|
private |
Definition at line 408 of file OVR_String.h.
|
private |
Definition at line 409 of file OVR_String.h.
|
mutableprivate |
Definition at line 410 of file OVR_String.h.
|
private |
Definition at line 406 of file OVR_String.h.
|
private |
Definition at line 407 of file OVR_String.h.