Walls And Holes  1
Array2DCIterator< Type > Class Template Reference

#include <array2d.h>

Public Member Functions

 Array2DCIterator (const Array2D< Type > *r, int x, int y)
 
bool operator== (const Array2DCIterator< Type > &other) const
 
bool operator!= (const Array2DCIterator< Type > &other) const
 
Array2DCIterator< Type > & operator++ ()
 
Array2DCIterator< Type > operator++ (int)
 
const Type & operator* () const
 

Static Public Member Functions

static Array2DCIterator< Type > beginning (const Array2D< Type > *r)
 
static Array2DCIterator< Type > ending (const Array2D< Type > *r)
 

Protected Attributes

const Array2D< Type > * arr
 
int x
 
int y
 

Constructor & Destructor Documentation

◆ Array2DCIterator()

template<typename Type>
Array2DCIterator< Type >::Array2DCIterator ( const Array2D< Type > *  r,
int  x,
int  y 
)
inline

Member Function Documentation

◆ beginning()

template<typename Type>
static Array2DCIterator<Type> Array2DCIterator< Type >::beginning ( const Array2D< Type > *  r)
inlinestatic
Here is the caller graph for this function:

◆ ending()

template<typename Type>
static Array2DCIterator<Type> Array2DCIterator< Type >::ending ( const Array2D< Type > *  r)
inlinestatic
Here is the caller graph for this function:

◆ operator!=()

template<typename Type>
bool Array2DCIterator< Type >::operator!= ( const Array2DCIterator< Type > &  other) const
inline

◆ operator*()

template<typename Type>
const Type& Array2DCIterator< Type >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename Type>
Array2DCIterator<Type>& Array2DCIterator< Type >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename Type>
Array2DCIterator<Type> Array2DCIterator< Type >::operator++ ( int  )
inline

◆ operator==()

template<typename Type>
bool Array2DCIterator< Type >::operator== ( const Array2DCIterator< Type > &  other) const
inline

Member Data Documentation

◆ arr

template<typename Type>
const Array2D<Type>* Array2DCIterator< Type >::arr
protected

◆ x

template<typename Type>
int Array2DCIterator< Type >::x
protected

◆ y

template<typename Type>
int Array2DCIterator< Type >::y
protected

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