Medical Imaging Interaction Toolkit  2018.4.99-1bab67a2
Medical Imaging Interaction Toolkit
Json::ValueConstIterator Class Reference

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

#include <jsoncpp.h>

Inheritance diagram for Json::ValueConstIterator:
Collaboration diagram for Json::ValueConstIterator:

Public Types

typedef unsigned int vcl_size_t
 
typedef int difference_type
 
typedef const Valuereference
 
typedef const Valuepointer
 
typedef ValueConstIterator SelfType
 
- Public Types inherited from Json::ValueIteratorBase
typedef unsigned int vcl_size_t
 
typedef int difference_type
 
typedef ValueIteratorBase SelfType
 

Public Member Functions

 ValueConstIterator ()
 
SelfTypeoperator= (const ValueIteratorBase &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
- Public Member Functions inherited from Json::ValueIteratorBase
 ValueIteratorBase ()
 
 ValueIteratorBase (const Value::ObjectValues::iterator &current)
 
bool operator== (const SelfType &other) const
 
bool operator!= (const SelfType &other) const
 
difference_type operator- (const SelfType &other) const
 
Value key () const
 Return either the index or the member name of the referenced value as a Value. More...
 
UInt index () const
 Return the index of the referenced Value. -1 if it is not an arrayValue. More...
 
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Json::ValueIteratorBase
Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 

Detailed Description

const iterator for object and array value.

Definition at line 1298 of file jsoncpp.h.

Member Typedef Documentation

◆ difference_type

Definition at line 1303 of file jsoncpp.h.

◆ pointer

Definition at line 1305 of file jsoncpp.h.

◆ reference

Definition at line 1304 of file jsoncpp.h.

◆ SelfType

◆ vcl_size_t

Definition at line 1302 of file jsoncpp.h.

Constructor & Destructor Documentation

◆ ValueConstIterator()

Json::ValueConstIterator::ValueConstIterator ( )

Definition at line 1449 of file jsoncpp.cpp.

References Json::ValueIteratorBase::ValueIteratorBase().

Member Function Documentation

◆ operator*()

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

Definition at line 1347 of file jsoncpp.h.

◆ operator++() [1/2]

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

Definition at line 1321 of file jsoncpp.h.

◆ operator++() [2/2]

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

Definition at line 1341 of file jsoncpp.h.

◆ operator--() [1/2]

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

Definition at line 1328 of file jsoncpp.h.

◆ operator--() [2/2]

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

Definition at line 1335 of file jsoncpp.h.

◆ operator=()

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

Definition at line 1472 of file jsoncpp.cpp.

References Json::ValueIteratorBase::copy().


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