rasdaman API
Classes | Public Member Functions | Protected Attributes | List of all members
r_MiterArea Class Reference

#include <mitera.hh>

Classes

struct  incArrElem
 

Public Member Functions

 r_MiterArea (const r_Minterval *newIterDom, const r_Minterval *newImgDom) throw (r_Error)
 constructor. An exception is thrown if newIterDom and newImgDom have different dimension More...
 
 ~r_MiterArea ()
 destructor. More...
 
void reset ()
 resets iterator to beginning. More...
 
r_Minterval nextArea ()
 returns current cell and sets iterator to next cell. More...
 
bool isDone ()
 returns TRUE if iteration is finished. More...
 

Protected Attributes

const r_MintervaliterDom
 area to be iterated through More...
 
const r_MintervalimgDom
 area of tile. More...
 
incArrElemincArrIter
 array with increments More...
 
bool done
 flag set if iteration is finished. More...
 
r_Minterval retVal
 This is used for the return value in nextArea() More...
 

Constructor & Destructor Documentation

r_MiterArea::r_MiterArea ( const r_Minterval newIterDom,
const r_Minterval newImgDom 
)
throw (r_Error
)

constructor. An exception is thrown if newIterDom and newImgDom have different dimension

r_MiterArea::~r_MiterArea ( )

destructor.

The pointers are stored, do not delete the objects as long as the iterator is used!

Member Function Documentation

bool r_MiterArea::isDone ( )

returns TRUE if iteration is finished.

r_Minterval r_MiterArea::nextArea ( )

returns current cell and sets iterator to next cell.

void r_MiterArea::reset ( )

resets iterator to beginning.

Member Data Documentation

bool r_MiterArea::done
protected

flag set if iteration is finished.

const r_Minterval* r_MiterArea::imgDom
protected

area of tile.

incArrElem* r_MiterArea::incArrIter
protected

array with increments

const r_Minterval* r_MiterArea::iterDom
protected

area to be iterated through

r_Minterval r_MiterArea::retVal
protected

This is used for the return value in nextArea()


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