CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
Json::Value::CZString Class Reference

Public Types

enum  DuplicationPolicy { noDuplication = 0, duplicate, duplicateOnCopy }
 

Public Member Functions

const char * c_str () const
 
 CZString (int index)
 
 CZString (const char *cstr, DuplicationPolicy allocate)
 
 CZString (const CZString &other)
 
int index () const
 
bool isStaticString () const
 
bool operator< (const CZString &other) const
 
CZStringoperator= (const CZString &other)
 
bool operator== (const CZString &other) const
 
 ~CZString ()
 

Private Member Functions

void swap (CZString &other)
 

Private Attributes

const char * cstr_
 
int index_
 

Detailed Description

Definition at line 121 of file value.h.

Member Enumeration Documentation

Enumerator
noDuplication 
duplicate 
duplicateOnCopy 

Definition at line 123 of file value.h.

Constructor & Destructor Documentation

Json::Value::CZString::CZString ( int  index)
Json::Value::CZString::CZString ( const char *  cstr,
DuplicationPolicy  allocate 
)
Json::Value::CZString::CZString ( const CZString other)
Json::Value::CZString::~CZString ( )

Member Function Documentation

const char* Json::Value::CZString::c_str ( ) const
int Json::Value::CZString::index ( ) const
bool Json::Value::CZString::isStaticString ( ) const
bool Json::Value::CZString::operator< ( const CZString other) const
CZString& Json::Value::CZString::operator= ( const CZString other)
bool Json::Value::CZString::operator== ( const CZString other) const
void Json::Value::CZString::swap ( CZString other)
private

Member Data Documentation

const char* Json::Value::CZString::cstr_
private

Definition at line 137 of file value.h.

int Json::Value::CZString::index_
private

Definition at line 138 of file value.h.