#include <extension_val.hh>
Inherits mln::internal::image_identity< I, I::domain_t, mln::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 ;. |
typedef I ::value mln::extension_val< I >::rvalue |
Return type of read-only access.
typedef extension_val< tag::image_<I> > mln::extension_val< I >::skeleton |
Skeleton.
typedef I ::value mln::extension_val< I >::value |
mln::extension_val< I >::extension_val | ( | ) | [inline] |
Constructor without argument.
mln::extension_val< I >::extension_val | ( | I & | ima, | |
const typename I::value & | val | |||
) | [inline] |
Constructor from an image ima
and a value val
.
void mln::extension_val< I >::change_extension | ( | const typename I::value & | val | ) | [inline] |
const I::value & mln::extension_val< I >::extension | ( | ) | const [inline] |
bool mln::extension_val< I >::has | ( | const P & | p | ) | const [inline] |
Test if p
is valid. It returns always true.
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
.
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
;.