rasdaman complete source
Classes | Public Member Functions | Protected Attributes | List of all members
r_Miter Class Reference

#include <miter.hh>

Classes

struct  incArrElem
 

Public Member Functions

 r_Miter (const r_Minterval *newAreaIter, const r_Minterval *newAreaTile, r_Bytes newCellSize, const char *newFirstCell)
 constructor. More...
 
 ~r_Miter ()
 destructor. More...
 
void reset ()
 resets iterator to first cell. More...
 
char * nextCell ()
 returns current cell and sets iterator to next cell. More...
 
bool isDone ()
 returns TRUE if iteration is finished. More...
 

Protected Attributes

const r_MintervalareaIter
 area to be iterated through More...
 
const r_MintervalareaTile
 area of tile. More...
 
r_Bytes cellSize
 size of base type. More...
 
const char * firstCell
 offset of first cell in tile. More...
 
incArrElemincArrIter
 array with increments More...
 
bool done
 flag set if iteration is finished. More...
 
char * currCell
 current cell for iteration; More...
 
int lowCount
 counter for position in lowest dimension. More...
 

Constructor & Destructor Documentation

r_Miter::r_Miter ( const r_Minterval newAreaIter,
const r_Minterval newAreaTile,
r_Bytes  newCellSize,
const char *  newFirstCell 
)
inline

constructor.

r_Miter::~r_Miter ( )
inline

destructor.

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

Member Function Documentation

bool r_Miter::isDone ( )
inline

returns TRUE if iteration is finished.

char* r_Miter::nextCell ( )
inline

returns current cell and sets iterator to next cell.

void r_Miter::reset ( )
inline

resets iterator to first cell.

Member Data Documentation

const r_Minterval* r_Miter::areaIter
protected

area to be iterated through

const r_Minterval* r_Miter::areaTile
protected

area of tile.

r_Bytes r_Miter::cellSize
protected

size of base type.

char* r_Miter::currCell
protected

current cell for iteration;

bool r_Miter::done
protected

flag set if iteration is finished.

const char* r_Miter::firstCell
protected

offset of first cell in tile.

incArrElem* r_Miter::incArrIter
protected

array with increments

int r_Miter::lowCount
protected

counter for position in lowest dimension.


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