csTypedObjectIterator< T > Class Template 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. | |
Protected Member Functions | |
void | FetchObject () |
Protected Attributes | |
csRef< T > | CurrentTypedObject |
csRef< iObjectIterator > | iter |
Detailed Description
template<typename T>
class csTypedObjectIterator< T >
Typed object iterator class.
Definition at line 35 of file objiter.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 54 of file objiter.h. References iObject::GetIterator(). |
|
Destructor.
|
Member Function Documentation
|
Find the object with the given name.
|
|
Get the parent object.
|
|
Check if we have any children of requested type.
|
|
Move forward.
|
|
Reset the iterator to the beginning.
|
The documentation for this class was generated from the following file:
- csutil/objiter.h
Generated for Crystal Space by doxygen 1.4.6