Iterator for object and array value. More...
#include <json/value.h>
 Inheritance diagram for Json::ValueIterator:
 Inheritance diagram for Json::ValueIterator: Collaboration diagram for Json::ValueIterator:
 Collaboration diagram for Json::ValueIterator:| Public Types | |
| using | value_type = Value | 
| using | size_t = unsigned int | 
| using | difference_type = int | 
| using | reference = Value & | 
| using | pointer = Value * | 
| using | SelfType = ValueIterator | 
|  Public Types inherited from Json::ValueIteratorBase | |
| using | iterator_category = std::bidirectional_iterator_tag | 
| using | size_t = unsigned int | 
| using | difference_type = int | 
| using | SelfType = ValueIteratorBase | 
| 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* () | 
| pointer | operator-> () | 
|  Public Member Functions inherited from Json::ValueIteratorBase | |
| 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, or -1 if it is not an arrayValue.  More... | |
| String | name () const | 
| Return the member name of the referenced Value, or "" if it is not an objectValue.  More... | |
| __declspec (deprecated("Use `key = name();` instead.")) char const *memberName() const | |
| Return the member name of the referenced Value.  More... | |
| char const * | memberName (char const **end) const | 
| Return the member name of the referenced Value, or NULL if it is not an objectValue.  More... | |
| ValueIteratorBase () | |
| ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
| Friends | |
| class | Value | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from Json::ValueIteratorBase | |
| const Value & | deref () const | 
| Value & | deref () | 
| void | increment () | 
| void | decrement () | 
| difference_type | computeDistance (const SelfType &other) const | 
| bool | isEqual (const SelfType &other) const | 
| void | copy (const SelfType &other) | 
| using Json::ValueIterator::difference_type = int | 
| using Json::ValueIterator::pointer = Value* | 
| using Json::ValueIterator::reference = Value& | 
| using Json::ValueIterator::size_t = unsigned int | 
| using Json::ValueIterator::value_type = Value | 
| 
 | default | 
| 
 | explicit | 
Definition at line 144 of file json_valueiterator.inl.
| 
 | default | 
| 
 | inline | 
| ValueIterator & Json::ValueIterator::operator= | ( | const SelfType & | other | ) | 
Definition at line 151 of file json_valueiterator.inl.
References Json::ValueIteratorBase::copy().
 1.8.18
 1.8.18