Public Types | Public Member Functions

mln::decorated_image< I, D > Struct Template Reference
[Identity morphers]

Image that can have additional features. More...

#include <decorated_image.hh>

Inherits decorated_image_impl_< I, decorated_image< I, D > >, and image_identity< I, I::domain_t, decorated_image< I, D > >.

List of all members.

Public Types

typedef impl_::lvalue lvalue
 Return type of read-write access.
typedef I::psite psite
 Type of the psite.
typedef I::rvalue rvalue
 Return type of read-only access.
typedef decorated_image
< tag::image_< I >, tag::data_
< D > > 
skeleton
 Skeleton.

Public Member Functions

 decorated_image ()
 Ctors.
D & decoration ()
 Give the decoration.
const D & decoration () const
 Give the decoration.
 operator decorated_image< const I, D > () const
 Const promotion via conversion.
rvalue operator() (const psite &p) const
 Read-only access of pixel value at point site p.
lvalue operator() (const psite &p)
 Read-write access of pixel value at point site p.
 ~decorated_image ()
 Dtor.

Detailed Description

template<typename I, typename D>
struct mln::decorated_image< I, D >

Image that can have additional features.

Definition at line 81 of file decorated_image.hh.


Member Typedef Documentation

template<typename I, typename D>
typedef impl_::lvalue mln::decorated_image< I, D >::lvalue

Return type of read-write access.

Definition at line 95 of file decorated_image.hh.

template<typename I, typename D>
typedef I ::psite mln::decorated_image< I, D >::psite

Type of the psite.

Definition at line 90 of file decorated_image.hh.

template<typename I, typename D>
typedef I ::rvalue mln::decorated_image< I, D >::rvalue

Return type of read-only access.

Definition at line 93 of file decorated_image.hh.

template<typename I, typename D>
typedef decorated_image< tag::image_<I>, tag::data_<D> > mln::decorated_image< I, D >::skeleton

Skeleton.

Definition at line 108 of file decorated_image.hh.


Constructor & Destructor Documentation

template<typename I , typename D >
mln::decorated_image< I, D >::decorated_image (  )  [inline]

Ctors.

Definition at line 161 of file decorated_image.hh.

template<typename I , typename D >
mln::decorated_image< I, D >::~decorated_image (  )  [inline]

Dtor.

Definition at line 184 of file decorated_image.hh.


Member Function Documentation

template<typename I , typename D >
const D & mln::decorated_image< I, D >::decoration (  )  const [inline]

Give the decoration.

Definition at line 249 of file decorated_image.hh.

template<typename I , typename D >
D & mln::decorated_image< I, D >::decoration (  )  [inline]

Give the decoration.

Definition at line 257 of file decorated_image.hh.

template<typename I , typename D >
mln::decorated_image< I, D >::operator decorated_image< const I, D > (  )  const [inline]

Const promotion via conversion.

Definition at line 239 of file decorated_image.hh.

template<typename I , typename D >
decorated_image< I, D >::rvalue mln::decorated_image< I, D >::operator() ( const psite p  )  const [inline]

Read-only access of pixel value at point site p.

Definition at line 197 of file decorated_image.hh.

template<typename I , typename D >
decorated_image< I, D >::lvalue mln::decorated_image< I, D >::operator() ( const psite p  )  [inline]

Read-write access of pixel value at point site p.

Definition at line 206 of file decorated_image.hh.