#include <object.h>
Inheritance diagram for iObjectIterator:
Public Methods | |
virtual bool | Next ()=0 |
Move forward. | |
virtual void | Reset ()=0 |
Reset the iterator to the beginning. | |
virtual iObject* | GetObject () const=0 |
Get the object we are pointing at. | |
virtual iObject* | GetParentObj () const=0 |
Get the parent object. | |
virtual bool | IsFinished () const=0 |
Check if we have any children of requested type. | |
virtual bool | FindName (const char *name)=0 |
traverses all csObjects and looks for an object with the given name returns true, if found, false if not found. More... |
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.
|
traverses all csObjects and looks for an object with the given name returns true, if found, false if not found. You can then get the object by calling GetObj, and can continue search by calling Next and then do an other FindName, if you like. |