iObjectIterator Struct Reference
[Utilities]
This is an iterator for child objects of a csObject.
More...
#include <iutil/object.h>
Inheritance diagram for iObjectIterator:

Public Member Functions | |
virtual iObject * | Next ()=0 |
Move forward. | |
virtual void | Reset ()=0 |
Reset the iterator to the beginning. | |
virtual iObject * | GetParentObj () const =0 |
Get the parent object. | |
virtual bool | HasNext () const =0 |
Check if we have any more children of requested type. | |
virtual iObject * | FindName (const char *name)=0 |
traverses all csObjects and looks for an object with the given name returns object if found. |
Detailed Description
This is an iterator for child objects of a csObject.Note that this iterator only contains type-independent functionality and is therefore a bit complicated to use (i.e. you'll have to do a lot of SCF_QUERY_INTERFACE_CALLS if you use it directly). Check out typed object iterators instead.
Main creators of instances implementing this interface:
Definition at line 152 of file object.h.
Member Function Documentation
|
traverses all csObjects and looks for an object with the given name returns object if found. You can continue search by calling Next and then do an other FindName, if you like. |
|
Get the parent object.
|
|
Check if we have any more children of requested type.
|
|
Move forward.
|
|
Reset the iterator to the beginning.
|
The documentation for this struct was generated from the following file:
- iutil/object.h
Generated for Crystal Space by doxygen 1.3.9.1