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 mln::internal::site_set_iterator_base< S, mln::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.

template<typename E>
void mln::Site_Iterator< E >::next (  )  [inline, 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 Thu Sep 9 19:30:52 2010 for Milena (Olena) by  doxygen 1.5.6