\hypertarget{a00190}{
\section{mln::flat\_\-image$<$ T, S $>$ Struct Template Reference}
\label{d7/d6e/a00190}\index{mln::flat\_\-image@{mln::flat\_\-image}}
}


\hyperlink{a00044}{Image} with a single value.  




{\ttfamily \#include $<$flat\_\-image.hh$>$}



Inherits image\_\-primary$<$ T, S, flat\_\-image$<$ T, S $>$ $>$.

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef T \& \hyperlink{a00190_affe623713a031e46e01d02a72f7e3d0f}{lvalue}
\begin{DoxyCompactList}\small\item\em Return type of read-\/write access. \item\end{DoxyCompactList}\item 
typedef const T \& \hyperlink{a00190_a2d0fcb500bb8eb6e9fa8d8e24c8cb898}{rvalue}
\begin{DoxyCompactList}\small\item\em Return type of read-\/only access. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00190}{flat\_\-image}$<$ tag::value\_\-$<$ T $>$, tag::domain\_\-$<$ S $>$ $>$ \hyperlink{a00190_a895e0dd99479b3b144f15753fef9f6a1}{skeleton}
\begin{DoxyCompactList}\small\item\em Skeleton. \item\end{DoxyCompactList}\item 
typedef T \hyperlink{a00190_a7ad7a82f924c2275edadcaecb766dd85}{value}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00418}{Value} associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const S \& \hyperlink{a00190_aa72040839fea13fcef09dcb91eab1190}{domain} () const 
\begin{DoxyCompactList}\small\item\em Give the definition domain. \item\end{DoxyCompactList}\item 
\hyperlink{a00190_ab98b33f794dc7d4b76dec5333108c5be}{flat\_\-image} (const T \&val, const S \&pset)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{a00190_a938907253790687f165d0519f0c58070}{flat\_\-image} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00190_a411822310afa3c1849ce2f0de4622156}{has} (const typename S::psite \&p) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily p} is valid: always return true. \item\end{DoxyCompactList}\item 
const T \& \hyperlink{a00190_a9bfc86f6f65f89fcb026e7f8c40000bd}{operator()} (const typename S::psite \&p) const 
\begin{DoxyCompactList}\small\item\em Read-\/only access to the image value located at point {\ttfamily p}. \item\end{DoxyCompactList}\item 
T \& \hyperlink{a00190_a4819639805dba83032dbd652a93f3be1}{operator()} (const typename S::psite \&p)
\begin{DoxyCompactList}\small\item\em Read-\/write access to the image value located at point {\ttfamily p}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


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

\hyperlink{a00044}{Image} with a single value. 

Definition at line 105 of file flat\_\-image.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00190_affe623713a031e46e01d02a72f7e3d0f}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!lvalue@{lvalue}}
\index{lvalue@{lvalue}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{lvalue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T, typename S$>$ typedef T\& {\bf mln::flat\_\-image}$<$ T, S $>$::{\bf lvalue}}}
\label{d7/d6e/a00190_affe623713a031e46e01d02a72f7e3d0f}


Return type of read-\/write access. 



Definition at line 118 of file flat\_\-image.hh.

\hypertarget{a00190_a2d0fcb500bb8eb6e9fa8d8e24c8cb898}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!rvalue@{rvalue}}
\index{rvalue@{rvalue}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{rvalue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T, typename S$>$ typedef const T\& {\bf mln::flat\_\-image}$<$ T, S $>$::{\bf rvalue}}}
\label{d7/d6e/a00190_a2d0fcb500bb8eb6e9fa8d8e24c8cb898}


Return type of read-\/only access. 



Definition at line 115 of file flat\_\-image.hh.

