#include <ObjectIterator.h>
Collaboration diagram for OpenCAL::ObjectIterator:
Public Member Functions | |
ObjectIterator (System *system) | |
ObjectIterator & | operator++ () |
const ObjectIterator | operator++ (int) |
Object * | operator * () |
Object * | current () |
void | reset () |
Protected Types | |
typedef vector< unsigned int > | SystemStack |
Protected Member Functions | |
Object * | gotoFirstObject (System *system) |
Protected Attributes | |
System * | m_system |
Object * | m_currentObject |
System * | m_currentSystem |
SystemStack | m_systemStack |
unsigned int | m_objectIndex |
Definition at line 31 of file ObjectIterator.h.
|
Definition at line 24 of file ObjectIterator.cpp. |
|
This is the postfix ++ operator. It makes the next item the current item, and returns that. It returns 0 if the current item was the last item, or if the System has no objects. Definition at line 51 of file ObjectIterator.cpp. References OpenCAL::System::getObject(), OpenCAL::System::getParent(), OpenCAL::System::getSystem(), OpenCAL::System::numObjects(), and OpenCAL::System::numSystems(). Here is the call graph for this function: ![]() |