Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
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, p_graph_piter< S, I > >.

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.

Definition at line 55 of file p_graph_piter.hh.

Constructor & Destructor Documentation

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

Constructors.

Definition at line 151 of file p_graph_piter.hh.

Member Function Documentation

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

Return the graph associated to the target S.

Definition at line 212 of file p_graph_piter.hh.

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

Return the graph element id.

Definition at line 228 of file p_graph_piter.hh.

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.