Iterator for object and array value. More...
#include <json.h>
Public Types | |
typedef Value | value_type |
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 std::bidirectional_iterator_tag | iterator_category |
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 |
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 |
UInt | index () const |
String | name () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
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) |
Iterator for object and array value.
typedef int Json::ValueIterator::difference_type |
typedef Value* Json::ValueIterator::pointer |
typedef Value& Json::ValueIterator::reference |
typedef unsigned int Json::ValueIterator::size_t |
typedef Value Json::ValueIterator::value_type |
|
default |
|
explicit |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ValueIterator & Json::ValueIterator::operator= | ( | const SelfType & | other | ) |
|
friend |