Public Member Functions

mln::util::branch< T > Class Template Reference

Class of generic branch. More...

#include <tree.hh>

List of all members.

Public Member Functions

tree_node< T > & apex ()
 The getter of the appex.
 branch (tree< T > &tree, tree_node< T > &apex)
 Constructor.
tree< T > & util_tree ()
 The getter of the tree.

Detailed Description

template<typename T>
class mln::util::branch< T >

Class of generic branch.

Definition at line 249 of file tree.hh.


Constructor & Destructor Documentation

template<typename T >
mln::util::branch< T >::branch ( util::tree< T > &  tree,
util::tree_node< T > &  apex 
) [inline]

Constructor.

Parameters:
[in] tree The tree of the branch.
[in] apex The apex of the branch.

Definition at line 537 of file tree.hh.


Member Function Documentation

template<typename T >
util::tree_node< T > & mln::util::branch< T >::apex (  )  [inline]

The getter of the appex.

Returns:
The tree_node appex of the current branch.

Definition at line 548 of file tree.hh.

template<typename T >
mln::util::tree< T > & mln::util::branch< T >::util_tree (  )  [inline]

The getter of the tree.

Returns:
The tree of the current branch.

Definition at line 556 of file tree.hh.