![]() |
Public API Reference |
![]() |
Typed object iterator class. More...
#include <csutil/objiter.h>
Public Member Functions | |
csTypedObjectIterator (iObject *parent) | |
Constructor. | |
T * | FindName (const char *name) |
Find the object with the given name. | |
iObject * | GetParentObj () const |
Get the parent object. | |
bool | HasNext () const |
Check if we have any children of requested type. | |
T * | Next () |
Move forward. | |
void | Reset () |
Reset the iterator to the beginning. | |
~csTypedObjectIterator () | |
Destructor. |
Typed object iterator class.
csTypedObjectIterator< T >::csTypedObjectIterator | ( | iObject * | parent | ) | [inline] |
csTypedObjectIterator< T >::~csTypedObjectIterator | ( | ) | [inline] |
T* csTypedObjectIterator< T >::FindName | ( | const char * | name | ) | [inline] |
iObject* csTypedObjectIterator< T >::GetParentObj | ( | ) | const [inline] |
bool csTypedObjectIterator< T >::HasNext | ( | ) | const [inline] |
T* csTypedObjectIterator< T >::Next | ( | ) | [inline] |
void csTypedObjectIterator< T >::Reset | ( | ) | [inline] |