SparseTree::PostorderIterator Class Reference

#include <sparse-tree.h>

Inheritance diagram for SparseTree::PostorderIterator:

SparseTree::Iterator List of all members.

template<class T>
class libpmk::SparseTree< 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 SparseTreeNode.
T * get ()
 Returns a pointer to the SparseTreeNode.

Protected Attributes

SparseTreeNodenode_

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

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

Implements SparseTree::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 SparseTreeNode.

T* get (  )  [inline, inherited]

Returns a pointer to the SparseTreeNode.


Member Data Documentation

SparseTreeNode* node_ [protected, inherited]


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 11:39:06 2007 for libpmk2 by  doxygen 1.5.1