CrystalSpace

Public API Reference

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

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

virtual ~csTypedObjectIterator ()
 destructor. More...

bool Next ()
 Move forward. More...

void Reset ()
 Reset the iterator to the beginning. More...

iObject * GetObject () const
 Get the object we are pointing at. More...

iObject * GetParentObj () const
 Get the parent object. More...

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

bool FindName (const char *name)
 Find the object with the given name. More...


Detailed Description

Helper class for CS_DECLARE_OBJECT_ITERATOR macro.

Definition at line 49 of file objiter.h.


Constructor & Destructor Documentation

csTypedObjectIterator::csTypedObjectIterator (  iObject *    Parent ) 
 

constructor.

virtual csTypedObjectIterator::~csTypedObjectIterator (    )  [virtual]
 

destructor.


Member Function Documentation

bool csTypedObjectIterator::FindName (  const char *    name )  [inline]
 

Find the object with the given name.

Definition at line 88 of file objiter.h.

iObject * csTypedObjectIterator::GetObject (    )  const [inline]
 

Get the object we are pointing at.

Definition at line 82 of file objiter.h.

iObject * csTypedObjectIterator::GetParentObj (    )  const [inline]
 

Get the parent object.

Definition at line 84 of file objiter.h.

bool csTypedObjectIterator::IsFinished (    )  const [inline]
 

Check if we have any children of requested type.

Definition at line 86 of file objiter.h.

bool csTypedObjectIterator::Next (    )  [inline]
 

Move forward.

Definition at line 78 of file objiter.h.

void csTypedObjectIterator::Reset (    )  [inline]
 

Reset the iterator to the beginning.

Definition at line 80 of file objiter.h.


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