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

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

#include <MamaFieldCache.h>

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

Public Types

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

Public Member Functions

 const_iterator (const iterator &it)
 
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

 const_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 does not allow modification of fields in the cache.

Member Typedef Documentation

§ iterator_category

§ value_type

§ difference_type

§ pointer

§ reference

Constructor & Destructor Documentation

§ const_iterator() [1/2]

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

§ const_iterator() [2/2]

Wombat::MamaFieldCache::const_iterator::const_iterator ( const iterator it)

Member Function Documentation

§ operator*()

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

§ operator->()

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

Friends And Related Function Documentation

§ MamaFieldCache

friend class MamaFieldCache
friend