#include <LiteralString.h>
Public Member Functions | |
LiteralString () | |
LiteralString (const char *s) | |
LiteralString (const LiteralString &other) | |
~LiteralString () | |
LiteralString & | operator= (const LiteralString &other) |
const char * | c_str () const |
const char ** | key () const |
size_t | length () const |
void | erase (size_t i) |
void | ToHeap () |
bool | IsLiteral () const |
bool | operator< (const LiteralString &other) const |
bool | operator> (const LiteralString &other) const |
bool | operator== (const LiteralString &other) const |
bool | operator!= (const LiteralString &other) const |
bool | operator< (const char *other) const |
bool | operator> (const char *other) const |
bool | operator== (const char *other) const |
bool | operator!= (const char *other) const |
bool | operator< (const std::string &other) const |
bool | operator> (const std::string &other) const |
bool | operator== (const std::string &other) const |
bool | operator!= (const std::string &other) const |
LiteralString & | operator+= (const LiteralString &other) |
LiteralString & | operator+= (const std::string &other) |
LiteralString & | operator+= (const char *other) |
char | operator[] (size_t i) const |
Static Public Member Functions | |
static void | Add (const char *s) |
static void | Remove (const char *s) |
Private Member Functions | |
void | Reserve (size_t size) |
void | StrDup (const char *s) |
void | StrCat (const char *s) |
Private Attributes | |
union { | |
const char * fLiteral | |
char * fBuf | |
}; | |
size_t | fAllocSize |
Definition at line 21 of file LiteralString.h.
Reflex::LiteralString::LiteralString | ( | ) | [inline] |
Definition at line 23 of file LiteralString.h.
Reflex::LiteralString::LiteralString | ( | const char * | s | ) |
Reflex::LiteralString::LiteralString | ( | const LiteralString & | other | ) |
Reflex::LiteralString::~LiteralString | ( | ) |
static void Reflex::LiteralString::Add | ( | const char * | s | ) | [static] |
static void Reflex::LiteralString::Remove | ( | const char * | s | ) | [static] |
LiteralString& Reflex::LiteralString::operator= | ( | const LiteralString & | other | ) |
const char* Reflex::LiteralString::c_str | ( | ) | const [inline] |
Definition at line 34 of file LiteralString.h.
Referenced by Reflex::MemberBase::Name(), Reflex::ScopeName::Name(), Reflex::TypeName::Name(), and Reflex::MemberBase::Name_c_str().
const char** Reflex::LiteralString::key | ( | ) | const [inline] |
Definition at line 35 of file LiteralString.h.
size_t Reflex::LiteralString::length | ( | ) | const [inline] |
Definition at line 36 of file LiteralString.h.
void Reflex::LiteralString::erase | ( | size_t | i | ) |
void Reflex::LiteralString::ToHeap | ( | ) |
bool Reflex::LiteralString::IsLiteral | ( | ) | const [inline] |
Definition at line 40 of file LiteralString.h.
bool Reflex::LiteralString::operator< | ( | const LiteralString & | other | ) | const [inline] |
bool Reflex::LiteralString::operator> | ( | const LiteralString & | other | ) | const [inline] |
bool Reflex::LiteralString::operator== | ( | const LiteralString & | other | ) | const [inline] |
bool Reflex::LiteralString::operator!= | ( | const LiteralString & | other | ) | const [inline] |
bool Reflex::LiteralString::operator< | ( | const char * | other | ) | const [inline] |
Definition at line 51 of file LiteralString.h.
bool Reflex::LiteralString::operator> | ( | const char * | other | ) | const [inline] |
Definition at line 53 of file LiteralString.h.
bool Reflex::LiteralString::operator== | ( | const char * | other | ) | const [inline] |
Definition at line 55 of file LiteralString.h.
bool Reflex::LiteralString::operator!= | ( | const char * | other | ) | const [inline] |
Definition at line 57 of file LiteralString.h.
bool Reflex::LiteralString::operator< | ( | const std::string & | other | ) | const [inline] |
Definition at line 60 of file LiteralString.h.
bool Reflex::LiteralString::operator> | ( | const std::string & | other | ) | const [inline] |
Definition at line 62 of file LiteralString.h.
bool Reflex::LiteralString::operator== | ( | const std::string & | other | ) | const [inline] |
Definition at line 64 of file LiteralString.h.
bool Reflex::LiteralString::operator!= | ( | const std::string & | other | ) | const [inline] |
Definition at line 66 of file LiteralString.h.
LiteralString& Reflex::LiteralString::operator+= | ( | const LiteralString & | other | ) |
LiteralString& Reflex::LiteralString::operator+= | ( | const std::string & | other | ) |
LiteralString& Reflex::LiteralString::operator+= | ( | const char * | other | ) |
char Reflex::LiteralString::operator[] | ( | size_t | i | ) | const [inline] |
Definition at line 71 of file LiteralString.h.
void Reflex::LiteralString::Reserve | ( | size_t | size | ) | [private] |
void Reflex::LiteralString::StrDup | ( | const char * | s | ) | [private] |
void Reflex::LiteralString::StrCat | ( | const char * | s | ) | [private] |
const char* Reflex::LiteralString::fLiteral [private] |
Definition at line 81 of file LiteralString.h.
Referenced by operator!=(), operator<(), operator==(), and operator>().
char* Reflex::LiteralString::fBuf [private] |
Definition at line 82 of file LiteralString.h.
union { ... } [private] |
size_t Reflex::LiteralString::fAllocSize [private] |
Definition at line 84 of file LiteralString.h.