|
Milena (Olena)
User documentation 2.0a Id
|
Image with a single value. More...
#include <flat_image.hh>
Inherits mln::internal::image_primary< T, S, flat_image< T, S > >.
Public Types | |
| typedef T & | lvalue |
| Return type of read-write access. | |
| typedef const T & | rvalue |
| Return type of read-only access. | |
| typedef flat_image < tag::value_< T > , tag::domain_< S > > | skeleton |
| Skeleton. | |
| typedef T | value |
| Value associated type. | |
Public Member Functions | |
| const S & | domain () const |
| Give the definition domain. | |
| flat_image () | |
| Constructor without argument. | |
| flat_image (const T &val, const S &pset) | |
| Constructor. | |
| bool | has (const typename S::psite &p) const |
Test if p is valid: always return true. | |
| const T & | operator() (const typename S::psite &p) const |
Read-only access to the image value located at point p. | |
| T & | operator() (const typename S::psite &p) |
Read-write access to the image value located at point p. | |
Image with a single value.
Definition at line 106 of file flat_image.hh.
| typedef T& mln::flat_image< T, S >::lvalue |
Return type of read-write access.
Definition at line 119 of file flat_image.hh.
| typedef const T& mln::flat_image< T, S >::rvalue |
Return type of read-only access.
Definition at line 116 of file flat_image.hh.
| typedef flat_image< tag::value_<T>, tag::domain_<S> > mln::flat_image< T, S >::skeleton |
Skeleton.
Definition at line 109 of file flat_image.hh.
| typedef T mln::flat_image< T, S >::value |
Value associated type.
Definition at line 113 of file flat_image.hh.
|
inline |
Constructor without argument.
Definition at line 192 of file flat_image.hh.
|
inline |
Constructor.
Definition at line 198 of file flat_image.hh.
|
inline |
Give the definition domain.
Definition at line 215 of file flat_image.hh.
|
inline |
Test if p is valid: always return true.
Definition at line 223 of file flat_image.hh.
|
inline |
Read-only access to the image value located at point p.
Definition at line 231 of file flat_image.hh.
|
inline |
Read-write access to the image value located at point p.
Definition at line 240 of file flat_image.hh.