Backward iterator on all the faces of an mln::complex<D>. More...
#include <n_face_iter.hh>
Public Types | |
typedef Object< void > | category |
typedef topo::face< D > ::complex_type | complex_type |
typedef n_face_bkd_iter< D > | exact_t |
typedef topo::face< D > | face |
The type of the iterated faces. | |
typedef topo::face< D > | face_type |
The type of the iterated faces. | |
Public Member Functions | |
void | next () |
Go to the next element. | |
n_face_bkd_iter () | |
Construction and assignment. | |
n_face_bkd_iter (complex< D > &c, unsigned n) | |
void | start () |
Manipulation. | |
void | next_ () |
Go to the next point. | |
unsigned | n () const |
Accessors. | |
void | set_n (unsigned n) |
void | set_cplx (const complex_type &c) |
Manipulation. | |
bool | is_valid () const |
Test if the iterator is valid. | |
void | invalidate () |
Invalidate the iterator. | |
const face & | subject () const |
Conversion. | |
operator const topo::face< D > & () const | |
Implicit conversion (conversion operator). | |
Protected Attributes | |
face | f_ |
The face handle this iterator is pointing to. | |
Private Types | |
typedef n_face_bkd_iter< D > | self_ |
typedef internal::complex_set_iterator_base < topo::face< D >, self_ > | super_ |
Private Member Functions | |
void | invalidate_face_id_ () |
Partially invalidate the iterator (don't alter its dimension). |
Backward iterator on all the faces of an mln::complex<D>.
D | The dimension of the complex this iterator belongs to. |
Definition at line 127 of file n_face_iter.hh.
typedef Object<void> mln::Object< n_face_bkd_iter< D > >::category [inherited] |
typedef topo::face< D > ::complex_type mln::topo::internal::complex_set_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::complex_type [inherited] |
Definition at line 66 of file complex_set_iterator_base.hh.
typedef n_face_bkd_iter< D > mln::Object< n_face_bkd_iter< D > >::exact_t [inherited] |
typedef topo::face< D > mln::topo::internal::complex_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::face [inherited] |
The type of the iterated faces.
Definition at line 84 of file complex_iterator_base.hh.
typedef topo::face< D > mln::topo::internal::complex_set_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::face_type [inherited] |
The type of the iterated faces.
Definition at line 63 of file complex_set_iterator_base.hh.
typedef n_face_bkd_iter<D> mln::topo::n_face_bkd_iter< D >::self_ [private] |
Reimplemented from mln::topo::internal::complex_set_iterator_base< topo::face< D >, n_face_bkd_iter< D > >.
Definition at line 133 of file n_face_iter.hh.
typedef internal::complex_set_iterator_base< topo::face<D>, self_ > mln::topo::n_face_bkd_iter< D >::super_ [private] |
Definition at line 134 of file n_face_iter.hh.
mln::topo::n_face_bkd_iter< D >::n_face_bkd_iter | ( | ) | [inline] |
Construction and assignment.
Definition at line 256 of file n_face_iter.hh.
mln::topo::n_face_bkd_iter< D >::n_face_bkd_iter | ( | complex< D > & | c, | |
unsigned | n | |||
) | [inline] |
Definition at line 263 of file n_face_iter.hh.
References mln::topo::internal::complex_set_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::is_valid(), mln::topo::internal::complex_set_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::set_cplx(), and mln::topo::n_face_bkd_iter< D >::set_n().
void mln::topo::internal::complex_set_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::invalidate | ( | ) | [inherited] |
Invalidate the iterator.
void mln::topo::n_face_bkd_iter< D >::invalidate_face_id_ | ( | ) | [inline, private] |
Partially invalidate the iterator (don't alter its dimension).
Definition at line 300 of file n_face_iter.hh.
References mln::topo::face< D >::cplx(), mln::topo::internal::complex_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::f_, mln::topo::n_face_bkd_iter< D >::n(), and mln::topo::face< D >::set_face_id().
Referenced by mln::topo::n_face_bkd_iter< D >::next_().
bool mln::topo::internal::complex_set_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::is_valid | ( | ) | const [inherited] |
Test if the iterator is valid.
Referenced by mln::topo::n_face_bkd_iter< D >::n_face_bkd_iter(), and mln::topo::n_face_bkd_iter< D >::next_().
unsigned mln::topo::n_face_bkd_iter< D >::n | ( | ) | const [inline] |
Accessors.
Shortcuts to face_'s accessors.
Definition at line 308 of file n_face_iter.hh.
References mln::topo::internal::complex_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::f_, and mln::topo::face< D >::n().
Referenced by mln::topo::n_face_bkd_iter< D >::invalidate_face_id_(), mln::p_n_faces_bkd_piter< D, G >::n(), and mln::topo::n_face_bkd_iter< D >::start().
void mln::Iterator< n_face_bkd_iter< D > >::next | ( | ) | [inherited] |
Go to the next element.
void mln::topo::n_face_bkd_iter< D >::next_ | ( | ) | [inline] |
Go to the next point.
Definition at line 283 of file n_face_iter.hh.
References mln::topo::face< D >::dec_face_id(), mln::topo::internal::complex_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::f_, mln::topo::face< D >::face_id(), mln::topo::n_face_bkd_iter< D >::invalidate_face_id_(), and mln::topo::internal::complex_set_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::is_valid().
mln::topo::internal::complex_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::operator const topo::face< D > & | ( | ) | const [inherited] |
Implicit conversion (conversion operator).
void mln::topo::internal::complex_set_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::set_cplx | ( | const complex_type & | c | ) | [inherited] |
Manipulation.
Change the target complex.
Referenced by mln::topo::n_face_bkd_iter< D >::n_face_bkd_iter().
void mln::topo::n_face_bkd_iter< D >::set_n | ( | unsigned | n | ) | [inline] |
Definition at line 316 of file n_face_iter.hh.
References mln::topo::internal::complex_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::f_, and mln::topo::face< D >::set_n().
Referenced by mln::topo::n_face_bkd_iter< D >::n_face_bkd_iter(), and mln::p_n_faces_bkd_piter< D, G >::set_n().
void mln::topo::n_face_bkd_iter< D >::start | ( | ) | [inline] |
Manipulation.
Start an iteration.
Definition at line 275 of file n_face_iter.hh.
References mln::topo::face< D >::cplx(), mln::topo::internal::complex_iterator_base< topo::face< D >, n_face_bkd_iter< D > >::f_, mln::topo::n_face_bkd_iter< D >::n(), and mln::topo::face< D >::set_face_id().
const face& mln::topo::internal::complex_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::subject | ( | ) | const [inherited] |
Conversion.
Return a reference to the corresponding face handle.
Explicit conversion (accessor).
face mln::topo::internal::complex_iterator_base< topo::face< D > , n_face_bkd_iter< D > >::f_ [protected, inherited] |
The face handle this iterator is pointing to.
Definition at line 98 of file complex_iterator_base.hh.
Referenced by mln::topo::n_face_bkd_iter< D >::invalidate_face_id_(), mln::topo::n_face_bkd_iter< D >::n(), mln::topo::n_face_bkd_iter< D >::next_(), mln::topo::n_face_bkd_iter< D >::set_n(), and mln::topo::n_face_bkd_iter< D >::start().