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

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

Public Member Functions

void change_target (const S &s)
void change_target_ (const S &s)
iter::q_subject element ()
const S::graph_t & graph () const
const iter & hook_elt_ () const
unsigned id () const
void invalidate ()
bool is_valid () const
void next ()
const S::psite & p_hook_ () const
const S & site_set () const
void start ()
const S::psite & subj_ ()
const S *& target_ ()
const S::site & to_site () const
 p_graph_piter ()
 p_graph_piter (const S &pv)
bool is_valid_ () const
void invalidate_ ()
void start_ ()
void next_ ()

Protected Attributes

S::psite p_
const S * s_

Public Types

typedef Site_Proxy< void > category
typedef p_graph_piter< S, I > exact_t
typedef S pset
typedef S::site site
typedef S target

Detailed Description

template<typename S, typename I>
class mln::p_graph_piter< S, I >

Definition at line 59 of file p_graph_piter.hh.

Constructor & Destructor Documentation

template<typename S , typename I >
mln::p_graph_piter< S, I >::p_graph_piter ( )

Constructors.

template<typename S , typename I >
mln::p_graph_piter< S, I >::p_graph_piter ( const S &  pv)

Member Function Documentation

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

Change the site set targeted by this iterator.

void mln::internal::site_set_iterator_base< S, p_graph_piter< S, I > >::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 , typename I >
iter ::q_subject mln::p_graph_piter< S, I >::element ( )

Return the underlying graph element.

template<typename S , typename I >
const S::graph_t& mln::p_graph_piter< S, I >::graph ( ) const

Return the graph associated to the target S.

template<typename S , typename I >
const iter& mln::p_graph_piter< S, I >::hook_elt_ ( ) const

INTERNAL_API Return the underlying graph element iterator.

template<typename S , typename I >
unsigned mln::p_graph_piter< S, I >::id ( ) const

Return the graph element id.

void mln::Site_Iterator< p_graph_piter< S, I > >::invalidate ( )
inherited
template<typename S , typename I >
void mln::p_graph_piter< S, I >::invalidate_ ( )

Invalidate the iterator.

bool mln::Site_Iterator< p_graph_piter< S, I > >::is_valid ( ) const
inherited
template<typename S , typename I >
bool mln::p_graph_piter< S, I >::is_valid_ ( ) const

INTERNAL_API Manipulation.

Test if the iterator is valid.

void mln::Site_Iterator< p_graph_piter< S, 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 S , typename I >
void mln::p_graph_piter< S, I >::next_ ( )

Go to the next point.

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

INTERNAL_API Hook to the current location.

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

Give the site set that this iterator browses.

void mln::Site_Iterator< p_graph_piter< S, I > >::start ( )
inherited
template<typename S , typename I >
void mln::p_graph_piter< S, I >::start_ ( )

Start an iteration.

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

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

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

Give the target address. It might be 0.

const S ::site& mln::internal::site_iterator_base< S, p_graph_piter< S, I > >::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_graph_piter< S, I > >::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_graph_piter< S, I > >::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_graph_piter< S, I > >::category
inherited

Definition at line 68 of file site_proxy.hh.

typedef p_graph_piter< S, I > mln::Object< p_graph_piter< S, I > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef S mln::internal::site_set_iterator_base< S, p_graph_piter< S, I > >::pset
inherited

The associated site set type.

Definition at line 60 of file site_set_iterator_base.hh.

typedef S ::site mln::internal::site_iterator_base< S, p_graph_piter< S, I > >::site
inherited

The associated site type (as a Site_Proxy).

Definition at line 64 of file site_iterator_base.hh.

typedef S mln::internal::site_iterator_base< S, p_graph_piter< S, I > >::target
inherited

The associated target type.

Definition at line 61 of file site_iterator_base.hh.