Public Member Functions

mln::topo::center_only_iter< D > Class Template Reference

Iterator on all the adjacent (n-1)-faces of the n-face of an mln::complex<D>. More...

#include <center_only_iter.hh>

Inherits forward_complex_relative_iterator_base< topo::face< D >, algebraic_face< D >, center_only_iter< D > >.

List of all members.

Public Member Functions

void next ()
 Go to the next element.

 center_only_iter ()
 Construction.

Detailed Description

template<unsigned D>
class mln::topo::center_only_iter< D >

Iterator on all the adjacent (n-1)-faces of the n-face of an mln::complex<D>.

Template Parameters:
D The dimension of the complex this iterator belongs to.

mln::topo::center_only_iter inherits from mln::topo::internal::forward_complex_relative_iterator_base, but it could inherit from mln::topo::internal::backward_complex_relative_iterator_base as well, since it always contains a single element, the center/reference face (and the traversal order is meaningless).

This iterator is essentially used to implement other iterators.

See also:
mln::topo::centered_iter_adapter
mln::complex_lower_window
mln::complex_higher_window
mln::complex_lower_higher_window

Definition at line 73 of file center_only_iter.hh.


Constructor & Destructor Documentation

template<unsigned D>
mln::topo::center_only_iter< D >::center_only_iter (  )  [inline]

Construction.

Definition at line 107 of file center_only_iter.hh.


Member Function Documentation

void mln::Iterator< center_only_iter< D > >::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.