|
Milena (Olena)
User documentation 2.0a Id
|
Extends the domain of an image with a value. More...
#include <extension_val.hh>
Inherits mln::internal::image_identity< I, I::domain_t, extension_val< I > >.
Public Types | |
| typedef I::value | rvalue |
| Return type of read-only access. | |
| typedef extension_val < tag::image_< I > > | skeleton |
| Skeleton. | |
| typedef I::value | value |
| Image value type. | |
Public Member Functions | |
| void | change_extension (const typename I::value &val) |
| Change the value of the extension domain. | |
| const I::value & | extension () const |
| Read-only access to the value of the extension domain. | |
| extension_val () | |
| Constructor without argument. | |
| extension_val (I &ima, const typename I::value &val) | |
Constructor from an image ima and a value val. | |
| template<typename P > | |
| bool | has (const P &p) const |
Test if p is valid. It returns always true. | |
| 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 value.
Definition at line 99 of file extension_val.hh.
| typedef I ::value mln::extension_val< I >::rvalue |
Return type of read-only access.
Definition at line 111 of file extension_val.hh.
| typedef extension_val< tag::image_<I> > mln::extension_val< I >::skeleton |
Skeleton.
Definition at line 105 of file extension_val.hh.
| typedef I ::value mln::extension_val< I >::value |
Image value type.
Definition at line 108 of file extension_val.hh.
|
inline |
Constructor without argument.
Definition at line 177 of file extension_val.hh.
|
inline |
Constructor from an image ima and a value val.
Definition at line 183 of file extension_val.hh.
|
inline |
Change the value of the extension domain.
Definition at line 248 of file extension_val.hh.
|
inline |
Read-only access to the value of the extension domain.
Definition at line 239 of file extension_val.hh.
|
inline |
Test if p is valid. It returns always true.
Definition at line 200 of file extension_val.hh.
|
inline |
Read-only access to the image value located at site p;.
Definition at line 208 of file extension_val.hh.
|
inline |
Read-write access to the image value located at site p.
Definition at line 221 of file extension_val.hh.