#include <StdString.h>
Inheritance diagram for CCString:
Public Methods | |
CCString () | |
CCString (char c) | |
CCString (char c, int len) | |
CCString (const char *str) | |
CCString (const char *str, int len) | |
CCString (const CCString &str) | |
CCString (const CCString & str, int len) | |
CCString (const char *src1, int src1_len, const char *src2, int src2_len) | |
CCString (int val) | |
CCString (dword val) | |
CCString (float val) | |
CCString (double val) | |
~CCString () | |
CCString& | Format (const char *fmt, ...) |
CCString& | FormatAdd (const char *fmt, ...) |
void | Clear () |
const CCString& | Reverse () |
bool | IsUpper () const |
bool | IsLower () const |
bool | IsEmpty () const |
int | Length () const |
CCString& | SetLength (int len) |
char | GetAt (int pos) const |
void | SetAt (int pos, char c) |
void | SetAt (int pos, rcCCString str) |
void | SetAt (int pos, int num, rcCCString str) |
void | Replace (int pos, rcCCString str) |
void | Replace (int pos, int num, rcCCString str) |
CCString | Left (int num) const |
CCString | Right (int num) const |
CCString | Mid (int pos, int num = INT_MAX) const |
int | Compare (rcCCString rhs) const |
int | CompareNoCase (rcCCString rhs) const |
bool | IsEqual (rcCCString rhs) const |
bool | IsEqualNoCase (rcCCString rhs) const |
int | Find (char c, int pos = 0) const |
int | Find (const char *str, int pos = 0) const |
int | Find (rcCCString str, int pos = 0) const |
int | RFind (char c) const |
int | FindOneOf (const char *set, int pos = 0) const |
int | RFindOneOf (const char *set, int pos = 0) const |
std::vector<CCString> | Explode (char c) const |
CCString& | Upper () |
CCString& | Lower () |
CCString& | Capitalize () |
CCString& | TrimLeft () |
CCString& | TrimLeft (char *set) |
CCString& | TrimRight () |
CCString& | TrimRight (char *set) |
CCString& | Trim () |
CCString& | Trim (char *set) |
CCString& | TrimQuotes () |
operator const char * () const | |
char* | Ptr () |
const char* | ReadPtr () const |
float | ToFloat () const |
int | ToInt () const |
rcCCString | operator= (const byte *rhs) |
rcCCString | operator= (rcCCString rhs) |
rcCCString | operator= (char rhs) |
rcCCString | operator= (const char *rhs) |
rcCCString | operator+= (const char *rhs) |
rcCCString | operator+= (rcCCString rhs) |
rcCCString | operator+= (char rhs) |
Protected Methods | |
void | AllocBuffer (int len, bool keep_contents) |
rcCCString | Copy (const char *src, int len) |
rcCCString | Concat (const char *data, int len) |
Protected Attributes | |
char* | pData |
int | Len |
int | Max |
Static Protected Methods | |
bool | isLower (char c) |
bool | isUpper (char c) |
bool | isSpace (char c) |
Friends | |
bool | operator< (rcCCString lhs, rcCCString rhs) |
bool | operator< (rcCCString lhs, const char *rhs) |
bool | operator< (const char *lhs, rcCCString rhs) |
bool | operator> (rcCCString lhs, rcCCString rhs) |
bool | operator> (rcCCString lhs, const char *rhs) |
bool | operator> (const char *lhs, rcCCString rhs) |
bool | operator<= (rcCCString lhs, rcCCString rhs) |
bool | operator<= (rcCCString lhs, const char *rhs) |
bool | operator<= (const char *lhs, rcCCString rhs) |
bool | operator>= (rcCCString lhs, rcCCString rhs) |
bool | operator>= (rcCCString lhs, const char *rhs) |
bool | operator>= (const char *lhs, rcCCString rhs) |
bool | operator== (rcCCString lhs, rcCCString rhs) |
bool | operator== (rcCCString lhs, const char *rhs) |
bool | operator== (const char *lhs, rcCCString rhs) |
bool | operator!= (rcCCString lhs, rcCCString rhs) |
bool | operator!= (rcCCString lhs, const char *rhs) |
bool | operator!= (const char *lhs, rcCCString rhs) |
Is used by parser when an expression tree is build containing string.
Definition at line 27 of file StdString.h.
|
Definition at line 26 of file StdString.cpp. |
|
Definition at line 39 of file StdString.cpp. |
|
Definition at line 53 of file StdString.cpp. |
|
Definition at line 68 of file StdString.cpp. |
|
Definition at line 83 of file StdString.cpp. |
|
|
|
|
|
Definition at line 130 of file StdString.cpp. |
|
Definition at line 146 of file StdString.cpp. |
|
Definition at line 160 of file StdString.cpp. |
|
Definition at line 173 of file StdString.cpp. |
|
Definition at line 186 of file StdString.cpp. |
|
Definition at line 43 of file StdString.h. |
|
Definition at line 205 of file StdString.cpp. Referenced by Concat(), Copy(), Format(), FormatAdd(), Replace(), and SetLength(). |
|
Definition at line 503 of file StdString.cpp. |
|
Definition at line 48 of file StdString.h. Referenced by Explode(). |
|
Definition at line 439 of file StdString.cpp. Referenced by IsEqual(). |
|
Definition at line 449 of file StdString.cpp. Referenced by IsEqualNoCase(). |
|
Definition at line 643 of file StdString.cpp. Referenced by operator+=(). |
|
Definition at line 624 of file StdString.cpp. Referenced by operator=(). |
|
Definition at line 662 of file StdString.cpp. |
|
Definition at line 340 of file StdString.cpp. |
|
Definition at line 326 of file StdString.cpp. |
|
Definition at line 312 of file StdString.cpp. Referenced by Explode(), CValue::FindIdentifier(), and RAS_OpenGLRasterizer::Init(). |
|
Definition at line 366 of file StdString.cpp. |
|
Definition at line 232 of file StdString.cpp. Referenced by CIntValue::GetText(), and CFloatValue::GetText(). |
|
Definition at line 252 of file StdString.cpp. |
|
Definition at line 63 of file StdString.h. |
|
Definition at line 58 of file StdString.h. |
|
Definition at line 78 of file StdString.h. |
|
Definition at line 79 of file StdString.h. |
|
Definition at line 292 of file StdString.cpp. |
|
Definition at line 278 of file StdString.cpp. |
|
Definition at line 71 of file StdString.h. Referenced by Explode(), and CValue::FindIdentifier(). |
|
Definition at line 59 of file StdString.h. Referenced by BL_ConvertControllers(), Explode(), CValue::FindIdentifier(), SCA_ILogicBrick::GetText(), CParser::GetValue(), CParser::ProcessText(), KX_BlenderRenderTools::RenderText(), Replace(), CPropValue::ReplicaSetName(), CPropValue::SetName(), and KX_HashedString::hash(). |
|
Definition at line 486 of file StdString.cpp. |
|
Definition at line 73 of file StdString.h. Referenced by Explode(). |
|
Definition at line 106 of file StdString.h. Referenced by CStringValue::ConvertValueToPython(), SDLRenderTools::RenderText2D(), KX_BlenderRenderTools::RenderText2D(), GlutRenderTools::RenderText2D(), gPyMakeScreenshot__doc__(), and initGamePythonScripting(). |
|
Definition at line 354 of file StdString.cpp. |
|
|
|
Definition at line 107 of file StdString.h. Referenced by BL_ConvertActuators(), BL_CreateSumoObjectNew(), and SCA_PropertySensor::CheckPropertyCondition(). |
|
Definition at line 405 of file StdString.cpp. |
|
Definition at line 380 of file StdString.cpp. |
|
Definition at line 49 of file StdString.h. |
|
Definition at line 72 of file StdString.h. Referenced by CValue::FindIdentifier(). |
|
|
|
|
|
Definition at line 64 of file StdString.h. |
|
Definition at line 62 of file StdString.h. |
|
Definition at line 108 of file StdString.h. |
|
Definition at line 109 of file StdString.h. |
|
Definition at line 589 of file StdString.cpp. |
|
Definition at line 550 of file StdString.cpp. |
|
Definition at line 562 of file StdString.cpp. |
|
Definition at line 523 of file StdString.cpp. Referenced by Trim(). |
|
Definition at line 601 of file StdString.cpp. |
|
Definition at line 576 of file StdString.cpp. |
|
Definition at line 537 of file StdString.cpp. Referenced by Trim(). |
|
Definition at line 469 of file StdString.cpp. |
|
Definition at line 150 of file StdString.h. Referenced by IsUpper(). |
|
Definition at line 152 of file StdString.h. |
|
Definition at line 151 of file StdString.h. |
|
Definition at line 105 of file StdString.h. |
|
Definition at line 119 of file StdString.h. |
|
Definition at line 118 of file StdString.h. |
|
Definition at line 117 of file StdString.h. |
|
Definition at line 115 of file StdString.h. |
|
Definition at line 114 of file StdString.h. |
|
Definition at line 113 of file StdString.h. |
|
Definition at line 112 of file StdString.h. |
|
Definition at line 139 of file StdString.h. |
|
Definition at line 138 of file StdString.h. |
|
Definition at line 137 of file StdString.h. |
|
Definition at line 124 of file StdString.h. |
|
Definition at line 123 of file StdString.h. |
|
Definition at line 122 of file StdString.h. |
|
Definition at line 130 of file StdString.h. |
|
Definition at line 129 of file StdString.h. |
|
Definition at line 128 of file StdString.h. |
|
Definition at line 136 of file StdString.h. |
|
Definition at line 135 of file StdString.h. |
|
Definition at line 134 of file StdString.h. |
|
Definition at line 127 of file StdString.h. |
|
Definition at line 126 of file StdString.h. |
|
Definition at line 125 of file StdString.h. |
|
Definition at line 133 of file StdString.h. |
|
Definition at line 132 of file StdString.h. |
|
Definition at line 131 of file StdString.h. |
|
Definition at line 155 of file StdString.h. |
|
Definition at line 156 of file StdString.h. |
|
Definition at line 154 of file StdString.h. |