$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::p_indexed_bkd_piter< S > Class Template Reference

#include <mln/core/site_set/p_array.hh>

Public Member Functions

 p_indexed_bkd_piter ()
 p_indexed_bkd_piter (const S &s)
void change_target (const S &s)
void change_target_ (const S &s)
int index () const
void invalidate ()
void invalidate_ ()
bool is_valid () const
bool is_valid_ () const
void next ()
void next_ ()
const S::psite & p_hook_ () const
const S & site_set () const
void start ()
void start_ ()
const S::psite & subj_ ()
const S *& target_ ()
const S::site & to_site () const

Protected Attributes

S::psite p_
const S * s_

Public Types

typedef Site_Proxy< void > category
typedef p_indexed_bkd_piter< S > exact_t
typedef S pset
typedef S::site site
typedef S target

Detailed Description

template<typename S>
class mln::p_indexed_bkd_piter< S >

Backward iterator on sites of an indexed site set.

Definition at line 291 of file p_array.hh.

Constructor & Destructor Documentation

template<typename S>
mln::p_indexed_bkd_piter< S >::p_indexed_bkd_piter ( )

Constructor with no argument.

template<typename S>
mln::p_indexed_bkd_piter< S >::p_indexed_bkd_piter ( const S &  s)

Constructor.

Member Function Documentation

void mln::internal::site_set_iterator_base< S, p_indexed_bkd_piter< S > >::change_target ( const S &  s)
inherited

Change the site set targeted by this iterator.

void mln::internal::site_set_iterator_base< S, p_indexed_bkd_piter< S > >::change_target_ ( const S &  s)
inherited

Part of the change_target specific to the exact iterator type, empty by default (to be overloaded).

template<typename S>
int mln::p_indexed_bkd_piter< S >::index ( ) const

Return the current index.

void mln::Site_Iterator< p_indexed_bkd_piter< S > >::invalidate ( )
inherited
template<typename S>
void mln::p_indexed_bkd_piter< S >::invalidate_ ( )

Invalidate the iterator.

bool mln::Site_Iterator< p_indexed_bkd_piter< S > >::is_valid ( ) const
inherited
template<typename S>
bool mln::p_indexed_bkd_piter< S >::is_valid_ ( ) const

INTERNAL_API Test if the iterator is valid.

void mln::Site_Iterator< p_indexed_bkd_piter< S > >::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 S>
void mln::p_indexed_bkd_piter< S >::next_ ( )

Go to the next point.

const S ::psite& mln::internal::site_set_iterator_base< S, p_indexed_bkd_piter< S > >::p_hook_ ( ) const
inherited

INTERNAL_API Hook to the current location.

const S& mln::internal::site_set_iterator_base< S, p_indexed_bkd_piter< S > >::site_set ( ) const
inherited

Give the site set that this iterator browses.

void mln::Site_Iterator< p_indexed_bkd_piter< S > >::start ( )
inherited
template<typename S>
void mln::p_indexed_bkd_piter< S >::start_ ( )

Start an iteration.

const S ::psite& mln::internal::site_iterator_base< S, p_indexed_bkd_piter< S > >::subj_ ( )
inherited

INTERNAL_API Give the subject (required by the Proxy interface).

const S*& mln::internal::site_iterator_base< S, p_indexed_bkd_piter< S > >::target_ ( )
inherited

Give the target address. It might be 0.

const S ::site& mln::internal::site_iterator_base< S, p_indexed_bkd_piter< S > >::to_site ( ) const
inherited

Return the site it points to (as a Site_Proxy).

Member Data Documentation

S ::psite mln::internal::site_set_iterator_base< S, p_indexed_bkd_piter< S > >::p_
protectedinherited

The psite designated by this iterator.

Definition at line 80 of file site_set_iterator_base.hh.

const S* mln::internal::site_iterator_base< S, p_indexed_bkd_piter< S > >::s_
protectedinherited

The target.

Definition at line 91 of file site_iterator_base.hh.

Member Typedef Documentation

typedef Site_Proxy<void> mln::Site_Proxy< p_indexed_bkd_piter< S > >::category
inherited

Definition at line 68 of file site_proxy.hh.

Definition at line 105 of file object.hh.

The associated site set type.

Definition at line 60 of file site_set_iterator_base.hh.

The associated site type (as a Site_Proxy).

Definition at line 64 of file site_iterator_base.hh.

The associated target type.

Definition at line 61 of file site_iterator_base.hh.