Public Types | Public Member Functions | Private Member Functions | Friends | List of all members
Json::ValueConstIterator Class Reference

const iterator for object and array value. More...

#include <json.h>

Inheritance diagram for Json::ValueConstIterator:
Inheritance graph
[legend]

Public Types

typedef int difference_type
 
typedef const Valuepointer
 
typedef const Valuereference
 
typedef ValueConstIterator 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 ValueIteratorBase &other)
 
 ValueConstIterator ()
 
- 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

 ValueConstIterator (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

const iterator for object and array value.

Definition at line 1298 of file json.h.

Member Typedef Documentation

Definition at line 1303 of file json.h.

Definition at line 1305 of file json.h.

Definition at line 1304 of file json.h.

Definition at line 1306 of file json.h.

typedef unsigned int Json::ValueConstIterator::size_t

Definition at line 1302 of file json.h.

Constructor & Destructor Documentation

Json::ValueConstIterator::ValueConstIterator ( )

Definition at line 1449 of file jsoncpp.cpp.

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

Definition at line 1455 of file jsoncpp.cpp.

Member Function Documentation

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

Definition at line 1347 of file json.h.

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

Definition at line 1321 of file json.h.

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

Definition at line 1341 of file json.h.

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

Definition at line 1328 of file json.h.

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

Definition at line 1335 of file json.h.

ValueConstIterator & Json::ValueConstIterator::operator= ( const ValueIteratorBase other)

Definition at line 1472 of file jsoncpp.cpp.

Friends And Related Function Documentation

friend class Value
friend

Definition at line 1300 of file json.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:27