#include <tree.hpp>
Public Member Functions | |
const TreeNode< T > * | croot () const |
Constant pointer to the root of the tree. More... | |
template<typename Vect > | |
const TreeNode< T > * | find (const Vect &concatenated_values, bool partial_allowed=false) |
TreeNode< T > * | root () |
Mutable pointer to the root of the tree. More... | |
Tree () | |
template<class Functor > | |
void | visit (Functor &func, const TreeNode< T > *node) const |
Private Member Functions | |
void | print_impl (std::ostream &os, const TreeNode< T > *node, int indent) const |
Private Attributes | |
std::unique_ptr< TreeNode< T > > | _root |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Tree &_this) |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
friend |
|
private |