\hypertarget{a00190_a895e0dd99479b3b144f15753fef9f6a1}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!skeleton@{skeleton}}
\index{skeleton@{skeleton}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{skeleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T, typename S$>$ typedef {\bf flat\_\-image}$<$ tag::value\_\-$<$T$>$, tag::domain\_\-$<$S$>$ $>$ {\bf mln::flat\_\-image}$<$ T, S $>$::{\bf skeleton}}}
\label{d7/d6e/a00190_a895e0dd99479b3b144f15753fef9f6a1}


Skeleton. 



Definition at line 108 of file flat\_\-image.hh.

\hypertarget{a00190_a7ad7a82f924c2275edadcaecb766dd85}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!value@{value}}
\index{value@{value}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T, typename S$>$ typedef T {\bf mln::flat\_\-image}$<$ T, S $>$::{\bf value}}}
\label{d7/d6e/a00190_a7ad7a82f924c2275edadcaecb766dd85}


\hyperlink{a00418}{Value} associated type. 



Definition at line 112 of file flat\_\-image.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00190_a938907253790687f165d0519f0c58070}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!flat\_\-image@{flat\_\-image}}
\index{flat\_\-image@{flat\_\-image}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{flat\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename S $>$ {\bf mln::flat\_\-image}$<$ T, S $>$::{\bf flat\_\-image} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/d6e/a00190_a938907253790687f165d0519f0c58070}


Constructor without argument. 



Definition at line 191 of file flat\_\-image.hh.

\hypertarget{a00190_ab98b33f794dc7d4b76dec5333108c5be}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!flat\_\-image@{flat\_\-image}}
\index{flat\_\-image@{flat\_\-image}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{flat\_\-image}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename S $>$ {\bf mln::flat\_\-image}$<$ T, S $>$::{\bf flat\_\-image} (
\begin{DoxyParamCaption}
\item[{const T \&}]{ val, }
\item[{const S \&}]{ pset}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/d6e/a00190_ab98b33f794dc7d4b76dec5333108c5be}


Constructor. 



Definition at line 197 of file flat\_\-image.hh.



\subsection{Member Function Documentation}
\hypertarget{a00190_aa72040839fea13fcef09dcb91eab1190}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!domain@{domain}}
\index{domain@{domain}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{domain}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename S $>$ const S \& {\bf mln::flat\_\-image}$<$ T, S $>$::domain (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/d6e/a00190_aa72040839fea13fcef09dcb91eab1190}


Give the definition domain. 



Definition at line 214 of file flat\_\-image.hh.

\hypertarget{a00190_a411822310afa3c1849ce2f0de4622156}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!has@{has}}
\index{has@{has}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename S $>$ bool {\bf mln::flat\_\-image}$<$ T, S $>$::has (
\begin{DoxyParamCaption}
\item[{const typename S::psite \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/d6e/a00190_a411822310afa3c1849ce2f0de4622156}


Test if {\ttfamily p} is valid: always return true. 



Definition at line 222 of file flat\_\-image.hh.

\hypertarget{a00190_a9bfc86f6f65f89fcb026e7f8c40000bd}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!operator()@{operator()}}
\index{operator()@{operator()}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename S $>$ const T \& {\bf mln::flat\_\-image}$<$ T, S $>$::operator() (
\begin{DoxyParamCaption}
\item[{const typename S::psite \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/d6e/a00190_a9bfc86f6f65f89fcb026e7f8c40000bd}


Read-\/only access to the image value located at point {\ttfamily p}. 



Definition at line 230 of file flat\_\-image.hh.

\hypertarget{a00190_a4819639805dba83032dbd652a93f3be1}{
\index{mln::flat\_\-image@{mln::flat\_\-image}!operator()@{operator()}}
\index{operator()@{operator()}!mln::flat_image@{mln::flat\_\-image}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T , typename S $>$ T \& {\bf mln::flat\_\-image}$<$ T, S $>$::operator() (
\begin{DoxyParamCaption}
\item[{const typename S::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/d6e/a00190_a4819639805dba83032dbd652a93f3be1}


Read-\/write access to the image value located at point {\ttfamily p}. 



Definition at line 239 of file flat\_\-image.hh.

