\hypertarget{a00428}{
\section{mln::value::lut\_\-vec$<$ S, T $>$ Struct Template Reference}
\label{d4/dd3/a00428}\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}}
}


Class that defines FIXME.  




{\ttfamily \#include $<$lut\_\-vec.hh$>$}



Inheritance diagram for mln::value::lut\_\-vec$<$ S, T $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=382pt]{d8/de8/a04041}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef bkd\_\-viter\_\-$<$ \hyperlink{a00428}{lut\_\-vec}$<$ S, T $>$ $>$ \hyperlink{a00428_aea21e62c6dcb47d9686438705caafd90}{bkd\_\-viter}
\begin{DoxyCompactList}\small\item\em Backward \hyperlink{a00437}{Value\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef fwd\_\-viter\_\-$<$ \hyperlink{a00428}{lut\_\-vec}$<$ S, T $>$ $>$ \hyperlink{a00428_accc36d2bef89f1ce0ac49fa0c908112d}{fwd\_\-viter}
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{a00437}{Value\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef T \hyperlink{a00428_a4734865e39ee15d635b2cd7c32f72637}{value}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00418}{Value} associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00428_acbf8e57137d32fc23add5e06f2c609f4}{has} (const \hyperlink{a00428_a4734865e39ee15d635b2cd7c32f72637}{value} \&v) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily v} belongs to this set. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00428_ac4a8c76b0e6430d8da71b1c0b9e7afe2}{index\_\-of} (const \hyperlink{a00428_a4734865e39ee15d635b2cd7c32f72637}{value} \&v) const 
\begin{DoxyCompactList}\small\item\em Give the index of value {\ttfamily v} in this set. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00428_a1b0c1cde535d0dc83cac49a45994c568}{nvalues} () const 
\begin{DoxyCompactList}\small\item\em Give the number of values. \item\end{DoxyCompactList}\item 
T \hyperlink{a00428_a8cd6afc6eedc5cb52536ec56fe2f60bd}{operator\mbox{[}$\,$\mbox{]}} (unsigned i) const 
\begin{DoxyCompactList}\small\item\em Give the {\ttfamily i-\/th} value. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename F $>$ }\\\hyperlink{a00428_a92af3afbd87f87b62c37ef7fc0116a4d}{lut\_\-vec} (const S \&vset, const \hyperlink{a00034}{Function\_\-v2v}$<$ F $>$ \&f)
\begin{DoxyCompactList}\small\item\em Constructors

Constructor from a value set and any \hyperlink{a00034}{Function\_\-v2v}. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V $>$ }\\\hyperlink{a00428_a4f7256fc7827f65b3e24a7826bf317b1}{lut\_\-vec} (const S \&vset, const \hyperlink{a00034}{Function\_\-v2v}$<$ fun::i2v::array$<$ V $>$ $>$ \&f)
\begin{DoxyCompactList}\small\item\em Constructor from a value set and any fun::i2v::array. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename V $>$ }\\\hyperlink{a00428_a04a7ca532ac1f083089788aceafbd695}{lut\_\-vec} (const S \&vset, const \hyperlink{a00034}{Function\_\-v2v}$<$ \hyperlink{a00027}{util::array}$<$ V $>$ $>$ \&f)
\begin{DoxyCompactList}\small\item\em Constructor from a value set and any \hyperlink{a00027}{util::array}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$typename S, typename T$>$ struct mln::value::lut\_\-vec$<$ S, T $>$}

Class that defines FIXME. \begin{DoxyWarning}{Warning}
This is a multi-\/set!!! FIXME 
\end{DoxyWarning}


Definition at line 71 of file lut\_\-vec.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00428_aea21e62c6dcb47d9686438705caafd90}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!bkd\_\-viter@{bkd\_\-viter}}
\index{bkd\_\-viter@{bkd\_\-viter}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{bkd\_\-viter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ typedef bkd\_\-viter\_\-$<$ {\bf lut\_\-vec}$<$S,T$>$ $>$ {\bf mln::value::lut\_\-vec}$<$ S, T $>$::{\bf bkd\_\-viter}}}
\label{d4/dd3/a00428_aea21e62c6dcb47d9686438705caafd90}


Backward \hyperlink{a00437}{Value\_\-Iterator} associated type. 



Definition at line 80 of file lut\_\-vec.hh.

\hypertarget{a00428_accc36d2bef89f1ce0ac49fa0c908112d}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!fwd\_\-viter@{fwd\_\-viter}}
\index{fwd\_\-viter@{fwd\_\-viter}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{fwd\_\-viter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ typedef fwd\_\-viter\_\-$<$ {\bf lut\_\-vec}$<$S,T$>$ $>$ {\bf mln::value::lut\_\-vec}$<$ S, T $>$::{\bf fwd\_\-viter}}}
\label{d4/dd3/a00428_accc36d2bef89f1ce0ac49fa0c908112d}


Forward \hyperlink{a00437}{Value\_\-Iterator} associated type. 



Definition at line 77 of file lut\_\-vec.hh.

