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 adj_m_face_iterator< D >.

List of all members.

Public Member Functions

void next ()
 Go to the next element.
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.
 adj_m_face_bkd_iter ()
 Construction.


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.


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.

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.


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.


Generated on Tue Jul 14 16:33:14 2009 for Milena (Olena) by  doxygen 1.5.9