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

mln::bkd_pixter1d< I > Class Template Reference

Backward pixel iterator on a 1-D image with border. More...

#include <pixter1d.hh>

Inheritance diagram for mln::bkd_pixter1d< I >:
Inheritance graph

List of all members.

Public Types

typedef Object< void > category
typedef bkd_pixter1d< I > exact_t
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.
 bkd_pixter1d (I &image)
 Constructor.
I & ima () const
 Give the pixel image.
void next ()
 Go to the next element.
void next_ ()
 Go to the next pixel.
 operator unsigned () const
rvalue val () const
 Get the pixel iterator value.
lvalue val ()
 pixel iterator value.

void start ()
 ManipulationStart an iteration.
void invalidate ()
 Invalidate the iterator.
bool is_valid () const
 Test if the iterator is valid.

Protected Member Functions

void start_ ()
 Default impl is no-op.

Protected Attributes

I::qlf_value * boi_
 Beginning of the image.
I::qlf_value * eoi_
 End of the image (past-the-end).

Private Types

typedef
internal::backward_pixel_iterator_base_
< I, bkd_pixter1d< I > > 
super_

Detailed Description

template<typename I>
class mln::bkd_pixter1d< I >

Backward pixel iterator on a 1-D image with border.


Member Typedef Documentation

typedef Object<void> mln::Object< bkd_pixter1d< I > >::category [inherited]
typedef bkd_pixter1d< I > mln::Object< bkd_pixter1d< I > >::exact_t [inherited]
template<typename I >
typedef I mln::bkd_pixter1d< I >::image
typedef I ::lvalue mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::lvalue [inherited]

Image lvalue type.

typedef I ::rvalue mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::rvalue [inherited]

Image rvalue type.

template<typename I >
typedef internal::backward_pixel_iterator_base_< I, bkd_pixter1d<I> > mln::bkd_pixter1d< I >::super_ [private]
typedef I ::value mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::value [inherited]

Image value type.


Constructor & Destructor Documentation

template<typename I >
mln::bkd_pixter1d< I >::bkd_pixter1d ( I &  image  )  [inline]

Constructor.

Parameters:
[in] image The image this pixel iterator is bound to.

Member Function Documentation

value** mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::address_ (  )  const [inherited]

Address of the current iterator value/pixel.

I& mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::ima (  )  const [inherited]

Give the pixel image.

void mln::internal::backward_pixel_iterator_base_< I, bkd_pixter1d< I > >::invalidate (  )  [inherited]

Invalidate the iterator.

bool mln::internal::backward_pixel_iterator_base_< I, bkd_pixter1d< I > >::is_valid (  )  const [inherited]

Test if the iterator is valid.

void mln::Iterator< bkd_pixter1d< I > >::next (  )  [inherited]

Go to the next element.

Warning:
This is a final method; iterator classes should not re-defined this method. The actual "next" operation has to be defined through the next_ method.
Precondition:
The iterator is valid.
template<typename I >
void mln::bkd_pixter1d< I >::next_ (  )  [inline]

Go to the next pixel.

mln::Generalized_Pixel< bkd_pixter1d< I > >::operator unsigned (  )  const [inline, inherited]
void mln::internal::backward_pixel_iterator_base_< I, bkd_pixter1d< I > >::start (  )  [inherited]

ManipulationStart an iteration.

void mln::internal::pixel_iterator_base_< I, bkd_pixter1d< I > >::start_ (  )  [protected, inherited]

Default impl is no-op.

lvalue mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::val (  )  [inherited]

pixel iterator value.

rvalue mln::internal::pixel_impl_< I, bkd_pixter1d< I > >::val (  )  const [inherited]

Get the pixel iterator value.


Member Data Documentation

I ::qlf_value* mln::internal::pixel_iterator_base_< I, bkd_pixter1d< I > >::boi_ [protected, inherited]

Beginning of the image.

I ::qlf_value* mln::internal::pixel_iterator_base_< I, bkd_pixter1d< I > >::eoi_ [protected, inherited]

End of the image (past-the-end).