CYCLUS
Public Types | Public Member Functions | Protected Member Functions | List of all members
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

Definition at line 4023 of file pyne.h.

Definition at line 4024 of file pyne.h.

typedef unsigned int Json::ValueIteratorBase::size_t

Definition at line 4022 of file pyne.h.

Constructor & Destructor Documentation

Json::ValueIteratorBase::ValueIteratorBase ( )

Definition at line 14119 of file pyne.cc.

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

Definition at line 14133 of file pyne.cc.

Member Function Documentation

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

Definition at line 14187 of file pyne.cc.

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

Definition at line 14236 of file pyne.cc.

void Json::ValueIteratorBase::decrement ( )
protected

Definition at line 14175 of file pyne.cc.

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

Definition at line 14151 of file pyne.cc.

void Json::ValueIteratorBase::increment ( )
protected

Definition at line 14163 of file pyne.cc.

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.

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

Definition at line 14221 of file pyne.cc.

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.

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.

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

Definition at line 4039 of file pyne.h.

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

Definition at line 4044 of file pyne.h.

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: