Iterator for object and array value. More...
#include <value.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 | ( | ) |
Json::ValueIterator::ValueIterator | ( | const ValueConstIterator & | other | ) |
Json::ValueIterator::ValueIterator | ( | const ValueIterator & | other | ) |
|
explicitprivate |
|
inline |
Definition at line 956 of file value.h.
References Json::ValueIteratorBase::deref().
|
inline |
|
inline |
Definition at line 951 of file value.h.
References Json::ValueIteratorBase::increment().
|
inline |
|
inline |
Definition at line 946 of file value.h.
References Json::ValueIteratorBase::decrement().