const iterator for object and array value. More...
#include <value.h>
Public Types | |
typedef int | difference_type |
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++ () |
SelfType | operator++ (int) |
SelfType & | operator-- () |
SelfType | operator-- (int) |
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) | |
Public Attributes | |
const typedef Value * | pointer |
const typedef Value & | reference |
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 unsigned int Json::ValueConstIterator::size_t |
Json::ValueConstIterator::ValueConstIterator | ( | ) |
|
explicitprivate |
|
inline |
|
inline |
Definition at line 898 of file value.h.
References Json::ValueIteratorBase::increment().
|
inline |
|
inline |
Definition at line 893 of file value.h.
References Json::ValueIteratorBase::decrement().
|
inline |
SelfType& Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |