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

◆ difference_type

Definition at line 1303 of file json.h.

◆ pointer

Definition at line 1305 of file json.h.

◆ reference

Definition at line 1304 of file json.h.

◆ SelfType

Definition at line 1306 of file json.h.

◆ size_t

typedef unsigned int Json::ValueConstIterator::size_t

Definition at line 1302 of file json.h.

Constructor & Destructor Documentation

◆ ValueConstIterator() [1/2]

Json::ValueConstIterator::ValueConstIterator ( )

Definition at line 1449 of file jsoncpp.cpp.

◆ ValueConstIterator() [2/2]

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

Definition at line 1455 of file jsoncpp.cpp.

Member Function Documentation

◆ operator*()

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

Definition at line 1347 of file json.h.

◆ operator++() [1/2]

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

Definition at line 1321 of file json.h.

◆ operator++() [2/2]

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

Definition at line 1341 of file json.h.

◆ operator--() [1/2]

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

Definition at line 1328 of file json.h.

◆ operator--() [2/2]

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

Definition at line 1335 of file json.h.

◆ operator=()

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

Definition at line 1472 of file jsoncpp.cpp.

Friends And Related Function Documentation

◆ Value

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 Mon Dec 12 2022 03:20:10