rasdaman complete source
Public Member Functions | Protected Attributes | List of all members
r_IterType< T > Class Template Reference

#include <itertype.hh>

Public Member Functions

 r_IterType ()
 default constructor More...
 
 r_IterType (T *newLastElem, T *newElems)
 constructor used in r_Structure_Type More...
 
 r_IterType (T *newLastElem, T *newElems, T *newCurrPos)
 constructor used in r_Structure_Type More...
 
 r_IterType (const r_IterType< T > &iter)
 copy constructor More...
 
 ~r_IterType ()
 destructor More...
 
r_IterType< T > & operator= (const r_IterType< T > &iter)
 assignment operator More...
 
bool operator== (const r_IterType< T > &otherIter)
 equal comparison: equal if they point to the same element. More...
 
bool operator!= (const r_IterType< T > &otherIter)
 no equal comparison: not equal if they point to different elements More...
 
r_IterType< T > & operator++ ()
 prefix incrementor More...
 
r_IterType< T > operator++ (int)
 postfix incrementor More...
 
operator* ()
 the dereference operator gets the actual element More...
 

Protected Attributes

T * lastElem
 
T * myElems
 
T * currPos
 

Constructor & Destructor Documentation

template<class T>
r_IterType< T >::r_IterType ( )

default constructor

template<class T>
r_IterType< T >::r_IterType ( T *  newLastElem,
T *  newElems 
)

constructor used in r_Structure_Type

template<class T>
r_IterType< T >::r_IterType ( T *  newLastElem,
T *  newElems,
T *  newCurrPos 
)

constructor used in r_Structure_Type

template<class T>
r_IterType< T >::r_IterType ( const r_IterType< T > &  iter)

copy constructor

template<class T>
r_IterType< T >::~r_IterType ( )

destructor

Member Function Documentation

template<class T>
bool r_IterType< T >::operator!= ( const r_IterType< T > &  otherIter)

no equal comparison: not equal if they point to different elements

template<class T>
T r_IterType< T >::operator* ( )

the dereference operator gets the actual element

template<class T>
r_IterType<T>& r_IterType< T >::operator++ ( )

prefix incrementor

template<class T>
r_IterType<T> r_IterType< T >::operator++ ( int  )

postfix incrementor

template<class T>
r_IterType<T>& r_IterType< T >::operator= ( const r_IterType< T > &  iter)

assignment operator

template<class T>
bool r_IterType< T >::operator== ( const r_IterType< T > &  otherIter)

equal comparison: equal if they point to the same element.

Member Data Documentation

template<class T>
T* r_IterType< T >::currPos
protected
template<class T>
T* r_IterType< T >::lastElem
protected
template<class T>
T* r_IterType< T >::myElems
protected

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