Public Member Functions | List of all members
TreeVisitor< T > Class Template Reference

Default implementation of a tree visitor (concept) compatible TreeUtils::traverser() More...

#include <TreeUtils.h>

Public Member Functions

virtual int visitPrefix (T &tree, const typename T::path_t &path)
 Tasks to be executed before traversing child nodes.
 
virtual int visitPostfix (T &tree, const typename T::path_t &path)
 Tasks to be executed after traversing child nodes.
 

Detailed Description

template<class T>
class drain::TreeVisitor< T >

Default implementation of a tree visitor (concept) compatible TreeUtils::traverser()

Notice that the first argument (visitor) of TreeUtils::traverser() is templated, hence does not have to be derived from this class.


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