OpenMAMA C++ API
Wombat::MamaFieldCache::MamaFieldCacheIterator Class Reference

The MamaFieldCacheIterator class provides a way to iterate over the fields contained in the cache. More...

#include <MamaFieldCache.h>

Inheritance diagram for Wombat::MamaFieldCache::MamaFieldCacheIterator:
Wombat::MamaFieldCache::const_iterator Wombat::MamaFieldCache::iterator

Public Member Functions

 MamaFieldCacheIterator (const MamaFieldCacheIterator &)
 
 ~MamaFieldCacheIterator ()
 
MamaFieldCacheIteratoroperator= (const MamaFieldCacheIterator &rhs)
 
bool operator== (const MamaFieldCacheIterator &rhs) const
 
bool operator!= (const MamaFieldCacheIterator &rhs) const
 
MamaFieldCacheIteratoroperator++ ()
 

Protected Member Functions

 MamaFieldCacheIterator (mamaFieldCache fieldCache)
 

Protected Attributes

mamaFieldCacheIterator mIterator
 
MamaFieldCacheField mField
 

Friends

class MamaFieldCache
 

Detailed Description

The MamaFieldCacheIterator class provides a way to iterate over the fields contained in the cache.

Two iterators are provided: one const and one non-const. To use it use the standard C++ notation MamaFieldCache::iterator.

Constructor & Destructor Documentation

§ MamaFieldCacheIterator() [1/2]

Wombat::MamaFieldCache::MamaFieldCacheIterator::MamaFieldCacheIterator ( mamaFieldCache  fieldCache)
protected

§ MamaFieldCacheIterator() [2/2]

Wombat::MamaFieldCache::MamaFieldCacheIterator::MamaFieldCacheIterator ( const MamaFieldCacheIterator )

§ ~MamaFieldCacheIterator()

Wombat::MamaFieldCache::MamaFieldCacheIterator::~MamaFieldCacheIterator ( )

Member Function Documentation

§ operator=()

MamaFieldCacheIterator& Wombat::MamaFieldCache::MamaFieldCacheIterator::operator= ( const MamaFieldCacheIterator rhs)

§ operator==()

bool Wombat::MamaFieldCache::MamaFieldCacheIterator::operator== ( const MamaFieldCacheIterator rhs) const

§ operator!=()

bool Wombat::MamaFieldCache::MamaFieldCacheIterator::operator!= ( const MamaFieldCacheIterator rhs) const

§ operator++()

MamaFieldCacheIterator& Wombat::MamaFieldCache::MamaFieldCacheIterator::operator++ ( )

Friends And Related Function Documentation

§ MamaFieldCache

friend class MamaFieldCache
friend

Member Data Documentation

§ mIterator

mamaFieldCacheIterator Wombat::MamaFieldCache::MamaFieldCacheIterator::mIterator
protected

§ mField

MamaFieldCacheField Wombat::MamaFieldCache::MamaFieldCacheIterator::mField
protected