Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

PreOrderNodeTraversal Class Template Reference
[NodeTraversal]

Produces a traversal in preorder. Visits node first and descends then recursively. More...

#include <nodetraversal.h>

Inheritance diagram for PreOrderNodeTraversal:

Inheritance graph
[legend]
Collaboration diagram for PreOrderNodeTraversal:

Collaboration graph
[legend]
List of all members.

Protected Methods

virtual void walk (_Node *)

Detailed Description

template<class _Node, class _Container = std::vector<_Node*>>
class treecomp::PreOrderNodeTraversal< _Node, _Container >

Produces a traversal in preorder. Visits node first and descends then recursively.

Author:
Eva Brucherseifer

Definition at line 96 of file nodetraversal.h.


Member Function Documentation

void walk _Node *    [protected, virtual]
 

Implements NodeTraversal.

Definition at line 178 of file nodetraversal.h.

References NodeTraversal::m_traversal.


The documentation for this class was generated from the following file:
Generated on Mon Jan 6 12:02:29 2003 for TreeComp by doxygen1.2.17