Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions

mln::internal::pixel_impl_< I, E > Class Template Reference

Implementation class to equip generalized pixel classes based on mutable images. More...

#include <pixel_impl.hh>

Inheritance diagram for mln::internal::pixel_impl_< I, E >:
Inheritance graph

List of all members.

Public Types

typedef I image
 Image type.
typedef I::lvalue lvalue
 Image lvalue type.
typedef I::rvalue rvalue
 Image rvalue type.
typedef I::value value
 Image value type.

Public Member Functions

value ** address_ () const
 Address of the current iterator value/pixel.
I & ima () const
 Give the pixel image.
lvalue val ()
 pixel iterator value.
rvalue val () const
 Get the pixel iterator value.

Protected Member Functions

 pixel_impl_ (I &image)
 Constructor.

Private Types

typedef pixel_impl_base_
< mlc_is(mln_trait_image_speed(I),
trait::image::speed::fastest)::value,
I, E > 
super_

Private Member Functions

bool is_valid_ () const

Detailed Description

template<typename I, typename E>
class mln::internal::pixel_impl_< I, E >

Implementation class to equip generalized pixel classes based on mutable images.

Definition at line 116 of file pixel_impl.hh.


Member Typedef Documentation

template<typename I, typename E>
typedef I mln::internal::pixel_impl_< I, E >::image
template<typename I, typename E>
typedef I ::lvalue mln::internal::pixel_impl_< I, E >::lvalue

Image lvalue type.

Definition at line 135 of file pixel_impl.hh.

template<typename I, typename E>
typedef I ::rvalue mln::internal::pixel_impl_< I, E >::rvalue

Image rvalue type.

Definition at line 138 of file pixel_impl.hh.

template<typename I, typename E>
typedef pixel_impl_base_< mlc_is(mln_trait_image_speed(I), trait::image::speed::fastest)::value, I, E > mln::internal::pixel_impl_< I, E >::super_ [private]
template<typename I, typename E>
typedef I ::value mln::internal::pixel_impl_< I, E >::value

Image value type.

Definition at line 132 of file pixel_impl.hh.


Constructor & Destructor Documentation

template<typename I, typename E >
mln::internal::pixel_impl_< I, E >::pixel_impl_ ( I &  image  )  [inline, protected]

Constructor.

Definition at line 239 of file pixel_impl.hh.


Member Function Documentation

template<typename I , typename E >
I::value ** mln::internal::pixel_impl_< I, E >::address_ (  )  const [inline]

Address of the current iterator value/pixel.

Definition at line 274 of file pixel_impl.hh.

template<typename I , typename E >
I & mln::internal::pixel_impl_< I, E >::ima (  )  const [inline]

Give the pixel image.

Definition at line 265 of file pixel_impl.hh.

Referenced by mln::internal::pixel_iterator_base_< I, E >::pixel_iterator_base_().

template<typename I , typename E >
bool mln::internal::pixel_impl_< I, E >::is_valid_ (  )  const [inline, private]

Definition at line 232 of file pixel_impl.hh.

template<typename I , typename E >
I::lvalue mln::internal::pixel_impl_< I, E >::val (  )  [inline]

pixel iterator value.

Definition at line 247 of file pixel_impl.hh.

template<typename I , typename E >
I::rvalue mln::internal::pixel_impl_< I, E >::val (  )  const [inline]

Get the pixel iterator value.

Definition at line 256 of file pixel_impl.hh.