72 class Iterator :
public IteratorBase<T, Iterator<T>>
84 template <
class OT,
class OI>
The Iterator allows to iterate through a given ObjectList.
Definition: CorePrereqs.h:192
Declaration of the ObjectListBase class which stores all objects of each class.
Listable * objectBase_
The object.
Definition: ObjectListBase.h:66
Shared library macros, enums, constants and forward declarations for the core library ...
Definition of the IteratorBase class, used to iterate through object-lists.
void setElement(ObjectListBaseElement *element)
Definition: IteratorBase.h:189
ObjectListBaseElement * element_
The element the Iterator points at.
Definition: IteratorBase.h:219
T * operator->() const
Overloading of the it-> operator: returns the pointer to the object.
Definition: Iterator.h:110
The Iterator allows to iterate through object lists.
Definition: IteratorBase.h:49
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
ORX_FORCEINLINE T orxonox_cast(U *source)
Casts on object of type Identifiable to any derived type that is registered in the class hierarchy...
Definition: Identifier.h:485
T * operator*() const
Overloading of the *it operator: returns the pointer to the object.
Definition: Iterator.h:101
Definition: InputPrereqs.h:78
Iterator()
Constructor: Sets the element, whereon the iterator points, to zero.
Definition: Iterator.h:78
Iterator(const IteratorBase< OT, OI > &other)
Constructor: Sets this element to the element of another Iterator.
Definition: Iterator.h:85
The list-element of the ObjectListBase.
Definition: ObjectListBase.h:52
Iterator< T > & operator=(ObjectListBaseElement *element)
Assigns a given element.
Definition: Iterator.h:91