Public Types | Public Member Functions | Public Attributes | 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 ValueConstIterator SelfType
 
- 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
 
SelfTypeoperator++ ()
 
SelfType operator++ (int)
 
SelfTypeoperator-- ()
 
SelfType operator-- (int)
 
pointer operator-> () const
 
SelfTypeoperator= (const ValueIteratorBase &other)
 
 ValueConstIterator ()
 
 ValueConstIterator (ValueIterator const &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)
 

Public Attributes

const typedef Valuepointer
 
const typedef Valuereference
 
const typedef Value value_type
 

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 1121 of file json.h.

Member Typedef Documentation

◆ SelfType

Definition at line 1130 of file json.h.

Constructor & Destructor Documentation

◆ ValueConstIterator() [1/3]

Json::ValueConstIterator::ValueConstIterator ( )

Definition at line 2359 of file jsoncpp.cpp.

◆ ValueConstIterator() [2/3]

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

Definition at line 2365 of file jsoncpp.cpp.

◆ ValueConstIterator() [3/3]

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

Definition at line 2361 of file jsoncpp.cpp.

Member Function Documentation

◆ operator*()

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

Definition at line 1164 of file json.h.

◆ operator++() [1/2]

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

Definition at line 1159 of file json.h.

◆ operator++() [2/2]

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

Definition at line 1142 of file json.h.

◆ operator--() [1/2]

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

Definition at line 1154 of file json.h.

◆ operator--() [2/2]

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

Definition at line 1148 of file json.h.

◆ operator->()

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

Definition at line 1166 of file json.h.

◆ operator=()

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

Definition at line 2369 of file jsoncpp.cpp.

Friends And Related Function Documentation

◆ Value

friend class Value
friend

Definition at line 1122 of file json.h.

Member Data Documentation

◆ pointer

const typedef Value* Json::ValueConstIterator::pointer

Definition at line 1129 of file json.h.

◆ reference

const typedef Value& Json::ValueConstIterator::reference

Definition at line 1128 of file json.h.

◆ value_type

const typedef Value Json::ValueConstIterator::value_type

Definition at line 1125 of file json.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11