\hypertarget{a00160}{
\section{mln::doc::Accumulator$<$ E $>$ Struct Template Reference}
\label{de/d38/a00160}\index{mln::doc::Accumulator@{mln::doc::Accumulator}}
}


Documentation class for \hyperlink{a00026}{mln::Accumulator}.  




{\ttfamily \#include $<$accumulator.hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef void \hyperlink{a00160_a121c9ef369959b69a53eddc90cef89f9}{argument}
\begin{DoxyCompactList}\small\item\em The argument type of elements to accumulate. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00160_a91d2a7fe3664fa9e6079bb3cbf7addd3}{init} ()
\begin{DoxyCompactList}\small\item\em Initialize the accumulator. \item\end{DoxyCompactList}\item 
void \hyperlink{a00160_a3df1090302e157288e4a1a8aac52db5a}{take} (const E \&other)
\begin{DoxyCompactList}\small\item\em Take into account another accumulator {\ttfamily other}. \item\end{DoxyCompactList}\item 
void \hyperlink{a00160_aeb82ecfb85de181ecee2bd87b820545d}{take} (const \hyperlink{a00160_a121c9ef369959b69a53eddc90cef89f9}{argument} \&t)
\begin{DoxyCompactList}\small\item\em Take into account a argument {\ttfamily t} (an element). \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename E$>$ struct mln::doc::Accumulator$<$ E $>$}

Documentation class for \hyperlink{a00026}{mln::Accumulator}. \begin{DoxySeeAlso}{See also}
\hyperlink{a00026}{mln::Accumulator} 
\end{DoxySeeAlso}


Definition at line 36 of file doc/accumulator.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00160_a121c9ef369959b69a53eddc90cef89f9}{
\index{mln::doc::Accumulator@{mln::doc::Accumulator}!argument@{argument}}
\index{argument@{argument}!mln::doc::Accumulator@{mln::doc::Accumulator}}
\subsubsection[{argument}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ typedef void {\bf mln::doc::Accumulator}$<$ E $>$::{\bf argument}}}
\label{de/d38/a00160_a121c9ef369959b69a53eddc90cef89f9}


The argument type of elements to accumulate. 



Definition at line 39 of file doc/accumulator.hh.



\subsection{Member Function Documentation}
\hypertarget{a00160_a91d2a7fe3664fa9e6079bb3cbf7addd3}{
\index{mln::doc::Accumulator@{mln::doc::Accumulator}!init@{init}}
\index{init@{init}!mln::doc::Accumulator@{mln::doc::Accumulator}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ void {\bf mln::doc::Accumulator}$<$ E $>$::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{de/d38/a00160_a91d2a7fe3664fa9e6079bb3cbf7addd3}


Initialize the accumulator. 

\hypertarget{a00160_a3df1090302e157288e4a1a8aac52db5a}{
\index{mln::doc::Accumulator@{mln::doc::Accumulator}!take@{take}}
\index{take@{take}!mln::doc::Accumulator@{mln::doc::Accumulator}}
\subsubsection[{take}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ void {\bf mln::doc::Accumulator}$<$ E $>$::take (
\begin{DoxyParamCaption}
\item[{const E \&}]{ other}
\end{DoxyParamCaption}
)}}
\label{de/d38/a00160_a3df1090302e157288e4a1a8aac52db5a}


Take into account another accumulator {\ttfamily other}. 

\hypertarget{a00160_aeb82ecfb85de181ecee2bd87b820545d}{
\index{mln::doc::Accumulator@{mln::doc::Accumulator}!take@{take}}
\index{take@{take}!mln::doc::Accumulator@{mln::doc::Accumulator}}
\subsubsection[{take}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ void {\bf mln::doc::Accumulator}$<$ E $>$::take (
\begin{DoxyParamCaption}
\item[{const {\bf argument} \&}]{ t}
\end{DoxyParamCaption}
)}}
\label{de/d38/a00160_aeb82ecfb85de181ecee2bd87b820545d}


Take into account a argument {\ttfamily t} (an element). 

