\hypertarget{a00391}{
\section{mln::util::branch\_\-iter\_\-ind$<$ T $>$ Class Template Reference}
\label{db/d95/a00391}\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}}
}


Basic 2D image class.  




{\ttfamily \#include $<$branch\_\-iter\_\-ind.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \hyperlink{a00391_a634b418d7c7226bf3201e99e22668b7c}{deepness} () const 
\begin{DoxyCompactList}\small\item\em Give how deep is the iterator in the branch. \item\end{DoxyCompactList}\item 
void \hyperlink{a00391_a1f529ebd6e931f5c9c50a7c8a890b3cc}{invalidate} ()
\begin{DoxyCompactList}\small\item\em Invalidate the iterator. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00391_ac1a33f66d10e772f2ec269d6fc51ff51}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test the iterator validity. \item\end{DoxyCompactList}\item 
void \hyperlink{a00391_a2b9dd454c4af86d66ddda407ffbde20a}{next} ()
\begin{DoxyCompactList}\small\item\em Go to the next point. \item\end{DoxyCompactList}\item 
\hyperlink{a00391_a37e46c99554ea9b9446bdc8d0d485e63}{operator util::tree\_\-node$<$ T $>$ \&} () const 
\begin{DoxyCompactList}\small\item\em Conversion to node. \item\end{DoxyCompactList}\item 
void \hyperlink{a00391_ada0b78055f31d7c874cd3e09332596e5}{start} ()
\begin{DoxyCompactList}\small\item\em Start an iteration. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$ class mln::util::branch\_\-iter\_\-ind$<$ T $>$}

Basic 2D image class. The parameter {\ttfamily T} is the type of node's data. \hyperlink{a00391}{branch\_\-iter\_\-ind} is used to pre-\/order walk a branch. 

Definition at line 66 of file branch\_\-iter\_\-ind.hh.



\subsection{Member Function Documentation}
\hypertarget{a00391_a634b418d7c7226bf3201e99e22668b7c}{
\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}!deepness@{deepness}}
\index{deepness@{deepness}!mln::util::branch_iter_ind@{mln::util::branch\_\-iter\_\-ind}}
\subsubsection[{deepness}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ unsigned {\bf mln::util::branch\_\-iter\_\-ind}$<$ T $>$::deepness (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d95/a00391_a634b418d7c7226bf3201e99e22668b7c}


Give how deep is the iterator in the branch. 



Definition at line 131 of file branch\_\-iter\_\-ind.hh.



References mln::util::branch\_\-iter\_\-ind$<$ T $>$::is\_\-valid(), and mln::util::tree\_\-node$<$ T $>$::parent().

\hypertarget{a00391_a1f529ebd6e931f5c9c50a7c8a890b3cc}{
\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}!invalidate@{invalidate}}
\index{invalidate@{invalidate}!mln::util::branch_iter_ind@{mln::util::branch\_\-iter\_\-ind}}
\subsubsection[{invalidate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void {\bf mln::util::branch\_\-iter\_\-ind}$<$ T $>$::invalidate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d95/a00391_a1f529ebd6e931f5c9c50a7c8a890b3cc}


Invalidate the iterator. 



Definition at line 155 of file branch\_\-iter\_\-ind.hh.



Referenced by mln::util::branch\_\-iter\_\-ind$<$ T $>$::next().

\hypertarget{a00391_ac1a33f66d10e772f2ec269d6fc51ff51}{
\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::util::branch_iter_ind@{mln::util::branch\_\-iter\_\-ind}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ bool {\bf mln::util::branch\_\-iter\_\-ind}$<$ T $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d95/a00391_ac1a33f66d10e772f2ec269d6fc51ff51}


Test the iterator validity. 



Definition at line 147 of file branch\_\-iter\_\-ind.hh.



Referenced by mln::util::branch\_\-iter\_\-ind$<$ T $>$::deepness().

\hypertarget{a00391_a2b9dd454c4af86d66ddda407ffbde20a}{
\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}!next@{next}}
\index{next@{next}!mln::util::branch_iter_ind@{mln::util::branch\_\-iter\_\-ind}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void {\bf mln::util::branch\_\-iter\_\-ind}$<$ T $>$::next (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d95/a00391_a2b9dd454c4af86d66ddda407ffbde20a}


Go to the next point. 



Definition at line 174 of file branch\_\-iter\_\-ind.hh.



References mln::util::branch\_\-iter\_\-ind$<$ T $>$::invalidate().

\hypertarget{a00391_a37e46c99554ea9b9446bdc8d0d485e63}{
\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}!operator util::tree\_\-node$<$ T $>$ \&@{operator util::tree\_\-node$<$ T $>$ \&}}
\index{operator util::tree\_\-node$<$ T $>$ \&@{operator util::tree\_\-node$<$ T $>$ \&}!mln::util::branch_iter_ind@{mln::util::branch\_\-iter\_\-ind}}
\subsubsection[{operator util::tree\_\-node$<$ T $>$ \&}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf mln::util::branch\_\-iter\_\-ind}$<$ T $>$::operator {\bf util::tree\_\-node}$<$ T $>$ \& (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d95/a00391_a37e46c99554ea9b9446bdc8d0d485e63}


Conversion to node. 



Definition at line 113 of file branch\_\-iter\_\-ind.hh.

\hypertarget{a00391_ada0b78055f31d7c874cd3e09332596e5}{
\index{mln::util::branch\_\-iter\_\-ind@{mln::util::branch\_\-iter\_\-ind}!start@{start}}
\index{start@{start}!mln::util::branch_iter_ind@{mln::util::branch\_\-iter\_\-ind}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void {\bf mln::util::branch\_\-iter\_\-ind}$<$ T $>$::start (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d95/a00391_ada0b78055f31d7c874cd3e09332596e5}


Start an iteration. 



Definition at line 164 of file branch\_\-iter\_\-ind.hh.

