Medical Imaging Interaction Toolkit  2016.11.0
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

Definition at line 1361 of file jsoncpp.h.

Definition at line 1363 of file jsoncpp.h.

Definition at line 1362 of file jsoncpp.h.

Definition at line 1364 of file jsoncpp.h.

typedef unsigned int Json::ValueIterator::vcl_size_t

Definition at line 1360 of file jsoncpp.h.

Constructor & Destructor Documentation

Json::ValueIterator::ValueIterator ( )

Definition at line 1487 of file jsoncpp.cpp.

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

Definition at line 1509 of file jsoncpp.cpp.

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

Definition at line 1514 of file jsoncpp.cpp.

Member Function Documentation

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

Definition at line 1408 of file jsoncpp.h.

References Json::ValueIteratorBase::deref().

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

Definition at line 1382 of file jsoncpp.h.

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

Definition at line 1402 of file jsoncpp.h.

References Json::ValueIteratorBase::increment().

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

Definition at line 1389 of file jsoncpp.h.

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

Definition at line 1396 of file jsoncpp.h.

References Json::ValueIteratorBase::decrement().

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: