\hypertarget{a00187}{
\section{mln::extension\_\-ima$<$ I, J $>$ Class Template Reference}
\label{d6/daa/a00187}\index{mln::extension\_\-ima@{mln::extension\_\-ima}}
}


Extends the domain of an image with an image.  




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



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

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef I::value \hyperlink{a00187_a13e1d81fa25d97ec71c764dbdce67c85}{rvalue}
\begin{DoxyCompactList}\small\item\em Return type of read-\/only access. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00187}{extension\_\-ima}$<$ tag::image\_\-$<$ I $>$, tag::ext\_\-$<$ J $>$ $>$ \hyperlink{a00187_af511490ce459ada6bfbf3c3aff44968c}{skeleton}
\begin{DoxyCompactList}\small\item\em Skeleton. \item\end{DoxyCompactList}\item 
typedef I::value \hyperlink{a00187_aeba18e42aef27cef31f45cab7ba07d26}{value}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00044}{Image} value type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const J \& \hyperlink{a00187_a93c79949959715d3a38f16e7a09e96f1}{extension} () const 
\begin{DoxyCompactList}\small\item\em Read-\/only access to the extension domain (image). \item\end{DoxyCompactList}\item 
\hyperlink{a00187_a041fdc501e0551810b2d90953b712319}{extension\_\-ima} (I \&ima, const J \&ext)
\begin{DoxyCompactList}\small\item\em Constructor from an image {\ttfamily ima} and a function {\ttfamily ext}. \item\end{DoxyCompactList}\item 
\hyperlink{a00187_a07facbe5b867650ab4d53da7010ada01}{extension\_\-ima} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename P $>$ }\\bool \hyperlink{a00187_aadc20573079a53561726f7393d9e263e}{has} (const P \&p) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily p} is valid. \item\end{DoxyCompactList}\item 
internal::morpher\_\-lvalue\_\-$<$ I $>$::ret \hyperlink{a00187_a9cae0e2c448c5e163e5bff8bf6f30756}{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{a00187_ab32ea96126efebd0abef09c2a9e43cbf}{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, typename J$>$ class mln::extension\_\-ima$<$ I, J $>$}

Extends the domain of an image with an image. 

Definition at line 97 of file extension\_\-ima.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00187_a13e1d81fa25d97ec71c764dbdce67c85}{
\index{mln::extension\_\-ima@{mln::extension\_\-ima}!rvalue@{rvalue}}
\index{rvalue@{rvalue}!mln::extension_ima@{mln::extension\_\-ima}}
\subsubsection[{rvalue}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I, typename J$>$ typedef I ::{\bf value} {\bf mln::extension\_\-ima}$<$ I, J $>$::{\bf rvalue}}}
\label{d6/daa/a00187_a13e1d81fa25d97ec71c764dbdce67c85}


Return type of read-\/only access. 



Definition at line 111 of file extension\_\-ima.hh.

\hypertarget{a00187_af511490ce459ada6bfbf3c3aff44968c}{
\index{mln::extension\_\-ima@{mln::extension\_\-ima}!skeleton@{skeleton}}
\index{skeleton@{skeleton}!mln::extension_ima@{mln::extension\_\-ima}}
\subsubsection[{skeleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I, typename J$>$ typedef {\bf extension\_\-ima}$<$ tag::image\_\-$<$I$>$, tag::ext\_\-$<$J$>$ $>$ {\bf mln::extension\_\-ima}$<$ I, J $>$::{\bf skeleton}}}
\label{d6/daa/a00187_af511490ce459ada6bfbf3c3aff44968c}


Skeleton. 



Definition at line 105 of file extension\_\-ima.hh.

\hypertarget{a00187_aeba18e42aef27cef31f45cab7ba07d26}{
\index{mln::extension\_\-ima@{mln::extension\_\-ima}!value@{value}}
\index{value@{value}!mln::extension_ima@{mln::extension\_\-ima}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I, typename J$>$ typedef I ::{\bf value} {\bf mln::extension\_\-ima}$<$ I, J $>$::{\bf value}}}
\label{d6/daa/a00187_aeba18e42aef27cef31f45cab7ba07d26}


\hyperlink{a00044}{Image} value type. 



Definition at line 108 of file extension\_\-ima.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00187_a07facbe5b867650ab4d53da7010ada01}{
\index{mln::extension\_\-ima@{mln::extension\_\-ima}!extension\_\-ima@{extension\_\-ima}}
\index{extension\_\-ima@{extension\_\-ima}!mln::extension_ima@{mln::extension\_\-ima}}
\subsubsection[{extension\_\-ima}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ {\bf mln::extension\_\-ima}$<$ I, J $>$::{\bf extension\_\-ima} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/daa/a00187_a07facbe5b867650ab4d53da7010ada01}


Constructor without argument. 



Definition at line 173 of file extension\_\-ima.hh.

\hypertarget{a00187_a041fdc501e0551810b2d90953b712319}{
\index{mln::extension\_\-ima@{mln::extension\_\-ima}!extension\_\-ima@{extension\_\-ima}}
\index{extension\_\-ima@{extension\_\-ima}!mln::extension_ima@{mln::extension\_\-ima}}
\subsubsection[{extension\_\-ima}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ {\bf mln::extension\_\-ima}$<$ I, J $>$::{\bf extension\_\-ima} (
\begin{DoxyParamCaption}
\item[{I \&}]{ ima, }
\item[{const J \&}]{ ext}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/daa/a00187_a041fdc501e0551810b2d90953b712319}


Constructor from an image {\ttfamily ima} and a function {\ttfamily ext}. 



Definition at line 179 of file extension\_\-ima.hh.



\subsection{Member Function Documentation}
\hypertarget{a00187_a93c79949959715d3a38f16e7a09e96f1}{
\index{mln::extension\_\-ima@{mln::extension\_\-ima}!extension@{extension}}
\index{extension@{extension}!mln::extension_ima@{mln::extension\_\-ima}}
\subsubsection[{extension}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I , typename J $>$ const J \& {\bf mln::extension\_\-ima}$<$ I, J $>$::extension (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d6/daa/a00187_a93c79949959715d3a38f16e7a09e96f1}


Read-\/only access to the extension domain (image). 



Definition at line 244 of file extension\_\-ima.hh.

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


Test if {\ttfamily p} is valid. 



Definition at line 196 of file extension\_\-ima.hh.

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


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



Definition at line 223 of file extension\_\-ima.hh.

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


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



Definition at line 208 of file extension\_\-ima.hh.

