CYCLUS
Loading...
Searching...
No Matches
Json::ValueIteratorBase Class Reference

Detailed Description

base class for Value iterators.

Definition at line 4019 of file pyne.h.

#include <pyne.h>

Inheritance diagram for Json::ValueIteratorBase:
Json::ValueConstIterator Json::ValueIterator

Public Types

typedef int difference_type
 
typedef ValueIteratorBase SelfType
 
typedef unsigned int size_t
 

Public Member Functions

UInt index () const
 
Value key () const
 
const char * memberName () 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)
 

Protected Member Functions

difference_type computeDistance (const SelfType &other) const
 
void copy (const SelfType &other)
 
void decrement ()
 
Valuederef () const
 
void increment ()
 
bool isEqual (const SelfType &other) const
 

Member Typedef Documentation

◆ difference_type

Definition at line 4023 of file pyne.h.

◆ SelfType

Definition at line 4024 of file pyne.h.

◆ size_t

typedef unsigned int Json::ValueIteratorBase::size_t

Definition at line 4022 of file pyne.h.

Constructor & Destructor Documentation

◆ ValueIteratorBase() [1/2]

Json::ValueIteratorBase::ValueIteratorBase ( )

Definition at line 14119 of file pyne.cc.

◆ ValueIteratorBase() [2/2]

Json::ValueIteratorBase::ValueIteratorBase ( const Value::ObjectValues::iterator & current)
explicit

Definition at line 14133 of file pyne.cc.

Member Function Documentation

◆ computeDistance()

ValueIteratorBase::difference_type Json::ValueIteratorBase::computeDistance ( const SelfType & other) const
protected

Definition at line 14187 of file pyne.cc.

◆ copy()

void Json::ValueIteratorBase::copy ( const SelfType & other)
protected

Definition at line 14236 of file pyne.cc.

◆ decrement()

void Json::ValueIteratorBase::decrement ( )
protected

Definition at line 14175 of file pyne.cc.

◆ deref()

Value & Json::ValueIteratorBase::deref ( ) const
protected

Definition at line 14151 of file pyne.cc.

◆ increment()

void Json::ValueIteratorBase::increment ( )
protected

Definition at line 14163 of file pyne.cc.

◆ index()

UInt Json::ValueIteratorBase::index ( ) const

Return the index of the referenced Value. -1 if it is not an arrayValue.

Definition at line 14270 of file pyne.cc.

◆ isEqual()

bool Json::ValueIteratorBase::isEqual ( const SelfType & other) const
protected

Definition at line 14221 of file pyne.cc.

◆ key()

Value Json::ValueIteratorBase::key ( ) const

Return either the index or the member name of the referenced value as a Value.

Definition at line 14248 of file pyne.cc.

◆ memberName()

const char * Json::ValueIteratorBase::memberName ( ) const

Return the member name of the referenced Value. "" if it is not an objectValue.

Definition at line 14285 of file pyne.cc.

◆ operator!=()

bool Json::ValueIteratorBase::operator!= ( const SelfType & other) const
inline

Definition at line 4039 of file pyne.h.

◆ operator-()

difference_type Json::ValueIteratorBase::operator- ( const SelfType & other) const
inline

Definition at line 4044 of file pyne.h.

◆ operator==()

bool Json::ValueIteratorBase::operator== ( const SelfType & other) const
inline

Definition at line 4034 of file pyne.h.


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