$extrastylesheet
#include <mln/core/image/flat_image.hh>
Public Member Functions | |
flat_image () | |
flat_image (const T &val, const S &pset) | |
void | destroy () |
const S & | domain () const |
bool | has (const psite &p) const |
bool | has (const typename S::psite &p) const |
void | init_ (const T &val, const S &pset) |
bool | is_valid () const |
std::size_t | nsites () const |
const T & | operator() (const typename S::psite &p) const |
T & | operator() (const typename S::psite &p) |
const T & | value_ () const |
T & | value_ () |
const t_eligible_values_set & | values_eligible () const |
const t_values_space & | values_space () const |
Protected Attributes | |
mln::util::tracked_ptr < internal::data< flat_image < T, S > > > | data_ |
Public Types | |
typedef S::bkd_piter | bkd_piter |
typedef Image< void > | category |
typedef S | domain_t |
typedef flat_image< T, S > | exact_t |
typedef S::fwd_piter | fwd_piter |
typedef T & | lvalue |
typedef fwd_piter | piter |
typedef S::psite | psite |
typedef const T & | rvalue |
typedef S::site | site |
typedef flat_image < tag::value_< T > , tag::domain_< S > > | skeleton |
typedef mln::value::set< T > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value< T > ::ret > | t_values_space |
typedef T | value |
Image with a single value.
Definition at line 108 of file flat_image.hh.
mln::flat_image< T, S >::flat_image | ( | ) |
Constructor without argument.
mln::flat_image< T, S >::flat_image | ( | const T & | val, |
const S & | pset | ||
) |
Constructor.
|
inherited |
Detach data from an image (free it if nobody else hold it).
const S& mln::flat_image< T, S >::domain | ( | ) | const |
Give the definition domain.
|
inherited |
Test if p
belongs to the image domain.
bool mln::flat_image< T, S >::has | ( | const typename S::psite & | p | ) | const |
Test if p
is valid: always return true.
void mln::flat_image< T, S >::init_ | ( | const T & | val, |
const S & | pset | ||
) |
INTERNAL_API Initialization.
|
inherited |
Test if this image has been initialized; default impl.
|
inherited |
Give the number of sites of the image domain.
const T& mln::flat_image< T, S >::operator() | ( | const typename S::psite & | p | ) | const |
Read-only access to the image value located at point p
.
T& mln::flat_image< T, S >::operator() | ( | const typename S::psite & | p | ) |
Read-write access to the image value located at point p
.
const T& mln::flat_image< T, S >::value_ | ( | ) | const |
INTERNAL_API Specific methods.
T& mln::flat_image< T, S >::value_ | ( | ) |
|
inherited |
|
inherited |
Return the value space of the image.
|
protectedinherited |
INTERNAL_API Internal data, sharable by several images.
Definition at line 176 of file core/internal/image_base.hh.
|
inherited |
Backward Site_Iterator associated type.
Definition at line 122 of file core/internal/image_base.hh.
|
inherited |
Definition at line 78 of file core/concept/image.hh.
|
inherited |
Site_Set associated type.
Definition at line 109 of file core/internal/image_base.hh.
|
inherited |
|
inherited |
Forward Site_Iterator associated type.
Definition at line 119 of file core/internal/image_base.hh.
typedef T& mln::flat_image< T, S >::lvalue |
Return type of read-write access.
Definition at line 121 of file flat_image.hh.
|
inherited |
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 127 of file core/internal/image_base.hh.
|
inherited |
Point_Site associated type.
Definition at line 112 of file core/internal/image_base.hh.
typedef const T& mln::flat_image< T, S >::rvalue |
Return type of read-only access.
Definition at line 118 of file flat_image.hh.
|
inherited |
Site associated type.
Definition at line 115 of file core/internal/image_base.hh.
typedef flat_image< tag::value_<T>, tag::domain_<S> > mln::flat_image< T, S >::skeleton |
Skeleton.
Definition at line 111 of file flat_image.hh.
|
inherited |
Eligible-value-set associated type.
Definition at line 95 of file core/internal/image_base.hh.
|
inherited |
Value space associated type.
Definition at line 102 of file core/internal/image_base.hh.
typedef T mln::flat_image< T, S >::value |
Value associated type.
Definition at line 115 of file flat_image.hh.