Public Member Functions

mln::box_runstart_piter< P > Class Template Reference

A generic forward iterator on points by lines. More...

#include <box_runstart_piter.hh>

Inherits site_set_iterator_base< box< P >, box_runstart_piter< P > >.

List of all members.

Public Member Functions

 box_runstart_piter (const box< P > &b)
 Constructor.
void next ()
 Go to the next element.
unsigned run_length () const
 Give the lenght of the run.

Detailed Description

template<typename P>
class mln::box_runstart_piter< P >

A generic forward iterator on points by lines.

The parameter P is the type of points.

Definition at line 49 of file box_runstart_piter.hh.


Constructor & Destructor Documentation

template<typename P >
mln::box_runstart_piter< P >::box_runstart_piter ( const box< P > &  b  )  [inline]

Constructor.

Parameters:
[in] b A box.

Definition at line 105 of file box_runstart_piter.hh.


Member Function Documentation

void mln::Site_Iterator< box_runstart_piter< P > >::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.
template<typename P >
unsigned mln::box_runstart_piter< P >::run_length (  )  const [inline]

Give the lenght of the run.

Definition at line 167 of file box_runstart_piter.hh.