Medical Imaging Interaction Toolkit  2018.4.99-a3d2e8fb
Medical Imaging Interaction Toolkit
Json::ValueIterator Class Reference

Iterator for object and array value. More...

#include <jsoncpp.h>

Inheritance diagram for Json::ValueIterator:
Collaboration diagram for Json::ValueIterator:

Public Types

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

Public Member Functions

 ValueIterator ()
 
 ValueIterator (const ValueConstIterator &other)
 
 ValueIterator (const ValueIterator &other)
 
SelfTypeoperator= (const SelfType &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

Iterator for object and array value.

Definition at line 1356 of file jsoncpp.h.

Member Typedef Documentation

◆ difference_type

Definition at line 1361 of file jsoncpp.h.

◆ pointer

Definition at line 1363 of file jsoncpp.h.

◆ reference

Definition at line 1362 of file jsoncpp.h.

◆ SelfType

Definition at line 1364 of file jsoncpp.h.

◆ vcl_size_t

typedef unsigned int Json::ValueIterator::vcl_size_t

Definition at line 1360 of file jsoncpp.h.

Constructor & Destructor Documentation

◆ ValueIterator() [1/3]

Json::ValueIterator::ValueIterator ( )

Definition at line 1487 of file jsoncpp.cpp.

References Json::ValueIteratorBase::ValueIteratorBase().

◆ ValueIterator() [2/3]

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

Definition at line 1509 of file jsoncpp.cpp.

◆ ValueIterator() [3/3]

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

Definition at line 1514 of file jsoncpp.cpp.

Member Function Documentation

◆ operator*()

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

Definition at line 1408 of file jsoncpp.h.

◆ operator++() [1/2]

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

Definition at line 1382 of file jsoncpp.h.

◆ operator++() [2/2]

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

Definition at line 1402 of file jsoncpp.h.

◆ operator--() [1/2]

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

Definition at line 1389 of file jsoncpp.h.

◆ operator--() [2/2]

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

Definition at line 1396 of file jsoncpp.h.

◆ operator=()

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

Definition at line 1520 of file jsoncpp.cpp.

References Json::ValueIteratorBase::copy().


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