 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
77 void reset(
int removed_objects = 0);
95 bool next(T &element);
114 template <
typename T>
Basic class of a collection.
Definition: collection.hh:43
void reset(int removed_objects=0)
re-initialize the iterator to the start of iteration for the same collection
element type of non r_Object list maintained by the transaction
Definition: genreftype.hh:38
The class r_Ref_Any is defined to support a reference to any type.
Definition: ref.hh:64
void replace_element(const T &element)
replaces the actual element (can only be used with r_List)
void advance()
advances one element
r_Iterator< T > & operator=(const r_Iterator< T > &iter)
assignment operator
References of type r_Ref in many respects behave like C++ pointers but provide an additional mechanis...
Definition: collection.hh:196
bool next(T &element)
gets the actual element, advances one element, and returns whether iteration is complete or not
bool not_done() const
Resets the iterator to point to the first element of the element collection.
The template class r_Iterator defines the generic behavior for iteration.
Definition: collection.hh:30
Definition: collection.hh:116
int is_equal(const r_Iterator< T > &iter) const
comparisons: equal if they point to the same element in the same collection, not equal if they point ...
T operator*()
the dereference operator gets the actual element
The class represents a generic MDD in the sense that it is independent of the cell base type.
Definition: gmarray.hh:65
~r_Iterator()=default
Creates an iterator which points to the first element of the element collection.
T get_element() const
gets the actual element
r_Iterator()=default
default constructor
r_Iterator< T > & operator++()
prefix incrementor
r_Object(r_Transaction *transaction=NULL)
default constructor