Public Types | Public Member Functions | Private Attributes | Friends

LibGeoDecomp::RegionStreakIterator< DIM, REGION > Class Template Reference

#include <regionstreakiterator.h>

Inherits std::iterator< std::forward_iterator_tag, const Streak< DIM > >.

Collaboration diagram for LibGeoDecomp::RegionStreakIterator< DIM, REGION >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::pair< int, int > IntPair
typedef std::vector< IntPairVecType

Public Member Functions

template<typename INIT_HELPER >
 RegionStreakIterator (const REGION *region, INIT_HELPER initHelper)
void operator++ ()
bool operator== (const RegionStreakIterator &other) const
bool operator!= (const RegionStreakIterator &other) const
const Streak< DIM > & operator* () const
const Streak< DIM > * operator-> () const
bool endReached () const

Private Attributes

VecType::const_iterator iterators [DIM]
Streak< DIM > streak
const REGION * region

Friends

class InitIterators
class Region
template<typename REGION_TYPE >
Coord< DIM > operator- (const RegionStreakIterator< DIM, REGION_TYPE > &a, const RegionStreakIterator< DIM, REGION_TYPE > &b)

template<int DIM, typename REGION>
class LibGeoDecomp::RegionStreakIterator< DIM, REGION >


Member Typedef Documentation

template<int DIM, typename REGION>
typedef std::pair<int, int> LibGeoDecomp::RegionStreakIterator< DIM, REGION >::IntPair
template<int DIM, typename REGION>
typedef std::vector<IntPair> LibGeoDecomp::RegionStreakIterator< DIM, REGION >::VecType

Constructor & Destructor Documentation

template<int DIM, typename REGION>
template<typename INIT_HELPER >
LibGeoDecomp::RegionStreakIterator< DIM, REGION >::RegionStreakIterator ( const REGION *  region,
INIT_HELPER  initHelper 
) [inline]

Member Function Documentation

template<int DIM, typename REGION>
bool LibGeoDecomp::RegionStreakIterator< DIM, REGION >::endReached (  )  const [inline]
template<int DIM, typename REGION>
bool LibGeoDecomp::RegionStreakIterator< DIM, REGION >::operator!= ( const RegionStreakIterator< DIM, REGION > &  other  )  const [inline]
template<int DIM, typename REGION>
const Streak<DIM>& LibGeoDecomp::RegionStreakIterator< DIM, REGION >::operator* (  )  const [inline]
template<int DIM, typename REGION>
void LibGeoDecomp::RegionStreakIterator< DIM, REGION >::operator++ (  )  [inline]
template<int DIM, typename REGION>
const Streak<DIM>* LibGeoDecomp::RegionStreakIterator< DIM, REGION >::operator-> (  )  const [inline]
template<int DIM, typename REGION>
bool LibGeoDecomp::RegionStreakIterator< DIM, REGION >::operator== ( const RegionStreakIterator< DIM, REGION > &  other  )  const [inline]

Friends And Related Function Documentation

template<int DIM, typename REGION>
friend class InitIterators [friend]
template<int DIM, typename REGION>
template<typename REGION_TYPE >
Coord<DIM> operator- ( const RegionStreakIterator< DIM, REGION_TYPE > &  a,
const RegionStreakIterator< DIM, REGION_TYPE > &  b 
) [friend]
template<int DIM, typename REGION>
friend class Region [friend]

Member Data Documentation

template<int DIM, typename REGION>
VecType::const_iterator LibGeoDecomp::RegionStreakIterator< DIM, REGION >::iterators[DIM] [private]
template<int DIM, typename REGION>
const REGION* LibGeoDecomp::RegionStreakIterator< DIM, REGION >::region [private]
template<int DIM, typename REGION>
Streak<DIM> LibGeoDecomp::RegionStreakIterator< DIM, REGION >::streak [private]

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