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

#include <mln/util/internal/graph_nbh_iter.hh>

Public Member Functions

 edge_nbh_edge_fwd_iterator ()
template<typename C >
 edge_nbh_edge_fwd_iterator (const C &c)
bool is_valid () const
void invalidate ()
void start ()
void next ()
unsigned index () const
util::edge< G >::id_t id () const
 operator typename util::edge< G >::id_t () const
 operator typename util::edge< G >::id_value_t () const
const util::edge< G > & center () const
void center_at (const p_indexed_psite< S > &c)
void center_at (const C2 &c)
void change_target (const G &g)
const util::edge< G > & element () const
const util::edge< G > & elt_hook_ () const
const util::edge< G > & subj_ ()

Protected Member Functions

unsigned next_id_ () const
unsigned start_id_ () const
void update_ ()
bool is_valid_ () const

Protected Attributes

const util::edge< G > * c_
util::edge< G > elt_
unsigned i_

Public Types

typedef Proxy< void > category
typedef E center
typedef
edge_nbh_edge_fwd_iterator< G > 
exact_t
typedef E nbh

Detailed Description

template<typename G>
class mln::internal::edge_nbh_edge_fwd_iterator< G >

Definition at line 232 of file graph_nbh_iter.hh.

Constructor & Destructor Documentation

Construction and assignment.

template<typename G >
template<typename C >
mln::internal::edge_nbh_edge_fwd_iterator< G >::edge_nbh_edge_fwd_iterator ( const C &  c)

Member Function Documentation

const util::edge< G > & mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::center ( ) const
inherited

The psite around which this iterator moves.

void mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::center_at ( const p_indexed_psite< S > &  c)
inherited

Make c the center of this iterator.

void mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::center_at ( const C2 &  c)
inherited
void mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::change_target ( const G &  g)
inherited

Change the graph targeted by this iterator.

const util::edge< G > & mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::element ( ) const
inherited

Return the underlying element.

const util::edge< G > & mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::elt_hook_ ( ) const
inherited

Hook to the current location.

util::edge< G > ::id_t mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::id ( ) const
inherited

Returns the element ID.

unsigned mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::index ( ) const
inherited

Return current index.

(The current element is the i-th neighbor)

void mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::invalidate ( )
inherited

Invalidate the iterator.

bool mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::is_valid ( ) const
inherited

Iterator interface.

Test if the iterator is valid.

template<typename G >
bool mln::internal::edge_nbh_edge_fwd_iterator< G >::is_valid_ ( ) const
protected

Test if the iterator is valid.

void mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::next ( )
inherited

Go to the next value.

template<typename G >
unsigned mln::internal::edge_nbh_edge_fwd_iterator< G >::next_id_ ( ) const
protected

Go to the next value.

mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::operator typename util::edge< G > ::id_t ( ) const
inherited

Conversion operator. Returns the element id.

mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::operator typename util::edge< G > ::id_value_t ( ) const
inherited

Conversion operator.

Returns the element id. FIXME: May cause ambiguities.

void mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::start ( )
inherited

Start an iteration.

template<typename G >
unsigned mln::internal::edge_nbh_edge_fwd_iterator< G >::start_id_ ( ) const
protected

Start an iteration.

const util::edge< G > & mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::subj_ ( )
inherited

Proxy.

Proxy subject

template<typename G >
void mln::internal::edge_nbh_edge_fwd_iterator< G >::update_ ( )
protected

Member Data Documentation

const util::edge< G > * mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::c_
protectedinherited

Definition at line 113 of file graph_nbh_iter_base.hh.

util::edge< G > mln::internal::nbh_iterator_base< G, util::edge< G > , util::edge< G > , edge_nbh_edge_fwd_iterator< G > >::elt_
protectedinherited

Definition at line 114 of file graph_nbh_iter_base.hh.

Definition at line 115 of file graph_nbh_iter_base.hh.

Member Typedef Documentation

typedef Proxy<void> mln::Proxy< edge_nbh_edge_fwd_iterator< G > >::category
inherited

Definition at line 229 of file core/concept/proxy.hh.

template<typename G >
typedef E mln::internal::edge_nbh_edge_fwd_iterator< G >::center

Type of the iterator center element.

Definition at line 244 of file graph_nbh_iter.hh.

Definition at line 105 of file object.hh.

template<typename G >
typedef E mln::internal::edge_nbh_edge_fwd_iterator< G >::nbh

Type of the iterator targeted elements.

Definition at line 246 of file graph_nbh_iter.hh.