Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::topo::adj_m_face_fwd_iter< D > Class Template Reference

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

#include <adj_m_face_iter.hh>

Inherits mln::topo::internal::forward_complex_relative_iterator_base< topo::face< D >, algebraic_face< D >, adj_m_face_fwd_iter< D > >, and mln::topo::internal::adj_m_face_iterator< D >.

Public Member Functions

void next ()
 Go to the next element.
 
 adj_m_face_fwd_iter ()
 Construction.
 
template<typename Fref >
 adj_m_face_fwd_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_fwd_iter< D >

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

Template Parameters
DThe 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 70 of file adj_m_face_iter.hh.

Constructor & Destructor Documentation

template<unsigned D>
mln::topo::adj_m_face_fwd_iter< D >::adj_m_face_fwd_iter ( )
inline

Construction.

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

Definition at line 194 of file adj_m_face_iter.hh.

template<unsigned D>
template<typename Fref >
mln::topo::adj_m_face_fwd_iter< D >::adj_m_face_fwd_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 201 of file adj_m_face_iter.hh.

Member Function Documentation

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