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 Member Functions

 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 121 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 128 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 130 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 143 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 142 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 141 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 134 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 135 of file vgtl_visitor.h.


The documentation for this class was generated from the following file:

Generated on Tue Feb 9 14:42:51 2010 for Vienna Graph Template Library by  doxygen 1.5.8