Public Member Functions

mln::p_indexed_bkd_piter< S > Class Template Reference

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

#include <p_array.hh>

Inherits site_set_iterator_base< S, p_indexed_bkd_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_bkd_piter (const S &s)
 Constructor.
 p_indexed_bkd_piter ()
 Constructor with no argument.

Detailed Description

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

Backward iterator on sites of an indexed site set.

Definition at line 276 of file p_array.hh.


Constructor & Destructor Documentation

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

Constructor with no argument.

Definition at line 686 of file p_array.hh.

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

Constructor.

Definition at line 692 of file p_array.hh.


Member Function Documentation

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

Return the current index.

Definition at line 733 of file p_array.hh.

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