Reflex::LiteralString Class Reference

#include <LiteralString.h>

List of all members.

Public Member Functions

 LiteralString ()
 LiteralString (const char *s)
 LiteralString (const LiteralString &other)
 ~LiteralString ()
LiteralStringoperator= (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
LiteralStringoperator+= (const LiteralString &other)
LiteralStringoperator+= (const std::string &other)
LiteralStringoperator+= (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


Detailed Description

Definition at line 21 of file LiteralString.h.


Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

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]

Definition at line 42 of file LiteralString.h.

References fLiteral.

bool Reflex::LiteralString::operator> ( const LiteralString other  )  const [inline]

Definition at line 44 of file LiteralString.h.

References fLiteral.

bool Reflex::LiteralString::operator== ( const LiteralString other  )  const [inline]

Definition at line 46 of file LiteralString.h.

References fLiteral.

bool Reflex::LiteralString::operator!= ( const LiteralString other  )  const [inline]

Definition at line 48 of file LiteralString.h.

References fLiteral.

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]


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:56:46 2011 for ROOT_528-00b_version by  doxygen 1.5.1