Class Tree::NodesIterator#

Nested Relationships#

This class is a nested type of Class Tree.

Inheritance Relationships#

Base Type#

Class Documentation#

class NodesIterator : public Iterator

The node iterator iterates over all the nodes in the tree in no particular order.

Public Functions

inline NodesIterator(Tree &t)
inline ~NodesIterator()
inline virtual void operator++()
inline virtual operator bool()
inline operator Node*()
inline Node *operator->()

Protected Attributes

std::set<Node*>::iterator iter
Tree *tr