ADTF  3.18.2
Value::CZString

Classes

struct  StringStorage
 

Public Types

enum  DuplicationPolicy { noDuplication = 0 , duplicate , duplicateOnCopy }
 

Public Member Functions

 CZString (ArrayIndex index)
 
 CZString (char const *str, unsigned length, DuplicationPolicy allocate)
 
 CZString (CZString const &other)
 
CZStringoperator= (const CZString &other)
 
bool operator< (CZString const &other) const
 
bool operator== (CZString const &other) const
 
ArrayIndex index () const
 
char const * data () const
 
unsigned length () const
 
bool isStaticString () const
 

Private Member Functions

void swap (CZString &other)
 

Private Attributes

char const * cstr_
 
union {
   ArrayIndex   index_
 
   StringStorage   storage_
 
}; 
 

Detailed Description

Definition at line 225 of file value.h.