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

prepost_visitor< _Node, _Ret, _Col > Class Template Reference
[Classes and types for external use]

pre+postorder visitor base class More...

#include <vgtl_visitor.h>

List of all members.

Public Methods

 prepost_visitor ()
virtual ~prepost_visitor ()
virtual void vinit ()
virtual return_value vvalue () VGTL_PURE_VIRTUAL virtual void vcollect(collect_value __r)
virtual bool preorder (const _Node &__n)
virtual bool postorder (const _Node &__n)
virtual void collect (const _Node &__n, collect_value __r)


Detailed Description

template<class _Node, class _Ret, class _Col = const _Ret&>
class prepost_visitor< _Node, _Ret, _Col >

This is the base class of all pre+postorder visitors. They can be used in all recursive walks.

Definition at line 120 of file vgtl_visitor.h.


Constructor & Destructor Documentation

template<class _Node, class _Ret, class _Col = const _Ret&>
prepost_visitor< _Node, _Ret, _Col >::prepost_visitor   [inline]
 

standard constructor

Definition at line 127 of file vgtl_visitor.h.

template<class _Node, class _Ret, class _Col = const _Ret&>
virtual prepost_visitor< _Node, _Ret, _Col >::~prepost_visitor   [inline, virtual]
 

standard destructor

Definition at line 129 of file vgtl_visitor.h.


Member Function Documentation

template<class _Node, class _Ret, class _Col = const _Ret&>
virtual void prepost_visitor< _Node, _Ret, _Col >::collect const _Node &    __n,
collect_value    __r
[inline, virtual]
 

virtual functions for ordinary nodes

Definition at line 142 of file vgtl_visitor.h.

template<class _Node, class _Ret, class _Col = const _Ret&>
virtual bool prepost_visitor< _Node, _Ret, _Col >::postorder const _Node &    __n [inline, virtual]
 

virtual functions for ordinary nodes

Definition at line 141 of file vgtl_visitor.h.

template<class _Node, class _Ret, class _Col = const _Ret&>
virtual bool prepost_visitor< _Node, _Ret, _Col >::preorder const _Node &    __n [inline, virtual]
 

virtual functions for ordinary nodes

Definition at line 140 of file vgtl_visitor.h.

template<class _Node, class _Ret, class _Col = const _Ret&>
virtual void prepost_visitor< _Node, _Ret, _Col >::vinit   [inline, virtual]
 

virtual functions for virtual nodes

Definition at line 133 of file vgtl_visitor.h.

template<class _Node, class _Ret, class _Col = const _Ret&>
virtual return_value prepost_visitor< _Node, _Ret, _Col >::vvalue   [inline, virtual]
 

virtual functions for virtual nodes

Definition at line 134 of file vgtl_visitor.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:41:48 2003 for Vienna Graph Template Library by doxygen1.2.18