LoveBrains  1.0.0
Public Types | Public Member Functions | Friends | List of all members
Json::ValueIterator Class Reference

Iterator for object and array value. More...

#include <json.h>

Inheritance diagram for Json::ValueIterator:
Json::ValueIteratorBase Json::ValueIteratorBase

Public Types

typedef Value value_type
 
typedef unsigned int size_t
 
typedef int difference_type
 
typedef Valuereference
 
typedef Valuepointer
 
typedef ValueIterator SelfType
 
typedef Value value_type
 
typedef unsigned int size_t
 
typedef int difference_type
 
typedef Valuereference
 
typedef Valuepointer
 
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
 
typedef std::bidirectional_iterator_tag iterator_category
 
typedef unsigned int size_t
 
typedef int difference_type
 
typedef ValueIteratorBase SelfType
 

Public Member Functions

 ValueIterator (const ValueConstIterator &other)
 
 ValueIterator (const ValueIterator &other)
 
SelfTypeoperator= (const SelfType &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
pointer operator-> () const
 
 ValueIterator (const ValueConstIterator &other)
 
 ValueIterator (const ValueIterator &other)
 
SelfTypeoperator= (const SelfType &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
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
 Return the index of the referenced Value, or -1 if it is not an arrayValue.
 
std::string name () const
 
char const * memberName () const
 
char const * memberName (char const **end) const
 
 ValueIteratorBase (const Value::ObjectValues::iterator &current)
 
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
 Return the index of the referenced Value, or -1 if it is not an arrayValue.
 
std::string name () const
 
char const * memberName () const
 
char const * memberName (char const **end) const
 
 ValueIteratorBase (const Value::ObjectValues::iterator &current)
 

Friends

class Value
 

Additional Inherited Members

- Protected Member Functions inherited from Json::ValueIteratorBase
Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 
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

Iterator for object and array value.


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