\hypertarget{a00188}{
\section{mln::extension\_\-val$<$ I $>$ Class Template Reference}
\label{da/d15/a00188}\index{mln::extension\_\-val@{mln::extension\_\-val}}
}


Extends the domain of an image with a value.  




{\ttfamily \#include $<$extension\_\-val.hh$>$}



Inherits image\_\-identity$<$ I, I::domain\_\-t, extension\_\-val$<$ I $>$ $>$.

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef I::value \hyperlink{a00188_afdbd06a91399063c1aa87fce1191e9c0}{rvalue}
\begin{DoxyCompactList}\small\item\em Return type of read-\/only access. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00188}{extension\_\-val}$<$ tag::image\_\-$<$ I $>$ $>$ \hyperlink{a00188_aa05ffb516d9d25fc721874668276d6d3}{skeleton}
\begin{DoxyCompactList}\small\item\em Skeleton. \item\end{DoxyCompactList}\item 
typedef I::value \hyperlink{a00188_a7b97a7be926d1d6a3adf79d73581d8f4}{value}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00044}{Image} value type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00188_abf83bc67df05137a0ca1cfc2e4baf712}{change\_\-extension} (const typename I::value \&val)
\begin{DoxyCompactList}\small\item\em Change the value of the extension domain. \item\end{DoxyCompactList}\item 
const I::value \& \hyperlink{a00188_ab909daed11a66ec4f45ffe3bec1db2a0}{extension} () const 
\begin{DoxyCompactList}\small\item\em Read-\/only access to the value of the extension domain. \item\end{DoxyCompactList}\item 
\hyperlink{a00188_a8e07ff3483fc47e559034f1dbef00611}{extension\_\-val} (I \&ima, const typename I::value \&val)
\begin{DoxyCompactList}\small\item\em Constructor from an image {\ttfamily ima} and a value {\ttfamily val}. \item\end{DoxyCompactList}\item 
\hyperlink{a00188_abfe81d9662910eb9a9ede2077b54dd59}{extension\_\-val} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename P $>$ }\\bool \hyperlink{a00188_a771009cd9c5626d2f368882ea0fe4176}{has} (const P \&p) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily p} is valid. It returns always true. \item\end{DoxyCompactList}\item 
internal::morpher\_\-lvalue\_\-$<$ I $>$::ret \hyperlink{a00188_af2decc5395973a31b55698be668d7b9e}{operator()} (const typename I::psite \&p)
\begin{DoxyCompactList}\small\item\em Read-\/write access to the image value located at site {\ttfamily p}. \item\end{DoxyCompactList}\item 
I::value \hyperlink{a00188_a19df199ed49a5861f41571c56b28463b}{operator()} (const typename I::psite \&p) const 
\begin{DoxyCompactList}\small\item\em Read-\/only access to the image value located at site {\ttfamily p};. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename I$>$ class mln::extension\_\-val$<$ I $>$}

Extends the domain of an image with a value. 

Definition at line 98 of file extension\_\-val.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00188_afdbd06a91399063c1aa87fce1191e9c0}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!rvalue@{rvalue}}
\index{rvalue@{rvalue}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{rvalue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I$>$ typedef I ::{\bf value} {\bf mln::extension\_\-val}$<$ I $>$::{\bf rvalue}}}
\label{da/d15/a00188_afdbd06a91399063c1aa87fce1191e9c0}


Return type of read-\/only access. 



Definition at line 110 of file extension\_\-val.hh.

\hypertarget{a00188_aa05ffb516d9d25fc721874668276d6d3}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!skeleton@{skeleton}}
\index{skeleton@{skeleton}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{skeleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I$>$ typedef {\bf extension\_\-val}$<$ tag::image\_\-$<$I$>$ $>$ {\bf mln::extension\_\-val}$<$ I $>$::{\bf skeleton}}}
\label{da/d15/a00188_aa05ffb516d9d25fc721874668276d6d3}


Skeleton. 



Definition at line 104 of file extension\_\-val.hh.

