const iterator for object and array value. More...
#include <json.h>
Public Types | |
typedef int | difference_type |
typedef const Value * | pointer |
typedef const Value & | reference |
typedef ValueConstIterator | SelfType |
typedef unsigned int | size_t |
Public Types inherited from Json::ValueIteratorBase | |
typedef int | difference_type |
typedef ValueIteratorBase | SelfType |
typedef unsigned int | size_t |
Public Member Functions | |
reference | operator* () const |
SelfType | operator++ (int) |
SelfType & | operator++ () |
SelfType | operator-- (int) |
SelfType & | operator-- () |
SelfType & | operator= (const ValueIteratorBase &other) |
ValueConstIterator () | |
Public Member Functions inherited from Json::ValueIteratorBase | |
UInt | index () const |
Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
Value | key () const |
Return either the index or the member name of the referenced value as a Value. More... | |
const char * | memberName () const |
Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
bool | operator!= (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
bool | operator== (const SelfType &other) const |
ValueIteratorBase () | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
Private Member Functions | |
ValueConstIterator (const Value::ObjectValues::iterator ¤t) | |
Friends | |
class | Value |
Additional Inherited Members | |
Protected Member Functions inherited from Json::ValueIteratorBase | |
difference_type | computeDistance (const SelfType &other) const |
void | copy (const SelfType &other) |
void | decrement () |
Value & | deref () const |
void | increment () |
bool | isEqual (const SelfType &other) const |
typedef int Json::ValueConstIterator::difference_type |
typedef const Value* Json::ValueConstIterator::pointer |
typedef const Value& Json::ValueConstIterator::reference |
typedef unsigned int Json::ValueConstIterator::size_t |
Json::ValueConstIterator::ValueConstIterator | ( | ) |
Definition at line 1449 of file jsoncpp.cpp.
|
explicitprivate |
Definition at line 1455 of file jsoncpp.cpp.
|
inline |
|
inline |
|
inline |
ValueConstIterator & Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
Definition at line 1472 of file jsoncpp.cpp.