const iterator for object and array value. More...
#include <json.h>
Public Types | |
typedef const Value * | pointer |
typedef const Value & | reference |
typedef ValueConstIterator | SelfType |
typedef const Value | value_type |
Public Types inherited from Json::ValueIteratorBase | |
typedef int | difference_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef ValueIteratorBase | SelfType |
typedef unsigned int | size_t |
Public Member Functions | |
reference | operator* () const |
SelfType | operator++ (int) |
SelfType & | operator++ () |
SelfType | operator-- (int) |
SelfType & | operator-- () |
pointer | operator-> () const |
SelfType & | operator= (const ValueIteratorBase &other) |
ValueConstIterator () | |
Public Member Functions inherited from Json::ValueIteratorBase | |
UInt | index () const |
Return the index of the referenced Value, or -1 if it is not an arrayValue. More... | |
Value | key () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
std::string | name () const |
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) | |
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 const Value* Json::ValueConstIterator::pointer |
typedef const Value& Json::ValueConstIterator::reference |
typedef const Value Json::ValueConstIterator::value_type |
Json::ValueConstIterator::ValueConstIterator | ( | ) |
Definition at line 2328 of file jsoncpp.cpp.
|
explicitprivate |
Definition at line 2330 of file jsoncpp.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
ValueConstIterator & Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
Definition at line 2335 of file jsoncpp.cpp.