\hypertarget{a00188_a7b97a7be926d1d6a3adf79d73581d8f4}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!value@{value}}
\index{value@{value}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I$>$ typedef I ::{\bf value} {\bf mln::extension\_\-val}$<$ I $>$::{\bf value}}}
\label{da/d15/a00188_a7b97a7be926d1d6a3adf79d73581d8f4}


\hyperlink{a00044}{Image} value type. 



Definition at line 107 of file extension\_\-val.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00188_abfe81d9662910eb9a9ede2077b54dd59}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!extension\_\-val@{extension\_\-val}}
\index{extension\_\-val@{extension\_\-val}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{extension\_\-val}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::extension\_\-val}$<$ I $>$::{\bf extension\_\-val} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_abfe81d9662910eb9a9ede2077b54dd59}


Constructor without argument. 



Definition at line 176 of file extension\_\-val.hh.

\hypertarget{a00188_a8e07ff3483fc47e559034f1dbef00611}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!extension\_\-val@{extension\_\-val}}
\index{extension\_\-val@{extension\_\-val}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{extension\_\-val}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ {\bf mln::extension\_\-val}$<$ I $>$::{\bf extension\_\-val} (
\begin{DoxyParamCaption}
\item[{I \&}]{ ima, }
\item[{const typename I::value \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_a8e07ff3483fc47e559034f1dbef00611}


Constructor from an image {\ttfamily ima} and a value {\ttfamily val}. 



Definition at line 182 of file extension\_\-val.hh.



\subsection{Member Function Documentation}
\hypertarget{a00188_abf83bc67df05137a0ca1cfc2e4baf712}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!change\_\-extension@{change\_\-extension}}
\index{change\_\-extension@{change\_\-extension}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{change\_\-extension}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void {\bf mln::extension\_\-val}$<$ I $>$::change\_\-extension (
\begin{DoxyParamCaption}
\item[{const typename I::value \&}]{ val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_abf83bc67df05137a0ca1cfc2e4baf712}


Change the value of the extension domain. 



Definition at line 247 of file extension\_\-val.hh.

\hypertarget{a00188_ab909daed11a66ec4f45ffe3bec1db2a0}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!extension@{extension}}
\index{extension@{extension}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{extension}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ const I::value \& {\bf mln::extension\_\-val}$<$ I $>$::extension (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_ab909daed11a66ec4f45ffe3bec1db2a0}


Read-\/only access to the value of the extension domain. 



Definition at line 238 of file extension\_\-val.hh.

\hypertarget{a00188_a771009cd9c5626d2f368882ea0fe4176}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!has@{has}}
\index{has@{has}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ template$<$typename P $>$ bool {\bf mln::extension\_\-val}$<$ I $>$::has (
\begin{DoxyParamCaption}
\item[{const P \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_a771009cd9c5626d2f368882ea0fe4176}


Test if {\ttfamily p} is valid. It returns always true. 



Definition at line 199 of file extension\_\-val.hh.

\hypertarget{a00188_af2decc5395973a31b55698be668d7b9e}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!operator()@{operator()}}
\index{operator()@{operator()}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ internal::morpher\_\-lvalue\_\-$<$ I $>$::ret {\bf mln::extension\_\-val}$<$ I $>$::operator() (
\begin{DoxyParamCaption}
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_af2decc5395973a31b55698be668d7b9e}


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



Definition at line 220 of file extension\_\-val.hh.

\hypertarget{a00188_a19df199ed49a5861f41571c56b28463b}{
\index{mln::extension\_\-val@{mln::extension\_\-val}!operator()@{operator()}}
\index{operator()@{operator()}!mln::extension_val@{mln::extension\_\-val}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ I::value {\bf mln::extension\_\-val}$<$ I $>$::operator() (
\begin{DoxyParamCaption}
\item[{const typename I::psite \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d15/a00188_a19df199ed49a5861f41571c56b28463b}


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



Definition at line 207 of file extension\_\-val.hh.

