CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csTypedObjectIterator Class Reference

Helper class for CS_DECLARE_OBJECT_ITERATOR macro. More...

#include <objiter.h>

List of all members.

Public Methods

 csTypedObjectIterator (iObject *Parent)
 constructor

virtual ~csTypedObjectIterator ()
 destructor

iBaseNext ()
 Move forward.

void Reset ()
 Reset the iterator to the beginning.

iObjectGetParentObj () const
 Get the parent object.

bool HasNext () const
 Check if we have any children of requested type.

iBaseFindName (const char *name)
 Find the object with the given name.


Detailed Description

Helper class for CS_DECLARE_OBJECT_ITERATOR macro.

Definition at line 52 of file objiter.h.


Constructor & Destructor Documentation

csTypedObjectIterator::csTypedObjectIterator iObject   Parent
 

constructor

virtual csTypedObjectIterator::~csTypedObjectIterator   [virtual]
 

destructor


Member Function Documentation

iBase* csTypedObjectIterator::FindName const char *    name
 

Find the object with the given name.

iObject* csTypedObjectIterator::GetParentObj   const [inline]
 

Get the parent object.

Definition at line 79 of file objiter.h.

bool csTypedObjectIterator::HasNext   const [inline]
 

Check if we have any children of requested type.

Definition at line 81 of file objiter.h.

iBase* csTypedObjectIterator::Next   [inline]
 

Move forward.

Definition at line 70 of file objiter.h.

void csTypedObjectIterator::Reset   [inline]
 

Reset the iterator to the beginning.

Definition at line 77 of file objiter.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18