\hypertarget{a00390}{
\section{mln::util::branch\_\-iter$<$ T $>$ Class Template Reference}
\label{d9/d0a/a00390}\index{mln::util::branch\_\-iter@{mln::util::branch\_\-iter}}
}


Basic 2D image class.  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \hyperlink{a00390_abe90cd6dca8d3d93ff8ba786ce971ead}{deepness} () const 
\begin{DoxyCompactList}\small\item\em Give how deep is the iterator in the branch. \item\end{DoxyCompactList}\item 
void \hyperlink{a00390_ad9182f7469b35b631353553b9c2eb7cd}{invalidate} ()
\begin{DoxyCompactList}\small\item\em Invalidate the iterator. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00390_a6969aace55fa0de649a222394d6aaa31}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test the iterator validity. \item\end{DoxyCompactList}\item 
void \hyperlink{a00390_a7e0d37d87f21699e6da25710aa57112b}{next} ()
\begin{DoxyCompactList}\small\item\em Go to the next point. \item\end{DoxyCompactList}\item 
\hyperlink{a00390_a1c2bca3c9503299f105bdb6b6c714960}{operator util::tree\_\-node$<$ T $>$ \&} () const 
\begin{DoxyCompactList}\small\item\em Conversion to node. \item\end{DoxyCompactList}\item 
void \hyperlink{a00390_a1a14715dade325e7427dd31e02e71c05}{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$<$ T $>$}

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

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



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


Give how deep is the iterator in the branch. 



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



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

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


Invalidate the iterator. 



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



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

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


Test the iterator validity. 



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



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

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


Go to the next point. 



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



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

\hypertarget{a00390_a1c2bca3c9503299f105bdb6b6c714960}{
\index{mln::util::branch\_\-iter@{mln::util::branch\_\-iter}!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@{mln::util::branch\_\-iter}}
\subsubsection[{operator util::tree\_\-node$<$ T $>$ \&}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf mln::util::branch\_\-iter}$<$ T $>$::operator {\bf util::tree\_\-node}$<$ T $>$ \& (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d9/d0a/a00390_a1c2bca3c9503299f105bdb6b6c714960}


Conversion to node. 



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

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


Start an iteration. 



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

