iObjectIterator Struct Reference
Public Member Functions
|virtual iObject *||FindName (const char *name)=0|
|traverses all csObjects and looks for an object with the given name returns object if found. |
|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 *||Next ()=0|
|Move forward. |
|virtual void||Reset ()=0|
|Reset the iterator to the beginning. |
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 scfQueryInterface calls if you use it directly). Check out typed object iterators instead.
Main creators of instances implementing this interface:
Member Function Documentation
|virtual iObject* iObjectIterator::FindName||(||const char *||name||)||
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.
|virtual iObject* iObjectIterator::GetParentObj||(||)|| const
Get the parent object.
|virtual bool iObjectIterator::HasNext||(||)|| const
Check if we have any more children of requested type.
|virtual iObject* iObjectIterator::Next||(||)||
|virtual void iObjectIterator::Reset||(||)||
Reset the iterator to the beginning.
The documentation for this struct was generated from the following file:
Generated for Crystal Space 2.1 by doxygen 1.6.1