Iterator.h File Reference

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

#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


Detailed Description

Definition and implementation of the Iterator class.

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


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