\hypertarget{a00428_a4734865e39ee15d635b2cd7c32f72637}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!value@{value}}
\index{value@{value}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ typedef T {\bf mln::value::lut\_\-vec}$<$ S, T $>$::{\bf value}}}
\label{d4/dd3/a00428_a4734865e39ee15d635b2cd7c32f72637}


\hyperlink{a00418}{Value} associated type. 



Definition at line 74 of file lut\_\-vec.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00428_a92af3afbd87f87b62c37ef7fc0116a4d}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!lut\_\-vec@{lut\_\-vec}}
\index{lut\_\-vec@{lut\_\-vec}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{lut\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ template$<$typename F $>$ {\bf mln::value::lut\_\-vec}$<$ S, T $>$::{\bf lut\_\-vec} (
\begin{DoxyParamCaption}
\item[{const S \&}]{ vset, }
\item[{const {\bf Function\_\-v2v}$<$ F $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/dd3/a00428_a92af3afbd87f87b62c37ef7fc0116a4d}


Constructors

Constructor from a value set and any \hyperlink{a00034}{Function\_\-v2v}. 



Definition at line 148 of file lut\_\-vec.hh.

\hypertarget{a00428_a4f7256fc7827f65b3e24a7826bf317b1}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!lut\_\-vec@{lut\_\-vec}}
\index{lut\_\-vec@{lut\_\-vec}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{lut\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ template$<$typename V $>$ {\bf mln::value::lut\_\-vec}$<$ S, T $>$::{\bf lut\_\-vec} (
\begin{DoxyParamCaption}
\item[{const S \&}]{ vset, }
\item[{const {\bf Function\_\-v2v}$<$ fun::i2v::array$<$ V $>$ $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/dd3/a00428_a4f7256fc7827f65b3e24a7826bf317b1}


Constructor from a value set and any fun::i2v::array. 



Definition at line 161 of file lut\_\-vec.hh.

\hypertarget{a00428_a04a7ca532ac1f083089788aceafbd695}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!lut\_\-vec@{lut\_\-vec}}
\index{lut\_\-vec@{lut\_\-vec}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{lut\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ template$<$typename V $>$ {\bf mln::value::lut\_\-vec}$<$ S, T $>$::{\bf lut\_\-vec} (
\begin{DoxyParamCaption}
\item[{const S \&}]{ vset, }
\item[{const {\bf Function\_\-v2v}$<$ {\bf util::array}$<$ V $>$ $>$ \&}]{ f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/dd3/a00428_a04a7ca532ac1f083089788aceafbd695}


Constructor from a value set and any \hyperlink{a00027}{util::array}. 



Definition at line 172 of file lut\_\-vec.hh.



References mln::util::array$<$ T $>$::size(), and mln::util::array$<$ T $>$::std\_\-vector().



\subsection{Member Function Documentation}
\hypertarget{a00428_acbf8e57137d32fc23add5e06f2c609f4}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!has@{has}}
\index{has@{has}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ bool {\bf mln::value::lut\_\-vec}$<$ S, T $>$::has (
\begin{DoxyParamCaption}
\item[{const {\bf value} \&}]{ v}
\end{DoxyParamCaption}
) const}}
\label{d4/dd3/a00428_acbf8e57137d32fc23add5e06f2c609f4}


Test if {\ttfamily v} belongs to this set. 

\hypertarget{a00428_ac4a8c76b0e6430d8da71b1c0b9e7afe2}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!index\_\-of@{index\_\-of}}
\index{index\_\-of@{index\_\-of}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{index\_\-of}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ unsigned {\bf mln::value::lut\_\-vec}$<$ S, T $>$::index\_\-of (
\begin{DoxyParamCaption}
\item[{const {\bf value} \&}]{ v}
\end{DoxyParamCaption}
) const}}
\label{d4/dd3/a00428_ac4a8c76b0e6430d8da71b1c0b9e7afe2}


Give the index of value {\ttfamily v} in this set. 

\hypertarget{a00428_a1b0c1cde535d0dc83cac49a45994c568}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!nvalues@{nvalues}}
\index{nvalues@{nvalues}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{nvalues}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ unsigned {\bf mln::value::lut\_\-vec}$<$ S, T $>$::nvalues (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/dd3/a00428_a1b0c1cde535d0dc83cac49a45994c568}


Give the number of values. 



Definition at line 202 of file lut\_\-vec.hh.



Referenced by mln::value::lut\_\-vec$<$ S, T $>$::operator\mbox{[}$\,$\mbox{]}().

\hypertarget{a00428_a8cd6afc6eedc5cb52536ec56fe2f60bd}{
\index{mln::value::lut\_\-vec@{mln::value::lut\_\-vec}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!mln::value::lut_vec@{mln::value::lut\_\-vec}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S , typename T $>$ T {\bf mln::value::lut\_\-vec}$<$ S, T $>$::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{unsigned}]{ i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/dd3/a00428_a8cd6afc6eedc5cb52536ec56fe2f60bd}


Give the {\ttfamily i-\/th} value. 



Definition at line 193 of file lut\_\-vec.hh.



References mln::value::lut\_\-vec$<$ S, T $>$::nvalues().

