Extends the domain of an image with a value. More...
#include <extension_val.hh>
Inherits 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 (I &ima, const typename I::value &val) | |
Constructor from an image ima and a value val. | |
| extension_val () | |
| Constructor without argument. | |
| template<typename P > | |
| bool | has (const P &p) const |
Test if p is valid. It returns always true. | |
| internal::morpher_lvalue_< I >::ret | operator() (const typename I::psite &p) |
Read-write access to the image value located at site p. | |
| I::value | operator() (const typename I::psite &p) const |
Read-only access to the image value located at site p;. | |
Extends the domain of an image with a value.
Definition at line 98 of file extension_val.hh.
| typedef I ::value mln::extension_val< I >::rvalue |
Return type of read-only access.
Definition at line 110 of file extension_val.hh.
| typedef extension_val< tag::image_<I> > mln::extension_val< I >::skeleton |
Skeleton.
Definition at line 104 of file extension_val.hh.
| typedef I ::value mln::extension_val< I >::value |
Image value type.
Definition at line 107 of file extension_val.hh.
| mln::extension_val< I >::extension_val | ( | ) | [inline] |
Constructor without argument.
Definition at line 176 of file extension_val.hh.
| mln::extension_val< I >::extension_val | ( | I & | ima, | |
| const typename I::value & | val | |||
| ) | [inline] |
Constructor from an image ima and a value val.
Definition at line 182 of file extension_val.hh.
| void mln::extension_val< I >::change_extension | ( | const typename I::value & | val | ) | [inline] |
Change the value of the extension domain.
Definition at line 247 of file extension_val.hh.
| const I::value & mln::extension_val< I >::extension | ( | ) | const [inline] |
Read-only access to the value of the extension domain.
Definition at line 238 of file extension_val.hh.
| bool mln::extension_val< I >::has | ( | const P & | p | ) | const [inline] |
Test if p is valid. It returns always true.
Definition at line 199 of file extension_val.hh.
| internal::morpher_lvalue_< I >::ret mln::extension_val< I >::operator() | ( | const typename I::psite & | p | ) | [inline] |
Read-write access to the image value located at site p.
Definition at line 220 of file extension_val.hh.
| I::value mln::extension_val< I >::operator() | ( | const typename I::psite & | p | ) | const [inline] |
Read-only access to the image value located at site p;.
Definition at line 207 of file extension_val.hh.
1.7.1