#include "CorePrereqs.h"
#include "Identifier.h"
#include "ObjectList.h"
Namespaces | |
namespace | orxonox |
Classes | |
class | orxonox::ObjectListIterator< T > |
The Iterator allows to iterate through the ObjectList of a given class. More... |
The ObjectListIterator of a given class allows to iterate through the ObjectList of this class, containing all objects of that type. This is the only way to access the objects stored in an ObjectList.
Usage: for (ObjectListIterator<myClass> it = ObjectList<myClass>::begin(); it != ObjectList<myClass>::end(); ++it) { it->someFunction(...); myClass* myObject = *it; }