rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
Classes | Public Member Functions | Protected Attributes | List of all members
r_MiterFloat Class Reference

r_MiterFloat is used for iterating through parts of multidimensional intervals with arbitrary stepping size using nearest neighbours. More...

#include <miterf.hh>

Classes

struct  iter_desc
 Iteration information for each axis. More...
 

Public Member Functions

 r_MiterFloat (r_Bytes srcCellSize, const char *srcTile, const r_Minterval &fullTileDomain, const r_Minterval &srcDomain, const r_Minterval &dstDomain)
 Constructor getting the source tile, the source domain in that tile, and the destination domain.
 
 r_MiterFloat (const r_MiterFloat &)=delete
 
r_MiterFloatoperator= (const r_MiterFloat &)=delete
 
 r_MiterFloat (r_MiterFloat &&)=delete
 
r_MiterFloatoperator= (r_MiterFloat &&)=delete
 
 ~r_MiterFloat ()
 
void reset ()
 iterator reset
 
char * nextCell ()
 get the next cell
 
bool isDone () const
 true if done
 

Protected Attributes

char * currentCell
 
const char * firstCell
 start of the source tile cell data at the origin of srcDomain
 
iter_desciterDesc
 Iteration information for each axis.
 
iter_desciterDescEnd
 
r_Dimension dim
 source tile dimension
 
bool done
 true when the iteration over dstDomain is finished
 

Detailed Description

r_MiterFloat is used for iterating through parts of multidimensional intervals with arbitrary stepping size using nearest neighbours.

It is given the tile, the source domain and the destination domain. Apart from that behaviour it is exactly as in r_Miter.

Constructor & Destructor Documentation

◆ r_MiterFloat() [1/3]

r_MiterFloat::r_MiterFloat ( r_Bytes  srcCellSize,
const char *  srcTile,
const r_Minterval fullTileDomain,
const r_Minterval srcDomain,
const r_Minterval dstDomain 
)

Constructor getting the source tile, the source domain in that tile, and the destination domain.

◆ r_MiterFloat() [2/3]

r_MiterFloat::r_MiterFloat ( const r_MiterFloat )
delete

◆ r_MiterFloat() [3/3]

r_MiterFloat::r_MiterFloat ( r_MiterFloat &&  )
delete

◆ ~r_MiterFloat()

r_MiterFloat::~r_MiterFloat ( )

Member Function Documentation

◆ isDone()

bool r_MiterFloat::isDone ( ) const
inline

true if done

References done.

◆ nextCell()

char * r_MiterFloat::nextCell ( )
inline

◆ operator=() [1/2]

r_MiterFloat & r_MiterFloat::operator= ( const r_MiterFloat )
delete

◆ operator=() [2/2]

r_MiterFloat & r_MiterFloat::operator= ( r_MiterFloat &&  )
delete

◆ reset()

void r_MiterFloat::reset ( )

iterator reset

Member Data Documentation

◆ currentCell

char* r_MiterFloat::currentCell
protected

Referenced by nextCell().

◆ dim

r_Dimension r_MiterFloat::dim
protected

source tile dimension

Referenced by nextCell().

◆ done

bool r_MiterFloat::done
protected

true when the iteration over dstDomain is finished

Referenced by isDone(), and nextCell().

◆ firstCell

const char* r_MiterFloat::firstCell
protected

start of the source tile cell data at the origin of srcDomain

◆ iterDesc

iter_desc* r_MiterFloat::iterDesc
protected

Iteration information for each axis.

Referenced by nextCell().

◆ iterDescEnd

iter_desc* r_MiterFloat::iterDescEnd
protected

Referenced by nextCell().


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