mln::p_indexed_fwd_piter< S > Class Template Reference

Forward iterator on sites of an indexed site set. More...

#include <p_array.hh>

Inherits site_set_iterator_base< S, p_indexed_fwd_piter< S > >.

List of all members.

Public Member Functions

int index () const
 Return the current index.
void next ()
 Go to the next element.
 p_indexed_fwd_piter (const S &s)
 Constructor.
 p_indexed_fwd_piter ()
 Constructor with no argument.


Detailed Description

template<typename S>
class mln::p_indexed_fwd_piter< S >

Forward iterator on sites of an indexed site set.

Constructor & Destructor Documentation

template<typename S >
mln::p_indexed_fwd_piter< S >::p_indexed_fwd_piter (  )  [inline]

Constructor with no argument.

template<typename S >
mln::p_indexed_fwd_piter< S >::p_indexed_fwd_piter ( const S &  s  )  [inline]

Constructor.


Member Function Documentation

template<typename S >
int mln::p_indexed_fwd_piter< S >::index (  )  const [inline]

Return the current index.

void mln::Site_Iterator< p_indexed_fwd_piter< S > >::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:31 2009 for Milena (Olena) by  doxygen 1.5.9