const iterator for object and array value. More...
#include <json/value.h>
Inheritance diagram for Json::ValueConstIterator:
Collaboration diagram for Json::ValueConstIterator:Public Types | |
| typedef const Value | value_type |
| typedef const Value & | reference |
| typedef const Value * | pointer |
| typedef ValueConstIterator | SelfType |
Public Types inherited from Json::ValueIteratorBase | |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef unsigned int | size_t |
| typedef int | difference_type |
| typedef ValueIteratorBase | SelfType |
Public Member Functions | |
| ValueConstIterator () | |
| ValueConstIterator (ValueIterator const &other) | |
| SelfType & | operator= (const ValueIteratorBase &other) |
| SelfType | operator++ (int) |
| SelfType | operator-- (int) |
| SelfType & | operator-- () |
| SelfType & | operator++ () |
| reference | operator* () const |
| pointer | operator-> () const |
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... | |
| std::string | name () const |
| Return the member name of the referenced Value, or "" if it is not an objectValue. More... | |
| 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 | |
| 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 const Value* Json::ValueConstIterator::pointer |
| typedef const Value& Json::ValueConstIterator::reference |
| typedef const Value Json::ValueConstIterator::value_type |
| Json::ValueConstIterator::ValueConstIterator | ( | ) |
Definition at line 126 of file json_valueiterator.inl.
| Json::ValueConstIterator::ValueConstIterator | ( | ValueIterator const & | other | ) |
Definition at line 132 of file json_valueiterator.inl.
|
inline |
|
inline |
|
inline |
|
inline |
| ValueConstIterator & Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
Definition at line 136 of file json_valueiterator.inl.
References Json::ValueIteratorBase::copy().
1.8.14