In file include/csobject/treeitr.h:

class csObjIterator

An iterator for a node in a csObject tree

Public Methods

csObjIterator (const csObjIterator& iter)
csObjIterator (csObjTree* node)
bool IsNull ()
csObject& operator* ()
csObjIterator& operator++ ()
~csObjIterator ()

Protected Classes

class csObjItrNode
csObjItrNode* next
csObjTree* treenode
int child_ind
csObjItrNode (csObjTree* node)
~csObjItrNode ()

Protected Fields

csObjItrNode* top

Protected Methods

void NodeSeek ()
Seeks the first node in the tree that contains at least one csObject.

Documentation

An iterator for a node in a csObject tree. Used by the csObject::ObjGet() call. This object behaves similar to a pointer, and is used to traverse through several csObjects in the tree. Example usage: csObjIterator i; *i; (returns a csObject&) ++i; (moves to the next csObject) i.IsNull() (returns true if i has reached the end of the list)
class csObjItrNode

csObjItrNode* next

csObjTree* treenode

int child_ind

csObjItrNode(csObjTree* node)

~csObjItrNode()

csObjItrNode* top

void NodeSeek()
Seeks the first node in the tree that contains at least one csObject.

csObjIterator(csObjTree* node)

csObjIterator(const csObjIterator& iter)

~csObjIterator()

bool IsNull()

csObject& operator* ()

csObjIterator& operator++ ()


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de