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

Public Types

enum  DuplicationPolicy { noDuplication = 0, duplicate, duplicateOnCopy }
 

Public Member Functions

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

Detailed Description

Definition at line 479 of file json.h.

Member Enumeration Documentation

◆ DuplicationPolicy

Enumerator
noDuplication 
duplicate 
duplicateOnCopy 

Definition at line 482 of file json.h.

Constructor & Destructor Documentation

◆ CZString() [1/3]

Json::Value::CZString::CZString ( ArrayIndex  index)

Definition at line 1682 of file jsoncpp.cpp.

◆ CZString() [2/3]

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

Definition at line 1688 of file jsoncpp.cpp.

◆ CZString() [3/3]

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

Definition at line 1695 of file jsoncpp.cpp.

◆ ~CZString()

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

Definition at line 1704 of file jsoncpp.cpp.

Member Function Documentation

◆ c_str()

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

Definition at line 1750 of file jsoncpp.cpp.

◆ index()

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

Definition at line 1743 of file jsoncpp.cpp.

◆ isStaticString()

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

Definition at line 1756 of file jsoncpp.cpp.

◆ operator<()

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

Definition at line 1726 of file jsoncpp.cpp.

◆ operator=()

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

Definition at line 1718 of file jsoncpp.cpp.

◆ operator==()

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

Definition at line 1734 of file jsoncpp.cpp.

◆ swap()

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

Definition at line 1711 of file jsoncpp.cpp.

Member Data Documentation

◆ cstr_

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

Definition at line 500 of file json.h.

◆ index_

ArrayIndex Json::Value::CZString::index_
private

Definition at line 501 of file json.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Dec 12 2022 03:20:10