77 void reset(
int removed_objects = 0);
114 template <
typename T>
Basic class of a collection.
Definition: collection.hh:44
The class represents a generic MDD in the sense that it is independent of the cell base type.
Definition: gmarray.hh:66
The template class r_Iterator defines the generic behavior for iteration.
Definition: iterator.hh:48
void reset(int removed_objects=0)
re-initialize the iterator to the start of iteration for the same collection
r_Iterator(const r_Iterator< T > &iter)
copy constructor
r_Iterator< T > & operator++()
prefix incrementor
bool not_done() const
Resets the iterator to point to the first element of the element collection.
r_Iterator< T > operator++(int)
postfix incrementor
void replace_element(const T &element)
replaces the actual element (can only be used with r_List)
bool next(T &element)
gets the actual element, advances one element, and returns whether iteration is complete or not
r_Iterator(r_Collection< T > &source, int removed_objects=0)
constructor getting the collection on which to iterate (used for r_Collection::create_iterator())
r_Iterator()=default
default constructor
void advance()
advances one element
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
~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< T > & operator=(const r_Iterator< T > &iter)
assignment operator
r_Object(r_Transaction *transaction=NULL)
default constructor
The class r_Ref_Any is defined to support a reference to any type.
Definition: ref.hh:65
References of type r_Ref in many respects behave like C++ pointers but provide an additional mechanis...
Definition: ref.hh:198
element type of non r_Object list maintained by the transaction
Definition: genreftype.hh:39
Definition: collection.hh:117