| JsonCpp project page | JsonCpp home page |
Iterator for object and array value. More...
#include <json/value.h>
Inheritance diagram for Json::ValueIterator:
Collaboration diagram for Json::ValueIterator:Public Types | |
| typedef unsigned int | size_t |
| typedef int | difference_type |
| typedef Value & | reference |
| typedef Value * | pointer |
| typedef ValueIterator | SelfType |
Public Types inherited from Json::ValueIteratorBase | |
| typedef unsigned int | size_t |
| typedef int | difference_type |
| typedef ValueIteratorBase | SelfType |
Public Member Functions | |
| ValueIterator () | |
| ValueIterator (const ValueConstIterator &other) | |
| ValueIterator (const ValueIterator &other) | |
| SelfType & | operator= (const SelfType &other) |
| SelfType | operator++ (int) |
| SelfType | operator-- (int) |
| SelfType & | operator-- () |
| SelfType & | operator++ () |
| reference | operator* () const |
Public Member Functions inherited from Json::ValueIteratorBase | |
| ValueIteratorBase () | |
| ValueIteratorBase (const ValueInternalArray::IteratorState &state) | |
| ValueIteratorBase (const ValueInternalMap::IteratorState &state) | |
| bool | operator== (const SelfType &other) const |
| bool | operator!= (const SelfType &other) const |
| difference_type | operator- (const SelfType &other) const |
| Value | key () const |
| Return either the index or the member name of the referenced value as a Value. More... | |
| UInt | index () const |
| Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
| const char * | memberName () const |
| Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
Friends | |
| class | Value |
Additional Inherited Members | |
Protected Member Functions inherited from Json::ValueIteratorBase | |
| Value & | deref () const |
| void | increment () |
| void | decrement () |
| difference_type | computeDistance (const SelfType &other) const |
| bool | isEqual (const SelfType &other) const |
| void | copy (const SelfType &other) |
| 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 260 of file json_valueiterator.inl.
| Json::ValueIterator::ValueIterator | ( | const ValueConstIterator & | other | ) |
Definition at line 282 of file json_valueiterator.inl.
| Json::ValueIterator::ValueIterator | ( | const ValueIterator & | other | ) |
Definition at line 287 of file json_valueiterator.inl.
|
inline |
Definition at line 1093 of file value.h.
References Json::ValueIteratorBase::deref().
|
inline |
Definition at line 1087 of file value.h.
References Json::ValueIteratorBase::increment().
|
inline |
Definition at line 1081 of file value.h.
References Json::ValueIteratorBase::decrement().
| ValueIterator & Json::ValueIterator::operator= | ( | const SelfType & | other | ) |
Definition at line 293 of file json_valueiterator.inl.
References Json::ValueIteratorBase::copy().
|
|
hosts this site. |
Send comments to: Json-cpp Developers |