Iterator for object and array value. More...
#include <json.h>
Public Types | |
typedef int | difference_type |
typedef Value * | pointer |
typedef Value & | reference |
typedef ValueIterator | 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 SelfType &other) |
ValueIterator () | |
ValueIterator (const ValueConstIterator &other) | |
ValueIterator (const ValueIterator &other) | |
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 | |
ValueIterator (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::ValueIterator::difference_type |
typedef Value* Json::ValueIterator::pointer |
typedef Value& Json::ValueIterator::reference |
typedef unsigned int Json::ValueIterator::size_t |
Json::ValueIterator::ValueIterator | ( | ) |
Definition at line 1487 of file jsoncpp.cpp.
Json::ValueIterator::ValueIterator | ( | const ValueConstIterator & | other | ) |
Definition at line 1509 of file jsoncpp.cpp.
Json::ValueIterator::ValueIterator | ( | const ValueIterator & | other | ) |
Definition at line 1514 of file jsoncpp.cpp.
|
explicitprivate |
Definition at line 1493 of file jsoncpp.cpp.
ValueIterator & Json::ValueIterator::operator= | ( | const SelfType & | other | ) |
Definition at line 1520 of file jsoncpp.cpp.