#include <flat_image.hh>
Inherits 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 (const T &val, const S &pset) | |
| Constructor. | |
| flat_image () | |
| Constructor without argument. | |
| bool | has (const typename S::psite &p) const |
Test if p is valid: always return true. | |
| T & | operator() (const typename S::psite &p) |
Read-write access to the image value located at point p. | |
| const T & | operator() (const typename S::psite &p) const |
Read-only access to the image value located at point p. | |
| typedef T& mln::flat_image< T, S >::lvalue |
Return type of read-write access.
| typedef const T& mln::flat_image< T, S >::rvalue |
Return type of read-only access.
| typedef flat_image< tag::value_<T>, tag::domain_<S> > mln::flat_image< T, S >::skeleton |
Skeleton.
| typedef T mln::flat_image< T, S >::value |
Value associated type.
| mln::flat_image< T, S >::flat_image | ( | ) | [inline] |
Constructor without argument.
| mln::flat_image< T, S >::flat_image | ( | const T & | val, | |
| const S & | pset | |||
| ) | [inline] |
Constructor.
| const S & mln::flat_image< T, S >::domain | ( | ) | const [inline] |
Give the definition domain.
| bool mln::flat_image< T, S >::has | ( | const typename S::psite & | p | ) | const [inline] |
Test if p is valid: always return true.
| T & mln::flat_image< T, S >::operator() | ( | const typename S::psite & | p | ) | [inline] |
| const T & mln::flat_image< T, S >::operator() | ( | const typename S::psite & | p | ) | const [inline] |
1.5.9