Public Types | Public Member Functions | Private 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:
Inheritance graph
[legend]

Public Types

typedef int difference_type
 
typedef Valuepointer
 
typedef Valuereference
 
typedef ValueIterator SelfType
 
typedef unsigned int size_t
 
typedef 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)
 
SelfTypeoperator++ ()
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
pointer operator-> () const
 
SelfTypeoperator= (const SelfType &other)
 
 ValueIterator ()
 
 ValueIterator (const ValueConstIterator &other)
 
 ValueIterator (const ValueIterator &other)
 
- 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 &current)
 

Private Member Functions

 ValueIterator (const Value::ObjectValues::iterator &current)
 

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 ()
 
Valuederef () const
 
void increment ()
 
bool isEqual (const SelfType &other) const
 

Detailed Description

Iterator for object and array value.

Definition at line 1120 of file json.h.

Member Typedef Documentation

Definition at line 1126 of file json.h.

Definition at line 1128 of file json.h.

Definition at line 1127 of file json.h.

Definition at line 1129 of file json.h.

typedef unsigned int Json::ValueIterator::size_t

Definition at line 1125 of file json.h.

Definition at line 1124 of file json.h.

Constructor & Destructor Documentation

Json::ValueIterator::ValueIterator ( )

Definition at line 2348 of file jsoncpp.cpp.

Json::ValueIterator::ValueIterator ( const ValueConstIterator other)

Definition at line 2353 of file jsoncpp.cpp.

Json::ValueIterator::ValueIterator ( const ValueIterator other)

Definition at line 2356 of file jsoncpp.cpp.

Json::ValueIterator::ValueIterator ( const Value::ObjectValues::iterator &  current)
explicitprivate

Definition at line 2350 of file jsoncpp.cpp.

Member Function Documentation

reference Json::ValueIterator::operator* ( ) const
inline

Definition at line 1164 of file json.h.

SelfType Json::ValueIterator::operator++ ( int  )
inline

Definition at line 1142 of file json.h.

SelfType& Json::ValueIterator::operator++ ( )
inline

Definition at line 1159 of file json.h.

SelfType Json::ValueIterator::operator-- ( int  )
inline

Definition at line 1148 of file json.h.

SelfType& Json::ValueIterator::operator-- ( )
inline

Definition at line 1154 of file json.h.

pointer Json::ValueIterator::operator-> ( ) const
inline

Definition at line 1166 of file json.h.

ValueIterator & Json::ValueIterator::operator= ( const SelfType other)

Definition at line 2359 of file jsoncpp.cpp.

Friends And Related Function Documentation

friend class Value
friend

Definition at line 1121 of file json.h.


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


mission_planning
Author(s): ivan
autogenerated on Thu Nov 12 2015 19:08:20