struct IEntityIt { };
IEntitySystem.h
Entity iterator interface. This interface is used to traverse trough all the entities in an entity system. In a way, this iterator works a lot like a stl iterator.
virtual ~IEntityIt();
virtual void AddRef() = 0;
Checks whether current iterator position is the end position.
virtual bool IsEnd() = 0;
True if iterator at end position.
Positions the iterator at the beginning of the entity list.
virtual void MoveFirst() = 0;
Retrieves next entity.
virtual IEntity * Next() = 0;
A pointer to the entity that the iterator points to before it goes to the next.
Deletes this iterator and frees any memory it might have allocated.
virtual void Release() = 0;
Retrieves current entity.
virtual IEntity * This() = 0;
The entity that the iterator points to.