#include <tree.hh>
| Public Types | |
| typedef tree_node< T > | tree_node_t | 
| Public Member Functions | |
| void | add_tree_down (T &elt) | 
| Bind a new tree downer the current. | |
| void | add_tree_up (T &elt) | 
| Bind a new tree upper the current. | |
| bool | check_consistency () | 
| Check the consistency of the tree. | |
| branch< T > | main_branch () | 
| Convert the tree into brach. | |
| tree_node< T > * | root () | 
| The getter of the root. | |
| tree (tree_node< T > *root) | |
| Constructor. | |
| tree () | |
| Constructor. | |
| Private Attributes | |
| tree_node< T > * | root_ | 
| The root's tree_node. | |
Definition at line 187 of file tree.hh.
| typedef tree_node<T> mln::util::tree< T >::tree_node_t | 
| mln::util::tree< T >::tree | ( | ) |  [inline] | 
| mln::util::tree< T >::tree | ( | tree_node< T > * | root | ) |  [inline] | 
| void mln::util::tree< T >::add_tree_down | ( | T & | elt | ) |  [inline] | 
| void mln::util::tree< T >::add_tree_up | ( | T & | elt | ) |  [inline] | 
Bind a new tree upper the current.
Definition at line 317 of file tree.hh.
References mln::util::tree_node< T >::children(), and mln::util::tree< T >::root_.
| bool mln::util::tree< T >::check_consistency | ( | ) |  [inline] | 
Check the consistency of the tree.
Definition at line 338 of file tree.hh.
References mln::util::tree< T >::root().
| branch< T > mln::util::tree< T >::main_branch | ( | ) |  [inline] | 
| tree_node< T > * mln::util::tree< T >::root | ( | ) |  [inline] | 
The getter of the root.
Definition at line 301 of file tree.hh.
References mln::util::tree< T >::root_.
Referenced by mln::util::tree< T >::check_consistency(), mln::util::display_tree(), mln::util::tree< T >::main_branch(), mln::util::tree_to_fast(), and mln::util::tree_to_image().
| tree_node<T>* mln::util::tree< T >::root_  [private] | 
The root's tree_node.
Definition at line 241 of file tree.hh.
Referenced by mln::util::tree< T >::add_tree_down(), mln::util::tree< T >::add_tree_up(), and mln::util::tree< T >::root().
 1.5.6
 1.5.6