Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csTypedObjectIterator< T > Class Template Reference
Typed object iterator class. More...
#include <csutil/objiter.h>
Public Member Functions | |
csTypedObjectIterator (iObject *parent) | |
Constructor. | |
~csTypedObjectIterator () | |
Destructor. | |
T * | Next () |
Move forward. | |
void | Reset () |
Reset the iterator to the beginning. | |
iObject * | GetParentObj () const |
Get the parent object. | |
bool | HasNext () const |
Check if we have any children of requested type. | |
T * | FindName (const char *name) |
Find the object with the given name. |
Detailed Description
template<typename T>
class csTypedObjectIterator< T >
Typed object iterator class.
Definition at line 33 of file objiter.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 55 of file objiter.h. References scfInterface< T >::GetID(), iObject::GetIterator(), and scfInterface< T >::GetVersion(). |
|
Destructor.
|
Member Function Documentation
|
Find the object with the given name.
Definition at line 84 of file objiter.h. References csRef< T >::AttachNew(), csRef< T >::Invalidate(), and iBase::QueryInterface(). |
|
Get the parent object.
|
|
Check if we have any children of requested type.
Definition at line 81 of file objiter.h. References csRef< T >::IsValid(). |
|
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.3.9.1