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 (const char *cstr, DuplicationPolicy allocate)
 
 CZString (const CZString &other)
 
 CZString (int index)
 
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

◆ DuplicationPolicy

Enumerator
noDuplication 
duplicate 
duplicateOnCopy 

Definition at line 123 of file value.h.

Constructor & Destructor Documentation

◆ CZString() [1/3]

Json::Value::CZString::CZString ( int  index)

◆ CZString() [2/3]

Json::Value::CZString::CZString ( const char *  cstr,
DuplicationPolicy  allocate 
)

◆ CZString() [3/3]

Json::Value::CZString::CZString ( const CZString other)

◆ ~CZString()

Json::Value::CZString::~CZString ( )

Member Function Documentation

◆ c_str()

const char* Json::Value::CZString::c_str ( ) const

◆ index()

int Json::Value::CZString::index ( ) const

◆ isStaticString()

bool Json::Value::CZString::isStaticString ( ) const

◆ operator<()

bool Json::Value::CZString::operator< ( const CZString other) const

◆ operator=()

CZString& Json::Value::CZString::operator= ( const CZString other)

◆ operator==()

bool Json::Value::CZString::operator== ( const CZString other) const

◆ swap()

void Json::Value::CZString::swap ( CZString other)
private

Member Data Documentation

◆ cstr_

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

Definition at line 137 of file value.h.

◆ index_

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

Definition at line 138 of file value.h.

Json::Value::CZString::duplicate
Definition: value.h:123
Json::Value::CZString::noDuplication
Definition: value.h:123
Json::Value::CZString::duplicateOnCopy
Definition: value.h:123