|
BurgerLib
|
#include <brstring.h>
Public Member Functions | |
| String (void) | |
| String (const String &rInput) | |
| String (const String &rInput, WordPtr uStart, WordPtr uEnd=static_cast< WordPtr >(-1)) | |
| String (const char *pInput) | |
| String (const Word16 *pInput) | |
| String (const Word32 *pInput) | |
| String (const char *pInput, WordPtr uStart, WordPtr uEnd) | |
| String (char cInput) | |
| String (char cInput, WordPtr uFillSize) | |
| String (const char *pInput1, const char *pInput2) | |
| String (const char *pInput1, const char *pInput2, const char *pInput3) | |
| String (const char *pInput1, const char *pInput2, const char *pInput3, const char *pInput4) | |
| ~String () | |
| BURGER_INLINE | operator char * () |
| BURGER_INLINE | operator const char * () const |
| BURGER_INLINE const char * | c_str () const |
| BURGER_INLINE char * | c_str () |
| BURGER_INLINE | operator char () const |
| BURGER_INLINE WordPtr | length (void) const |
| BURGER_INLINE WordPtr | GetLength (void) const |
| BURGER_INLINE char * | GetPtr () |
| BURGER_INLINE const char * | GetPtr () const |
| String & | operator= (const String &rInput) |
| String & | operator= (const char *pInput) |
| String & | operator= (char cInput) |
| String & | operator+= (const String &rInput) |
| String & | operator+= (const char *pInput) |
| String & | operator+= (char cInput) |
| BURGER_INLINE String | operator() (WordPtr uStart, WordPtr uEnd) const |
| BURGER_INLINE char & | operator() (WordPtr uInput) |
| BURGER_INLINE char const & | operator() (WordPtr uInput) const |
| BURGER_INLINE char & | operator[] (WordPtr uInput) |
| BURGER_INLINE char const & | operator[] (WordPtr uInput) const |
| char | Get (WordPtr uWhere) const |
| void | Put (WordPtr uWhere, char cInput) |
| char * | strstr (const char *pInput) const |
| BURGER_INLINE String & | ToLowercase (void) |
| BURGER_INLINE String & | ToUppercase (void) |
| BURGER_INLINE String | Lowercase (void) const |
| BURGER_INLINE String | Uppercase (void) const |
| BURGER_INLINE Word | operator! () const |
| BURGER_INLINE Word | IsValid (void) const |
| void | Clear (void) |
| WordPtr | Copy (char *pOutput, WordPtr uOutputSize=static_cast< WordPtr >(-1)) const |
| WordPtr | PCopy (Word8 *pOutput, WordPtr uOutputSize=256) const |
| WordPtr | Remove (WordPtr uStart, WordPtr uLength=static_cast< WordPtr >(-1)) |
| WordPtr | Insert (WordPtr uStart, const char *pInput, WordPtr uInputSize) |
| String & | Left (WordPtr uNewLength, char cPad=' ') |
| String & | Right (WordPtr uNewLength, char cPad=' ') |
| int | Compare (const String &rInput) const |
| int | Compare (const char *pInput) const |
| int | Compare (char cInput) const |
| WordPtr | RemoveChars (const char *pInput) |
| WordPtr | RemoveChar (char cInput) |
Static Public Attributes | |
| static const Word | BUFFERSIZE = 64-(sizeof(char *)+sizeof(WordPtr)) |
Private Attributes | |
| char * | m_pData |
| Pointer to the string. | |
| WordPtr | m_uLength |
| Length of the string. | |
| char | m_Raw [BUFFERSIZE] |
| Temp preallocated buffer for most strings. | |
Static Private Attributes | |
| static char | m_sDummy |
Friends | |
| BURGER_INLINE friend Word | operator== (String const &rInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator== (String const &rInput1, const char *pInput2) |
| BURGER_INLINE friend Word | operator== (const char *pInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator== (String const &rInput1, char cInput2) |
| BURGER_INLINE friend Word | operator== (char cInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator!= (String const &rInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator!= (String const &rInput1, const char *pInput2) |
| BURGER_INLINE friend Word | operator!= (const char *pInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator!= (String const &rInput1, char cInput2) |
| BURGER_INLINE friend Word | operator!= (char cInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator< (String const &rInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator< (String const &rInput1, const char *pInput2) |
| BURGER_INLINE friend Word | operator< (const char *pInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator< (String const &rInput1, char cInput2) |
| BURGER_INLINE friend Word | operator< (char cInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator<= (String const &rInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator<= (String const &rInput1, const char *pInput2) |
| BURGER_INLINE friend Word | operator<= (const char *pInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator<= (String const &rInput1, char cInput2) |
| BURGER_INLINE friend Word | operator<= (char cInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator> (String const &rInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator> (String const &rInput1, const char *pInput2) |
| BURGER_INLINE friend Word | operator> (const char *pInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator> (String const &rInput1, char cInput2) |
| BURGER_INLINE friend Word | operator> (char cInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator>= (String const &rInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator>= (String const &rInput1, const char *pInput2) |
| BURGER_INLINE friend Word | operator>= (const char *pInput1, String const &rInput2) |
| BURGER_INLINE friend Word | operator>= (String const &rInput1, char cInput2) |
| BURGER_INLINE friend Word | operator>= (char cInput1, String const &rInput2) |
| Burger::String::String | ( | void | ) | [inline] |
| Burger::String::String | ( | const String & | rInput | ) |
| Burger::String::String | ( | const String & | rInput, |
| WordPtr | uStart, | ||
| WordPtr | uEnd = static_cast<WordPtr>(-1) |
||
| ) |
| Burger::String::String | ( | const char * | pInput | ) |
| Burger::String::String | ( | const Word16 * | pInput | ) |
| Burger::String::String | ( | const Word32 * | pInput | ) |
| Burger::String::String | ( | const char * | pInput, |
| WordPtr | uStart, | ||
| WordPtr | uEnd | ||
| ) |
| Burger::String::String | ( | char | cInput | ) |
| Burger::String::String | ( | char | cInput, |
| WordPtr | uFillSize | ||
| ) |
| Burger::String::String | ( | const char * | pInput1, |
| const char * | pInput2 | ||
| ) |
| Burger::String::String | ( | const char * | pInput1, |
| const char * | pInput2, | ||
| const char * | pInput3 | ||
| ) |
| Burger::String::String | ( | const char * | pInput1, |
| const char * | pInput2, | ||
| const char * | pInput3, | ||
| const char * | pInput4 | ||
| ) |
| Burger::String::~String | ( | ) | [inline] |
| BURGER_INLINE const char* Burger::String::c_str | ( | ) | const [inline] |
| BURGER_INLINE char* Burger::String::c_str | ( | ) | [inline] |
| int Burger::String::Compare | ( | const String & | rInput | ) | const |
| int Burger::String::Compare | ( | const char * | pInput | ) | const |
| int Burger::String::Compare | ( | char | cInput | ) | const |
| WordPtr Burger::String::Copy | ( | char * | pOutput, |
| WordPtr | uOutputSize = static_cast<WordPtr>(-1) |
||
| ) | const |
| char Burger::String::Get | ( | WordPtr | uWhere | ) | const |
| BURGER_INLINE WordPtr Burger::String::GetLength | ( | void | ) | const [inline] |
| BURGER_INLINE char* Burger::String::GetPtr | ( | void | ) | [inline] |
| BURGER_INLINE const char* Burger::String::GetPtr | ( | void | ) | const [inline] |
| WordPtr Burger::String::Insert | ( | WordPtr | uStart, |
| const char * | pInput, | ||
| WordPtr | uInputSize | ||
| ) |
| BURGER_INLINE Word Burger::String::IsValid | ( | void | ) | const [inline] |
| Burger::String & Burger::String::Left | ( | WordPtr | uNewLength, |
| char | cPad = ' ' |
||
| ) |
| BURGER_INLINE WordPtr Burger::String::length | ( | void | ) | const [inline] |
| BURGER_INLINE String Burger::String::Lowercase | ( | void | ) | const [inline] |
| BURGER_INLINE Burger::String::operator char | ( | ) | const [inline] |
| BURGER_INLINE Burger::String::operator char * | ( | ) | [inline] |
| BURGER_INLINE Burger::String::operator const char * | ( | ) | const [inline] |
| BURGER_INLINE Word Burger::String::operator! | ( | ) | const [inline] |
| BURGER_INLINE String Burger::String::operator() | ( | WordPtr | uStart, |
| WordPtr | uEnd | ||
| ) | const [inline] |
| BURGER_INLINE char& Burger::String::operator() | ( | WordPtr | uInput | ) | [inline] |
| BURGER_INLINE char const& Burger::String::operator() | ( | WordPtr | uInput | ) | const [inline] |
| Burger::String & Burger::String::operator+= | ( | const String & | rInput | ) |
| Burger::String & Burger::String::operator+= | ( | const char * | pInput | ) |
| Burger::String & Burger::String::operator+= | ( | char | cInput | ) |
| Burger::String & Burger::String::operator= | ( | const String & | rInput | ) |
| Burger::String & Burger::String::operator= | ( | const char * | pInput | ) |
| Burger::String & Burger::String::operator= | ( | char | cInput | ) |
| BURGER_INLINE char& Burger::String::operator[] | ( | WordPtr | uInput | ) | [inline] |
| BURGER_INLINE char const& Burger::String::operator[] | ( | WordPtr | uInput | ) | const [inline] |
| WordPtr Burger::String::PCopy | ( | Word8 * | pOutput, |
| WordPtr | uOutputSize = 256 |
||
| ) | const |
| void Burger::String::Put | ( | WordPtr | uWhere, |
| char | cInput | ||
| ) |
| WordPtr Burger::String::Remove | ( | WordPtr | uStart, |
| WordPtr | uLength = static_cast<WordPtr>(-1) |
||
| ) |
| WordPtr Burger::String::RemoveChar | ( | char | cInput | ) |
| WordPtr Burger::String::RemoveChars | ( | const char * | pInput | ) |
| Burger::String & Burger::String::Right | ( | WordPtr | uNewLength, |
| char | cPad = ' ' |
||
| ) |
| char * Burger::String::strstr | ( | const char * | pInput | ) | const |
| BURGER_INLINE String& Burger::String::ToLowercase | ( | void | ) | [inline] |
| BURGER_INLINE String& Burger::String::ToUppercase | ( | void | ) | [inline] |
| BURGER_INLINE String Burger::String::Uppercase | ( | void | ) | const [inline] |
| BURGER_INLINE friend Word operator!= | ( | String const & | rInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator!= | ( | String const & | rInput1, |
| const char * | pInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator!= | ( | const char * | pInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator!= | ( | String const & | rInput1, |
| char | cInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator!= | ( | char | cInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator< | ( | String const & | rInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator< | ( | String const & | rInput1, |
| const char * | pInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator< | ( | const char * | pInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator< | ( | String const & | rInput1, |
| char | cInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator< | ( | char | cInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator<= | ( | String const & | rInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator<= | ( | String const & | rInput1, |
| const char * | pInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator<= | ( | const char * | pInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator<= | ( | String const & | rInput1, |
| char | cInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator<= | ( | char | cInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator== | ( | String const & | rInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator== | ( | String const & | rInput1, |
| const char * | pInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator== | ( | const char * | pInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator== | ( | String const & | rInput1, |
| char | cInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator== | ( | char | cInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator> | ( | String const & | rInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator> | ( | String const & | rInput1, |
| const char * | pInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator> | ( | const char * | pInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator> | ( | String const & | rInput1, |
| char | cInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator> | ( | char | cInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator>= | ( | String const & | rInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator>= | ( | String const & | rInput1, |
| const char * | pInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator>= | ( | const char * | pInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator>= | ( | String const & | rInput1, |
| char | cInput2 | ||
| ) | [friend] |
| BURGER_INLINE friend Word operator>= | ( | char | cInput1, |
| String const & | rInput2 | ||
| ) | [friend] |
const Word Burger::String::BUFFERSIZE = 64-(sizeof(char *)+sizeof(WordPtr)) [static] |
char* Burger::String::m_pData [private] |
Pointer to the string.
char Burger::String::m_Raw[BUFFERSIZE] [private] |
Temp preallocated buffer for most strings.
char Burger::String::m_sDummy [static, private] |
WordPtr Burger::String::m_uLength [private] |
Length of the string.
1.8.0