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) | |
char const * | data () const |
ArrayIndex | index () const |
bool | isStaticString () const |
unsigned | length () const |
bool | operator< (CZString const &other) const |
CZString & | operator= (CZString other) |
bool | operator== (CZString const &other) const |
~CZString () | |
Private Member Functions | |
void | swap (CZString &other) |
Private Attributes | |
union { | |
ArrayIndex index_ | |
StringStorage storage_ | |
}; | |
char const * | cstr_ |
Json::Value::CZString::CZString | ( | ArrayIndex | index | ) |
Definition at line 2613 of file jsoncpp.cpp.
Json::Value::CZString::CZString | ( | char const * | str, |
unsigned | length, | ||
DuplicationPolicy | allocate | ||
) |
Definition at line 2615 of file jsoncpp.cpp.
Json::Value::CZString::CZString | ( | CZString const & | other | ) |
Definition at line 2623 of file jsoncpp.cpp.
Json::Value::CZString::~CZString | ( | ) |
Definition at line 2635 of file jsoncpp.cpp.
const char * Json::Value::CZString::data | ( | ) | const |
Definition at line 2677 of file jsoncpp.cpp.
ArrayIndex Json::Value::CZString::index | ( | ) | const |
Definition at line 2674 of file jsoncpp.cpp.
bool Json::Value::CZString::isStaticString | ( | ) | const |
Definition at line 2679 of file jsoncpp.cpp.
unsigned Json::Value::CZString::length | ( | ) | const |
Definition at line 2678 of file jsoncpp.cpp.
bool Json::Value::CZString::operator< | ( | CZString const & | other | ) | const |
Definition at line 2650 of file jsoncpp.cpp.
Value::CZString & Json::Value::CZString::operator= | ( | CZString | other | ) |
Definition at line 2645 of file jsoncpp.cpp.
bool Json::Value::CZString::operator== | ( | CZString const & | other | ) | const |
Definition at line 2663 of file jsoncpp.cpp.
|
private |
Definition at line 2640 of file jsoncpp.cpp.
union { ... } |
ArrayIndex Json::Value::CZString::index_ |
StringStorage Json::Value::CZString::storage_ |