![]() |
|
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. | |
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.