Public Member Functions | Private Attributes | Friends

LibGeoDecomp::CoordBox< DIM >::Iterator Class Reference

#include <coordbox.h>

Collaboration diagram for LibGeoDecomp::CoordBox< DIM >::Iterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Iterator (const Coord< DIM > &origin, const Coord< DIM > &start, const Coord< DIM > &dimensions)
bool operator== (const Iterator &other) const
bool operator!= (const Iterator &other) const
const Coord< DIM > & operator* () const
const Coord< DIM > * operator-> () const
Iteratoroperator++ ()
std::string toString () const

Private Attributes

Coord< DIM > cursor
Coord< DIM > origin
Coord< DIM > end

Friends

class StreakIterator

template<int DIM>
class LibGeoDecomp::CoordBox< DIM >::Iterator


Constructor & Destructor Documentation

template<int DIM>
LibGeoDecomp::CoordBox< DIM >::Iterator::Iterator ( const Coord< DIM > &  origin,
const Coord< DIM > &  start,
const Coord< DIM > &  dimensions 
) [inline]

Member Function Documentation

template<int DIM>
bool LibGeoDecomp::CoordBox< DIM >::Iterator::operator!= ( const Iterator other  )  const [inline]
template<int DIM>
const Coord<DIM>& LibGeoDecomp::CoordBox< DIM >::Iterator::operator* (  )  const [inline]
template<int DIM>
Iterator& LibGeoDecomp::CoordBox< DIM >::Iterator::operator++ (  )  [inline]
template<int DIM>
const Coord<DIM>* LibGeoDecomp::CoordBox< DIM >::Iterator::operator-> (  )  const [inline]
template<int DIM>
bool LibGeoDecomp::CoordBox< DIM >::Iterator::operator== ( const Iterator other  )  const [inline]
template<int DIM>
std::string LibGeoDecomp::CoordBox< DIM >::Iterator::toString (  )  const [inline]

Friends And Related Function Documentation

template<int DIM>
friend class StreakIterator [friend]

Member Data Documentation

template<int DIM>
Coord<DIM> LibGeoDecomp::CoordBox< DIM >::Iterator::cursor [private]
template<int DIM>
Coord<DIM> LibGeoDecomp::CoordBox< DIM >::Iterator::end [private]
template<int DIM>
Coord<DIM> LibGeoDecomp::CoordBox< DIM >::Iterator::origin [private]

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