mln::p_graph_piter< S, I > Class Template Reference

Generic iterator on point sites of a mln::S. More...

#include <p_graph_piter.hh>

Inherits site_set_iterator_base< S, p_graph_piter< S, I > >.

List of all members.

Public Member Functions

const S::graph_t & graph () const
 Return the graph associated to the target S.
unsigned id () const
 Return the graph element id.
 mln_q_subject (iter) element()
 Return the underlying graph element.
void next ()
 Go to the next element.
 p_graph_piter ()
 Constructors.


Detailed Description

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

Generic iterator on point sites of a mln::S.

Constructor & Destructor Documentation

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

Constructors.


Member Function Documentation

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

Return the graph associated to the target S.

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

Return the graph element id.

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

Return the underlying graph element.

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.


Generated on Tue Jul 14 16:32:31 2009 for Milena (Olena) by  doxygen 1.5.9