44 #ifndef _ObjectList_H__ 45 #define _ObjectList_H__ 68 static_assert(std::is_base_of<Listable, T>::value,
"ObjectList can only be used with Listables");
ObjectListBaseElement * rbegin() const
Returns a pointer to the last element in the list. Works only with Iterator.
Definition: ObjectListBase.h:141
The list-element that actually contains the object.
Definition: CorePrereqs.h:208
ObjectList(Context *context)
Definition: ObjectList.h:74
ObjectListIterator< T > begin()
Returns an Iterator to the first element in the list.
Definition: ObjectList.h:82
Declaration of the ObjectListBase class which stores all objects of each class.
Shared library macros, enums, constants and forward declarations for the core library ...
ObjectListBaseElement * end() const
Returns a pointer to the element after the last element in the list. Works only with Iterator...
Definition: ObjectListBase.h:139
The ObjectListBase contains all objects of a given class.
Definition: ObjectListBase.h:125
ObjectListBaseElement * begin() const
Returns a pointer to the first element in the list. Works only with Iterator.
Definition: ObjectListBase.h:137
Definition of the ObjectListIterator class, used to iterate through object-lists. ...
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
ObjectListBase * list_
Definition: ObjectList.h:96
ObjectList(ObjectListBase *list)
Definition: ObjectList.h:75
ObjectListIterator< T > end()
Returns an Iterator to the element after the last element in the list.
Definition: ObjectList.h:85
Definition: InputPrereqs.h:78
ObjectListIterator< T > iterator
Definition: ObjectList.h:68
The ObjectList contains all objects of the given class.
Definition: CorePrereqs.h:204
size_t size() const
Definition: ObjectListBase.h:134
ObjectList()
Definition: ObjectList.h:73
ObjectListBaseElement * rend() const
Returns a pointer to the element in front of the first element in the list. Works only with Iterator...
Definition: ObjectListBase.h:143
ObjectListIterator< T > rend()
Returns an Iterator to the element before the first element in the list.
Definition: ObjectList.h:92
ObjectListIterator< T > rbegin()
Returns an Iterator to the last element in the list.
Definition: ObjectList.h:89
ObjectListIterator<T> allows to iterate through the ObjectList of class T.
Definition: CorePrereqs.h:210
size_t size()
Returns the size of the list.
Definition: ObjectList.h:78