Tree::PostorderIterator Class Reference

#include <tree.h>

Inheritance diagram for Tree::PostorderIterator:

Tree::Iterator List of all members.

template<class T>
class libpmk::Tree< T >::PostorderIterator


Public Member Functions

 PostorderIterator (T *node)
virtual ~PostorderIterator ()
virtual Iteratoroperator++ ()
bool operator== (const Iterator &other)
 Returns true iff <other> points to the same node in memory.
bool operator!= (const Iterator &other)
 Returns true iff <other> points to a different node in memory.
T * operator-> ()
 Accesses the pointer to the TreeNode.
T * get ()
 Returns a pointer to the TreeNode.

Protected Attributes

TreeNodenode_

Constructor & Destructor Documentation

PostorderIterator ( T *  node  ) 

Creates a new iterator rooted at <node>. The resulting traversal will ignore any parents of <node>.

virtual ~PostorderIterator (  )  [inline, virtual]


Member Function Documentation

Tree< T >::Iterator & operator++ (  )  [virtual]

Implements Tree::Iterator.

bool operator== ( const Iterator other  )  [inline, inherited]

Returns true iff <other> points to the same node in memory.

bool operator!= ( const Iterator other  )  [inline, inherited]

Returns true iff <other> points to a different node in memory.

T* operator-> (  )  [inline, inherited]

Accesses the pointer to the TreeNode.

T* get (  )  [inline, inherited]

Returns a pointer to the TreeNode.


Member Data Documentation

TreeNode* node_ [protected, inherited]


The documentation for this class was generated from the following files:
Generated on Wed May 2 11:17:13 2007 for libpmk by  doxygen 1.5.1