\hypertarget{a00422}{
\section{mln::value::graylevel\_\-f Struct Reference}
\label{db/d43/a00422}\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}}
}


General gray-\/level class on n bits.  




{\ttfamily \#include $<$graylevel\_\-f.hh$>$}



Inherits mln::value::Floating$<$ graylevel\_\-f $>$, and mln::value::internal::value\_\-like\_\-$<$ float01\_\-f,float01\_\-f::enc, internal::gray\_\-f,graylevel\_\-f $>$.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00422_a179d0fecc46136ea53cdecc2b6f1e568}{graylevel\_\-f} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\item 
\hyperlink{a00422_ac6cc0c619b8156c62419b70e22984b34}{graylevel\_\-f} (const \hyperlink{a00422}{graylevel\_\-f} \&rhs)
\begin{DoxyCompactList}\small\item\em Copy constructor. \item\end{DoxyCompactList}\item 
\hyperlink{a00422_a17ea1adfc16e9523a9cab0b84f1fa2cf}{graylevel\_\-f} (float val)
\begin{DoxyCompactList}\small\item\em Constructor from float. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned n$>$ }\\\hyperlink{a00422_a5c399fce4795aeca27465deaecd4bca5}{graylevel\_\-f} (const \hyperlink{a00421}{graylevel}$<$ n $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Constructor from graylevel. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned n$>$ }\\\hyperlink{a00422_aeae3f4d764f1ad4c5473c35398033289}{operator graylevel$<$ n $>$} () const 
\begin{DoxyCompactList}\small\item\em Conversion to graylevel$<$n$>$. \item\end{DoxyCompactList}\item 
\hyperlink{a00422}{graylevel\_\-f} \& \hyperlink{a00422_a8da84f0dbc6fc069274141b21111c28c}{operator=} (float val)
\begin{DoxyCompactList}\small\item\em Assigment with float. \item\end{DoxyCompactList}\item 
\hyperlink{a00422}{graylevel\_\-f} \& \hyperlink{a00422_ab35384c72b2df010c41129fd38815169}{operator=} (const \hyperlink{a00422}{graylevel\_\-f} \&rhs)
\begin{DoxyCompactList}\small\item\em Assigment. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned n$>$ }\\\hyperlink{a00422}{graylevel\_\-f} \& \hyperlink{a00422_a7eaa0177d3fc8e13ec50bd2563daa4bc}{operator=} (const \hyperlink{a00421}{graylevel}$<$ n $>$ \&rhs)
\begin{DoxyCompactList}\small\item\em Assigment with graylevel. \item\end{DoxyCompactList}\item 
float \hyperlink{a00422_a2496f5633c3fca5d463bf13671bae87c}{value} () const 
\begin{DoxyCompactList}\small\item\em Access to std type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00422_a88fee1141a16747bdbe646b7dd2a2eb9}{graylevel\_\-f} (const \hyperlink{a00258}{mln::literal::black\_\-t} \&)
\begin{DoxyCompactList}\small\item\em Ctors with literals. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
\hyperlink{a00422}{graylevel\_\-f} \& \hyperlink{a00422_ae512f87dc91a8be691f1c3f616b025c8}{operator=} (const \hyperlink{a00258}{mln::literal::black\_\-t} \&)
\begin{DoxyCompactList}\small\item\em Assigment with literals. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
General gray-\/level class on n bits. 

