Public Member Functions

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

Forward iterator on line graph window. More...

#include <graph_window_if_piter.hh>

Inherits site_relative_iterator_base< W, graph_window_if_piter< S, W, I > >, and is_masked_impl_selector< S, W::mask_t::domain_t, graph_window_if_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.

 graph_window_if_piter ()
 Construction.

const S::graph_element & element () const
 Return the graph element pointed by this iterator.
unsigned id () const
 Return the graph element id.

Detailed Description

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

Forward iterator on line graph window.

Definition at line 47 of file graph_window_if_piter.hh.


Member Typedef Documentation

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

Associated types.

Definition at line 60 of file graph_window_if_piter.hh.


Constructor & Destructor Documentation

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

Construction.

Definition at line 122 of file graph_window_if_piter.hh.


Member Function Documentation

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

Return the graph element pointed by this iterator.

Definition at line 213 of file graph_window_if_piter.hh.

template<typename S , typename W , typename I >
unsigned mln::graph_window_if_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.

Definition at line 221 of file graph_window_if_piter.hh.

void mln::Site_Iterator< graph_window_if_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.