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

Iterator type used to iterate over the fields contained in the cache. More...

#include <MamaFieldCache.h>

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

Public Types

typedef std::input_iterator_tag iterator_category
 
typedef MamaFieldCacheField value_type
 
typedef std::iterator_traits< MamaFieldCacheFielddifference_type
 
typedef MamaFieldCacheFieldpointer
 
typedef MamaFieldCacheFieldreference
 

Public Member Functions

reference operator* ()
 
pointer operator-> ()
 
- Public Member Functions inherited from Wombat::MamaFieldCache::MamaFieldCacheIterator
 MamaFieldCacheIterator (const MamaFieldCacheIterator &)
 
 ~MamaFieldCacheIterator ()
 
MamaFieldCacheIteratoroperator= (const MamaFieldCacheIterator &rhs)
 
bool operator== (const MamaFieldCacheIterator &rhs) const
 
bool operator!= (const MamaFieldCacheIterator &rhs) const
 
MamaFieldCacheIteratoroperator++ ()
 

Protected Member Functions

 iterator (mamaFieldCache fieldCache)
 
- Protected Member Functions inherited from Wombat::MamaFieldCache::MamaFieldCacheIterator
 MamaFieldCacheIterator (mamaFieldCache fieldCache)
 

Friends

class MamaFieldCache
 

Additional Inherited Members

- Protected Attributes inherited from Wombat::MamaFieldCache::MamaFieldCacheIterator
mamaFieldCacheIterator mIterator
 
MamaFieldCacheField mField
 

Detailed Description

Iterator type used to iterate over the fields contained in the cache.

This iterator allows modification of fields in the cache.

Member Typedef Documentation

§ iterator_category

typedef std::input_iterator_tag Wombat::MamaFieldCache::iterator::iterator_category

§ value_type

§ difference_type

§ pointer

§ reference

Constructor & Destructor Documentation

§ iterator()

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

Member Function Documentation

§ operator*()

reference Wombat::MamaFieldCache::iterator::operator* ( )

§ operator->()

pointer Wombat::MamaFieldCache::iterator::operator-> ( )

Friends And Related Function Documentation

§ MamaFieldCache

friend class MamaFieldCache
friend