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

Basic 2D image class. More...

#include <branch_iter_ind.hh>

List of all members.

Public Member Functions

unsigned deepness () const
 Give how deep is the iterator in the branch.
void invalidate ()
 Invalidate the iterator.
bool is_valid () const
 Test the iterator validity.
void next ()
 Go to the next point.
 operator util::tree_node< T > & () const
 Conversion to node.
void start ()
 Start an iteration.


Detailed Description

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

Basic 2D image class.

The parameter T is the type of node's data. branch_iter_ind is used to pre-order walk a branch.


Member Function Documentation

template<typename T >
unsigned mln::util::branch_iter_ind< T >::deepness (  )  const [inline]

Give how deep is the iterator in the branch.

References mln::util::branch_iter_ind< T >::is_valid(), and mln::util::tree_node< T >::parent().

template<typename T >
void mln::util::branch_iter_ind< T >::invalidate (  )  [inline]

Invalidate the iterator.

Referenced by mln::util::branch_iter_ind< T >::next().

template<typename T >
bool mln::util::branch_iter_ind< T >::is_valid (  )  const [inline]

Test the iterator validity.

Referenced by mln::util::branch_iter_ind< T >::deepness().

template<typename T >
void mln::util::branch_iter_ind< T >::next (  )  [inline]

template<typename T >
mln::util::branch_iter_ind< T >::operator util::tree_node< T > & (  )  const [inline]

Conversion to node.

template<typename T >
void mln::util::branch_iter_ind< T >::start (  )  [inline]

Start an iteration.


Generated on Tue Jul 14 16:33:16 2009 for Milena (Olena) by  doxygen 1.5.9