Definition at line 193 of file graylevel\_\-f.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00422_a179d0fecc46136ea53cdecc2b6f1e568}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!graylevel\_\-f@{graylevel\_\-f}}
\index{graylevel\_\-f@{graylevel\_\-f}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{graylevel\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::graylevel\_\-f::graylevel\_\-f (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_a179d0fecc46136ea53cdecc2b6f1e568}


Constructor without argument. 



Definition at line 341 of file graylevel\_\-f.hh.

\hypertarget{a00422_ac6cc0c619b8156c62419b70e22984b34}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!graylevel\_\-f@{graylevel\_\-f}}
\index{graylevel\_\-f@{graylevel\_\-f}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{graylevel\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::graylevel\_\-f::graylevel\_\-f (
\begin{DoxyParamCaption}
\item[{const {\bf graylevel\_\-f} \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_ac6cc0c619b8156c62419b70e22984b34}


Copy constructor. 



Definition at line 383 of file graylevel\_\-f.hh.

\hypertarget{a00422_a17ea1adfc16e9523a9cab0b84f1fa2cf}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!graylevel\_\-f@{graylevel\_\-f}}
\index{graylevel\_\-f@{graylevel\_\-f}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{graylevel\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::graylevel\_\-f::graylevel\_\-f (
\begin{DoxyParamCaption}
\item[{float}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_a17ea1adfc16e9523a9cab0b84f1fa2cf}


Constructor from float. 



Definition at line 347 of file graylevel\_\-f.hh.

\hypertarget{a00422_a5c399fce4795aeca27465deaecd4bca5}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!graylevel\_\-f@{graylevel\_\-f}}
\index{graylevel\_\-f@{graylevel\_\-f}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{graylevel\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n$>$ mln::value::graylevel\_\-f::graylevel\_\-f (
\begin{DoxyParamCaption}
\item[{const {\bf graylevel}$<$ n $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)}}
\label{db/d43/a00422_a5c399fce4795aeca27465deaecd4bca5}


Constructor from graylevel. 



Definition at line 365 of file graylevel\_\-f.hh.



References mln::value::graylevel$<$ n $>$::to\_\-float().

\hypertarget{a00422_a88fee1141a16747bdbe646b7dd2a2eb9}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!graylevel\_\-f@{graylevel\_\-f}}
\index{graylevel\_\-f@{graylevel\_\-f}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{graylevel\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}mln::value::graylevel\_\-f::graylevel\_\-f (
\begin{DoxyParamCaption}
\item[{const {\bf mln::literal::black\_\-t} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_a88fee1141a16747bdbe646b7dd2a2eb9}


Ctors with literals. 



Definition at line 400 of file graylevel\_\-f.hh.



\subsection{Member Function Documentation}
\hypertarget{a00422_aeae3f4d764f1ad4c5473c35398033289}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!operator graylevel$<$ n $>$@{operator graylevel$<$ n $>$}}
\index{operator graylevel$<$ n $>$@{operator graylevel$<$ n $>$}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{operator graylevel$<$ n $>$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n$>$ mln::value::graylevel\_\-f::operator {\bf graylevel}$<$ n $>$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_aeae3f4d764f1ad4c5473c35398033289}


Conversion to graylevel$<$n$>$. 



Definition at line 443 of file graylevel\_\-f.hh.

\hypertarget{a00422_a8da84f0dbc6fc069274141b21111c28c}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!operator=@{operator=}}
\index{operator=@{operator=}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf graylevel\_\-f} \& mln::value::graylevel\_\-f::operator= (
\begin{DoxyParamCaption}
\item[{float}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_a8da84f0dbc6fc069274141b21111c28c}


Assigment with float. 



Definition at line 356 of file graylevel\_\-f.hh.

\hypertarget{a00422_a7eaa0177d3fc8e13ec50bd2563daa4bc}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!operator=@{operator=}}
\index{operator=@{operator=}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n$>$ {\bf graylevel\_\-f} \& mln::value::graylevel\_\-f::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf graylevel}$<$ n $>$ \&}]{ rhs}
\end{DoxyParamCaption}
)}}
\label{db/d43/a00422_a7eaa0177d3fc8e13ec50bd2563daa4bc}


Assigment with graylevel. 



Definition at line 374 of file graylevel\_\-f.hh.



References mln::value::graylevel$<$ n $>$::to\_\-float().

\hypertarget{a00422_ae512f87dc91a8be691f1c3f616b025c8}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!operator=@{operator=}}
\index{operator=@{operator=}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf graylevel\_\-f} \& mln::value::graylevel\_\-f::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf mln::literal::black\_\-t} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_ae512f87dc91a8be691f1c3f616b025c8}


Assigment with literals. 



Definition at line 407 of file graylevel\_\-f.hh.

\hypertarget{a00422_ab35384c72b2df010c41129fd38815169}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!operator=@{operator=}}
\index{operator=@{operator=}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf graylevel\_\-f} \& mln::value::graylevel\_\-f::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf graylevel\_\-f} \&}]{ rhs}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_ab35384c72b2df010c41129fd38815169}


Assigment. 



Definition at line 391 of file graylevel\_\-f.hh.

\hypertarget{a00422_a2496f5633c3fca5d463bf13671bae87c}{
\index{mln::value::graylevel\_\-f@{mln::value::graylevel\_\-f}!value@{value}}
\index{value@{value}!mln::value::graylevel_f@{mln::value::graylevel\_\-f}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}float mln::value::graylevel\_\-f::value (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d43/a00422_a2496f5633c3fca5d463bf13671bae87c}


Access to std type. 



Definition at line 450 of file graylevel\_\-f.hh.



Referenced by mln::value::operator$<$$<$().

