 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
60 r_Bytes tlen,
unsigned int step = 1);
79 inline bool isDone(
void)
const;
86 inline void *
getData(
unsigned int *order);
145 #include "raslib/miterd.icc"
std::uint32_t r_Dimension
number of dimensions in r_Point and r_Minterval.
Definition: mddtypes.hh:56
r_miter_direct_data()=default
const void * baseAddress
Definition: miterd.hh:101
Definition: miterd.hh:118
r_Range low
Definition: miterd.hh:130
r_MiterDirect & operator++(void)
increment the iterator in the default order, i.e. last dimension first
std::uint32_t r_ULong
Definition: odmgtypes.hh:38
r_Range high
Definition: miterd.hh:131
std::ostream & operator<<(std::ostream &str, const r_MiterDirect &iter)
overloaded stream operator
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition: mddtypes.hh:43
r_Range pos
Definition: miterd.hh:129
r_MiterDirect & iterateUserOrder(const r_Dimension *order, const unsigned int *step)
increment the iterator in a user-specified order.
void reset(void)
reset the iterator (pos to low and data to baseAddress + offset)
~r_miter_direct_data()=default
std::int64_t r_Range
for axis indexing, e.g.
Definition: mddtypes.hh:53
r_Range getDimStep(r_Dimension d) const
returns number of bytes to step in dimension d in one iteration
r_Range getExtent(r_Dimension d) const
returns extent in dimension d
r_Range getDimBaseStep(r_Dimension d) const
returns number of bytes to step in dimension d when pos changes by 1.
r_MiterDirect is similar to r_Miter, but allows stepping by more than one cell in each direction,...
Definition: miterd.hh:51
bool done
Definition: miterd.hh:109
void posChanged(void)
notify that the position was changed and internal variables need to be recalculated
The spatial domain of an MDD is represented by an object of class r_Minterval.
Definition: minterval.hh:225
void print_pos(std::ostream &str) const
print the position
const void * data
Data concerning the iteration position and domain.
Definition: miterd.hh:128
r_MiterDirect(const void *data, const r_Minterval &total, const r_Minterval &iter, r_Bytes tlen, unsigned int step=1)
constructor getting the data, the total domain, the iteration domain, the base type length and the nu...