Public Member Functions

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

Backward iterator on all the m-faces transitively adjacent to a (reference) n-face in a complex. More...

#include <adj_m_face_iter.hh>

Inherits backward_complex_relative_iterator_base< topo::face< D >, algebraic_face< D >, adj_m_face_bkd_iter< D > >, and mln::topo::internal::adj_m_face_iterator< D >.

List of all members.

Public Member Functions

void next ()
 Go to the next element.

 adj_m_face_bkd_iter ()
 Construction.
template<typename Fref >
 adj_m_face_bkd_iter (const Fref &f_ref, unsigned m)
 Constructs an iterator, with f_ref as reference face, and a target dimension equal to m.

Detailed Description

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

Backward iterator on all the m-faces transitively adjacent to a (reference) n-face in a complex.

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

The dimension parameter (m_) must be lower or equal to D.

If m_ is equal to the dimension of the reference face, then the iterated set is empty.

Definition at line 118 of file adj_m_face_iter.hh.


Constructor & Destructor Documentation

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

Construction.

Construct an iterator, with an invalid reference face, and a target dimension equal to 0.

Definition at line 223 of file adj_m_face_iter.hh.

template<unsigned D>
template<typename Fref >
mln::topo::adj_m_face_bkd_iter< D >::adj_m_face_bkd_iter ( const Fref &  f_ref,
unsigned  m 
) [inline]

Constructs an iterator, with f_ref as reference face, and a target dimension equal to m.

Definition at line 230 of file adj_m_face_iter.hh.


Member Function Documentation

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