#include "CorePrereqs.h"
#include "Identifier.h"
#include "ObjectListBase.h"
Namespaces | |
namespace | orxonox |
Classes | |
class | orxonox::Iterator< T > |
The Iterator allows to iterate through a given ObjectList. More... | |
Typedefs | |
typedef Iterator< OrxonoxClass > | orxonox::BaseIterator |
The Iterator of a given class allows to iterate through an ObjectList. Objects in this list are casted to the template argument of the Iterator.
Usage: for (Iterator<myClass> it = anyidentifier->getObjects()->begin(); it != anyidentifier->getObjects()->end(); ++it) { it->someFunction(...); myClass* myObject = *it; }