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
 
- Public Types inherited from Json::ValueIteratorBase
typedef int difference_type
 
typedef ValueIteratorBase SelfType
 
typedef unsigned int size_t
 

Public Member Functions

reference operator* () const
 
SelfType operator++ (int)
 
SelfTypeoperator++ ()
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
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. -1 if it is not an arrayValue. More...
 
Value key () const
 Return either the index or the member name of the referenced value as a Value. More...
 
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue. More...
 
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 1356 of file json.h.

Member Typedef Documentation

Definition at line 1361 of file json.h.

Definition at line 1363 of file json.h.

Definition at line 1362 of file json.h.

Definition at line 1364 of file json.h.

typedef unsigned int Json::ValueIterator::size_t

Definition at line 1360 of file json.h.

Constructor & Destructor Documentation

Json::ValueIterator::ValueIterator ( )

Definition at line 1487 of file jsoncpp.cpp.

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

Definition at line 1509 of file jsoncpp.cpp.

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

Definition at line 1514 of file jsoncpp.cpp.

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

Definition at line 1493 of file jsoncpp.cpp.

Member Function Documentation

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

Definition at line 1408 of file json.h.

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

Definition at line 1382 of file json.h.

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

Definition at line 1402 of file json.h.

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

Definition at line 1389 of file json.h.

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

Definition at line 1396 of file json.h.

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

Definition at line 1520 of file jsoncpp.cpp.

Friends And Related Function Documentation

friend class Value
friend

Definition at line 1358 of file json.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Jun 10 2019 13:21:32