![]() |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
r_MiterArea is used for iterating r_Mintervals through larger r_Mintervals. More...
#include <mitera.hh>
Classes | |
| struct | incArrElem |
Public Member Functions | |
| r_MiterArea (const r_Minterval *newIterDom, const r_Minterval *newImgDom) | |
| The pointers are stored, do not delete the objects as long as the iterator is used! More... | |
| ~r_MiterArea () | |
| 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 | |
| r_Minterval | retVal |
| This is used for the return value in nextArea() More... | |
| const r_Minterval * | iterDom {NULL} |
| area to be iterated through More... | |
| const r_Minterval * | imgDom {NULL} |
| area of tile. More... | |
| incArrElem * | incArrIter {NULL} |
| array with increments More... | |
| bool | done {false} |
| flag set if iteration is finished. More... | |
r_MiterArea is used for iterating r_Mintervals through larger r_Mintervals.
It is given the domain to be iterated through and an Minterval specifying the shape of area to be iterated with.
Going to the next area is done with nextArea() which returns an r_Minterval. Test for the end is done with isDone(). The iterator can be reset with reset(). Iteration starts at the lowest border in all dimensions. Note that if the shape of r_Minterval iterated does not completely fit into the r_Minterval iterated through the results at the border may have a different (smaller) shape.
| r_MiterArea::r_MiterArea | ( | const r_Minterval * | newIterDom, |
| const r_Minterval * | newImgDom | ||
| ) |
The pointers are stored, do not delete the objects as long as the iterator is used!
| if | newIterDom and newImgDom have different dimension |
| r_MiterArea::~r_MiterArea | ( | ) |
| 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.
|
protected |
flag set if iteration is finished.
|
protected |
area of tile.
|
protected |
array with increments
|
protected |
area to be iterated through
|
protected |
This is used for the return value in nextArea()