Public Member Functions | Private Attributes

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.

Private Attributes

tree_node< T > & apex_
 The tree_node apex of this branch.
util::tree< T > & tree_
 The tree of this branch.

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.

References mln::util::branch< T >::apex_.

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.

References mln::util::branch< T >::tree_.


Member Data Documentation

template<typename T>
tree_node<T>& mln::util::branch< T >::apex_ [private]

The tree_node apex of this branch.

Definition at line 277 of file tree.hh.

Referenced by mln::util::branch< T >::apex().

template<typename T>
util::tree<T>& mln::util::branch< T >::tree_ [private]

The tree of this branch.

Definition at line 274 of file tree.hh.

Referenced by mln::util::branch< T >::util_tree().