ObjectListIterator.h File Reference

Definition and implementation of the Iterator class. More...

#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...


Detailed Description

Definition and implementation of the Iterator class.

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; }


Generated on Tue Jul 28 16:21:09 2009 for Orxonox by  doxygen 1.5.6