\hypertarget{a00174}{
\section{mln::doc::Value\_\-Set$<$ E $>$ Struct Template Reference}
\label{d8/df1/a00174}\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}}
}


Documentation class for \hyperlink{a00438}{mln::Value\_\-Set}.  




{\ttfamily \#include $<$value\_\-set.hh$>$}



Inheritance diagram for mln::doc::Value\_\-Set$<$ E $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=220pt]{dd/dbc/a03800}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef void \hyperlink{a00174_ae3dafb63a0fa37224f341261058240c9}{bkd\_\-viter}
\begin{DoxyCompactList}\small\item\em Backward \hyperlink{a00173}{Value\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef void \hyperlink{a00174_ab370f05df8fa2336697acd1f7064a4ff}{fwd\_\-viter}
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{a00173}{Value\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef void \hyperlink{a00174_ab22637e14d5d3c2c45c319eaab9d0b83}{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{a00174_a1ca81835f031a69d9609cc3a81364fe4}{has} (const \hyperlink{a00174_ab22637e14d5d3c2c45c319eaab9d0b83}{value} \&v) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily v} belongs to this set of values. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00174_a30b29cd2b0ca6fad8c6a1a3d9e5ae950}{index\_\-of} (const \hyperlink{a00174_ab22637e14d5d3c2c45c319eaab9d0b83}{value} \&v) const 
\begin{DoxyCompactList}\small\item\em Give the index of value {\ttfamily v} in this set. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00174_abb5a7710eb978e139ce5cb3b8b1b1c07}{nvalues} () const 
\begin{DoxyCompactList}\small\item\em Give the number of values in this set. \item\end{DoxyCompactList}\item 
\hyperlink{a00174_ab22637e14d5d3c2c45c319eaab9d0b83}{value} \hyperlink{a00174_afaa7a3f64fd18cdeb119353a8584b386}{operator\mbox{[}$\,$\mbox{]}} (unsigned i) const 
\begin{DoxyCompactList}\small\item\em Give the {\ttfamily i-\/th} value of this set. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename E$>$ struct mln::doc::Value\_\-Set$<$ E $>$}

Documentation class for \hyperlink{a00438}{mln::Value\_\-Set}. \begin{DoxySeeAlso}{See also}
\hyperlink{a00438}{mln::Value\_\-Set} 
\end{DoxySeeAlso}


Definition at line 37 of file doc/value\_\-set.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00174_ae3dafb63a0fa37224f341261058240c9}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!bkd\_\-viter@{bkd\_\-viter}}
\index{bkd\_\-viter@{bkd\_\-viter}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{bkd\_\-viter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ typedef void {\bf mln::doc::Value\_\-Set}$<$ E $>$::{\bf bkd\_\-viter}}}
\label{d8/df1/a00174_ae3dafb63a0fa37224f341261058240c9}


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



Definition at line 49 of file doc/value\_\-set.hh.

\hypertarget{a00174_ab370f05df8fa2336697acd1f7064a4ff}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!fwd\_\-viter@{fwd\_\-viter}}
\index{fwd\_\-viter@{fwd\_\-viter}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{fwd\_\-viter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ typedef void {\bf mln::doc::Value\_\-Set}$<$ E $>$::{\bf fwd\_\-viter}}}
\label{d8/df1/a00174_ab370f05df8fa2336697acd1f7064a4ff}


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



Definition at line 45 of file doc/value\_\-set.hh.

\hypertarget{a00174_ab22637e14d5d3c2c45c319eaab9d0b83}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!value@{value}}
\index{value@{value}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ typedef void {\bf mln::doc::Value\_\-Set}$<$ E $>$::{\bf value}}}
\label{d8/df1/a00174_ab22637e14d5d3c2c45c319eaab9d0b83}


\hyperlink{a00418}{Value} associated type. 



Definition at line 41 of file doc/value\_\-set.hh.



\subsection{Member Function Documentation}
\hypertarget{a00174_a1ca81835f031a69d9609cc3a81364fe4}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!has@{has}}
\index{has@{has}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ bool {\bf mln::doc::Value\_\-Set}$<$ E $>$::has (
\begin{DoxyParamCaption}
\item[{const {\bf value} \&}]{ v}
\end{DoxyParamCaption}
) const}}
\label{d8/df1/a00174_a1ca81835f031a69d9609cc3a81364fe4}


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


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em v}]A value. \end{DoxyParams}
\begin{DoxyReturn}{Returns}
True if {\ttfamily v} is an element of the set of values. 
\end{DoxyReturn}
\hypertarget{a00174_a30b29cd2b0ca6fad8c6a1a3d9e5ae950}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!index\_\-of@{index\_\-of}}
\index{index\_\-of@{index\_\-of}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{index\_\-of}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ unsigned {\bf mln::doc::Value\_\-Set}$<$ E $>$::index\_\-of (
\begin{DoxyParamCaption}
\item[{const {\bf value} \&}]{ v}
\end{DoxyParamCaption}
) const}}
\label{d8/df1/a00174_a30b29cd2b0ca6fad8c6a1a3d9e5ae950}


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

\hypertarget{a00174_abb5a7710eb978e139ce5cb3b8b1b1c07}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!nvalues@{nvalues}}
\index{nvalues@{nvalues}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{nvalues}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ unsigned {\bf mln::doc::Value\_\-Set}$<$ E $>$::nvalues (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{d8/df1/a00174_abb5a7710eb978e139ce5cb3b8b1b1c07}


Give the number of values in this set. 

\hypertarget{a00174_afaa7a3f64fd18cdeb119353a8584b386}{
\index{mln::doc::Value\_\-Set@{mln::doc::Value\_\-Set}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!mln::doc::Value_Set@{mln::doc::Value\_\-Set}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename E $>$ {\bf value} {\bf mln::doc::Value\_\-Set}$<$ E $>$::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{unsigned}]{ i}
\end{DoxyParamCaption}
) const}}
\label{d8/df1/a00174_afaa7a3f64fd18cdeb119353a8584b386}


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

