Json::ValueIteratorBase Class Reference

Experimental and untested: base class for Value iterators. More...

#include <jsoncpp/include/json/value.h>

Inheritance diagram for Json::ValueIteratorBase:

Json::ValueConstIterator Json::ValueIterator

List of all members.

Public Types

typedef unsigned int size_t
typedef int difference_type
typedef ValueIteratorBase SelfType

Public Member Functions

 ValueIteratorBase (const std::map< Value::CZString, Value >::iterator &current)
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.
Value::UInt index () const
 Return the index of the referenced Value. -1 if it is not an arrayValue.
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue.

Protected Member Functions

Valuederef () const
void increment ()
void decrement ()
difference_type computeDistance (const SelfType &other) const
bool isEqual (const SelfType &other) const
void copy (const SelfType &other)


Detailed Description

Experimental and untested: base class for Value iterators.


The documentation for this class was generated from the following files:

Generated on Wed May 15 22:42:22 2013 for miniscope v3 by  doxygen 1.5.9
Tomasz Ostrowski