mln::graph_window_piter< S, W, I > Class Template Reference

Forward iterator on line graph window. More...

#include <graph_window_piter.hh>

Inherits site_relative_iterator_base< W, graph_window_piter< S, W, I > >.

List of all members.

Public Types

typedef S::fun_t::result P
 Associated types.

Public Member Functions

void next ()
 Go to the next element.
const S::graph_element & element () const
 Return the graph element pointed by this iterator.
unsigned id () const
 Return the graph element id.
 graph_window_piter ()
 Construction.


Detailed Description

template<typename S, typename W, typename I>
class mln::graph_window_piter< S, W, I >

Forward iterator on line graph window.

Member Typedef Documentation

template<typename S , typename W , typename I >
typedef S::fun_t ::result mln::graph_window_piter< S, W, I >::P

Associated types.


Constructor & Destructor Documentation

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

Construction.


Member Function Documentation

template<typename S , typename W , typename I >
const S::graph_element & mln::graph_window_piter< S, W, I >::element (  )  const [inline]

Return the graph element pointed by this iterator.

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

Return the graph element id.

FIXME: we do not want to have this member since there is an automatic conversion to the graph element. C++ does not seem to use this conversion operator.

void mln::Site_Iterator< graph_window_piter< S, W, 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:23 2009 for Milena (Olena) by  doxygen 1.5.9