|
Milena (Olena)
User documentation 2.0a Id
|
Extends the domain of an image with a function. More...
#include <extension_fun.hh>
Inherits mln::internal::image_identity< I, I::domain_t, extension_fun< I, F > >, result, and check_t.
Public Types | |
| typedef I::value | rvalue |
| Return type of read-only access. | |
| typedef extension_fun < tag::image_< I > , tag::function_< F > > | skeleton |
| Skeleton. | |
| typedef I::value | value |
| Image value type. | |
Public Member Functions | |
| const F & | extension () const |
| Give the extension function. | |
| extension_fun () | |
| Constructor without argument. | |
| extension_fun (I &ima, const F &fun) | |
Constructor from an image ima and a function fun. | |
| template<typename P > | |
| bool | has (const P &p) const |
Test if p is valid. | |
| I::value | operator() (const typename I::psite &p) const |
Read-only access to the image value located at site p;. | |
| internal::morpher_lvalue_< I >::ret | operator() (const typename I::psite &p) |
Read-write access to the image value located at site p. | |
Extends the domain of an image with a function.
Definition at line 100 of file extension_fun.hh.
| typedef I ::value mln::extension_fun< I, F >::rvalue |
Return type of read-only access.
Definition at line 113 of file extension_fun.hh.
| typedef extension_fun< tag::image_<I>, tag::function_<F> > mln::extension_fun< I, F >::skeleton |
Skeleton.
Definition at line 107 of file extension_fun.hh.
| typedef I ::value mln::extension_fun< I, F >::value |
Image value type.
Definition at line 110 of file extension_fun.hh.
|
inline |
Constructor without argument.
Definition at line 179 of file extension_fun.hh.
|
inline |
Constructor from an image ima and a function fun.
Definition at line 185 of file extension_fun.hh.
|
inline |
Give the extension function.
Definition at line 244 of file extension_fun.hh.
|
inline |
Test if p is valid.
It returns always true, assuming that the function is valid for any p.
Definition at line 202 of file extension_fun.hh.
|
inline |
Read-only access to the image value located at site p;.
Definition at line 210 of file extension_fun.hh.
|
inline |
Read-write access to the image value located at site p.
Definition at line 224 of file extension_fun.hh.