$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::util::branch< T > Class Template Reference

#include <mln/util/tree.hh>

Public Member Functions

 branch (tree< T > &tree, tree_node< T > &apex)
tree_node< T > & apex ()
tree< T > & util_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 ( tree< T > &  tree,
tree_node< T > &  apex 
)

Constructor.

Parameters
[in]treeThe tree of the branch.
[in]apexThe apex of the branch.

Member Function Documentation

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

The getter of the appex.

Returns
The tree_node appex of the current branch.
template<typename T>
tree<T>& mln::util::branch< T >::util_tree ( )

The getter of the tree.

Returns
The tree of the current branch.