#include <RString.hxx>
Public Member Functions | |
| RString () | |
| creates and empty string | |
| ~RString () | |
| creates and empty string | |
| RString (const RString &oldString) | |
| creates a string from the const char* | |
| RString (const char *const_string) | |
| create a RString from a standard const char* | |
| RString (const RChar *text, RUInt newLength) | |
| RString (const char chr) | |
| RString (const RInt value, const unsigned int base=10) | |
| RString (const RUInt value, const unsigned int base=10) | |
| RString (const double value, const RUInt32 afterCommaDigits=8) | |
| const RUInt | length () const |
| returns the length of the string | |
| const RChar | getCharacter (const RUInt n) const |
| returns the character at the n-th positiom, starts from 0 | |
| void | setCharacter (const RUInt n, const RChar newChar) const |
| sets the n-th character in the string, starts from 0 | |
| const RChar | operator[] (RUInt n) const |
| const RChar | at (RUInt n) const |
| void | operator= (const RString &b) |
| void | operator+= (const RString &b) |
| void | operator+= (const int b) |
| void | operator+= (const double b) |
| const RBool | empty () const |
| const RUInt | c_length () const |
| const char * | c_str () const |
| const RUInt | substr (const RUInt sstart, const RUInt slength=0) |
| RString | getSubstr (const RUInt sstart, const RUInt slength=0) const |
| const RInt | find_last_of (const RString search_string) const |
| const RInt | find_last_not_of (const RString search_string) const |
| const RInt | find_first_of (const RString search_string) const |
| const RInt | find_first_not_of (const RString search_string) const |
| const RInt | find (const RString search_string, const RUInt startPos=0) |
| const RInt | rfind (const RString search_string, const RUInt startPos=0) |
| const RUInt | erase (const RUInt startPos=0, const RUInt numberOfCharacters=0) |
| const RUInt | toLowercase (const RUInt startPos=0, const RUInt numberOfCharacters=0) |
| const RString | getToLowercase (const RUInt startPos=0, const RUInt numberOfCharacters=0) const |
| const RUInt | toUppercase (const RUInt startPos=0, const RUInt numberOfCharacters=0) |
| const RString | getToUppercase (const RUInt startPos=0, const RUInt numberOfCharacters=0) const |
| void | print () const |
| void | println () const |
| const RUInt | ltrim (const RString charlist=RString(" \t\n\r\0\x0B", 6)) |
| const RUInt | rtrim (const RString charlist=RString(" \t\n\r\0\x0B", 6)) |
| const RUInt | trim (const RString charlist=RString(" \t\n\r\0\x0B", 6)) |
| const RString | getLtrim (const RString charlist=RString(" \t\n\r\0\x0B", 6)) const |
| const RString | getRtrim (const RString charlist=RString(" \t\n\r\0\x0B", 6)) const |
| const RString | getTrim (const RString charlist=RString(" \t\n\r\0\x0B", 6)) const |
Private Member Functions | |
| RChar * | getTextPointer (const RUInt index=0) const |
| return the pointer to the text data | |
| void | initConstChar (const char *const_string) |
| create a RString from a standard const char* | |
| void | initRString (const RString &oldString) |
| create a RString from a standard const char* | |
| const bool | setLength (const RUInt newLength) |
Private Attributes | |
| RUInt | _length |
| RChar * | _text |
|
|
creates and empty string
Definition at line 109 of file RString.hxx. |
|
|
creates and empty string
Definition at line 112 of file RString.hxx. |
|
|
creates a string from the const char*
Definition at line 117 of file RString.hxx. |
|
|
create a RString from a standard const char*
Definition at line 122 of file RString.hxx. |
|
||||||||||||
|
Definition at line 126 of file RString.hxx. |
|
|
Definition at line 141 of file RString.hxx. |
|
||||||||||||
|
Definition at line 156 of file RString.hxx. |
|
||||||||||||
|
Definition at line 240 of file RString.hxx. |
|
||||||||||||
|
Definition at line 309 of file RString.hxx. |
|
|
Definition at line 362 of file RString.hxx. |
|
|
Definition at line 414 of file RString.hxx. |
|
|
Definition at line 417 of file RString.hxx. |
|
|
Definition at line 410 of file RString.hxx. |
|
||||||||||||
|
Definition at line 566 of file RString.hxx. |
|
||||||||||||
|
Definition at line 523 of file RString.hxx. |
|
|
Definition at line 508 of file RString.hxx. |
|
|
Definition at line 495 of file RString.hxx. |
|
|
Definition at line 480 of file RString.hxx. |
|
|
Definition at line 467 of file RString.hxx. |
|
|
returns the character at the n-th positiom, starts from 0 returns the character at the n-th position it starts from 0 to length - 1 There is a check for n >= length when you have RAYGINADEBUG defined! Definition at line 326 of file RString.hxx. |
|
|
Definition at line 754 of file RString.hxx. |
|
|
Definition at line 777 of file RString.hxx. |
|
||||||||||||
|
Definition at line 455 of file RString.hxx. |
|
|
return the pointer to the text data
Definition at line 19 of file RString.hxx. |
|
||||||||||||
|
Definition at line 625 of file RString.hxx. |
|
||||||||||||
|
Definition at line 651 of file RString.hxx. |
|
|
Definition at line 800 of file RString.hxx. |
|
|
create a RString from a standard const char* get the length Definition at line 24 of file RString.hxx. |
|
|
create a RString from a standard const char*
Definition at line 67 of file RString.hxx. |
|
|
returns the length of the string
Definition at line 316 of file RString.hxx. |
|
|
Definition at line 668 of file RString.hxx. |
|
|
Definition at line 406 of file RString.hxx. |
|
|
Definition at line 402 of file RString.hxx. |
|
|
Definition at line 377 of file RString.hxx. |
|
|
Definition at line 372 of file RString.hxx. |
|
|
Definition at line 352 of file RString.hxx. |
|
|
Definition at line 657 of file RString.hxx. |
|
|
Definition at line 662 of file RString.hxx. |
|
||||||||||||
|
Definition at line 543 of file RString.hxx. |
|
|
Definition at line 692 of file RString.hxx. |
|
||||||||||||
|
sets the n-th character in the string, starts from 0 sets the character at the n-th position it starts from 0 to length - 1 There is a check for n >= length when you have RAYGINADEBUG defined! Definition at line 342 of file RString.hxx. |
|
|
Definition at line 89 of file RString.hxx. |
|
||||||||||||
|
Definition at line 421 of file RString.hxx. |
|
||||||||||||
|
Definition at line 605 of file RString.hxx. |
|
||||||||||||
|
Definition at line 631 of file RString.hxx. |
|
|
Definition at line 716 of file RString.hxx. |
|
|
Definition at line 15 of file RString.hxx. |
|
|
Definition at line 16 of file RString.hxx. |
1.3.9.1