Public Types | Public Member Functions | Protected Attributes | Private Types

mln::topo::static_n_face_bkd_iter< N, D > Class Template Reference

Backward iterator on all the N-faces of a mln::complex<D>. More...

#include <static_n_face_iter.hh>

Inheritance diagram for mln::topo::static_n_face_bkd_iter< N, D >:
Inheritance graph

List of all members.

Public Types

typedef Object< void > category
typedef topo::face< D >
::complex_type 
complex_type
typedef static_n_face_bkd_iter
< N, 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.

 static_n_face_bkd_iter ()
 Construction and assignment.
 static_n_face_bkd_iter (complex< D > &c)

void start ()
 Manipulation.
void next_ ()
 Go to the next point.

void set_cplx (const complex_type &c)
 Manipulation.
bool is_valid () const
 Test if the iterator is valid.
void invalidate ()
 Invalidate the iterator.

const facesubject () 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 static_n_face_bkd_iter
< N, D > 
self_
typedef
internal::complex_set_iterator_base
< topo::face< D >, self_
super_

Detailed Description

template<unsigned N, unsigned D>
class mln::topo::static_n_face_bkd_iter< N, D >

Backward iterator on all the N-faces of a mln::complex<D>.

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

Definition at line 101 of file static_n_face_iter.hh.


Member Typedef Documentation

typedef Object<void> mln::Object< static_n_face_bkd_iter< N, D > >::category [inherited]

Definition at line 174 of file object.hh.

Definition at line 66 of file complex_set_iterator_base.hh.

typedef static_n_face_bkd_iter< N, D > mln::Object< static_n_face_bkd_iter< N, D > >::exact_t [inherited]

Definition at line 173 of file object.hh.

The type of the iterated faces.

Definition at line 84 of file complex_iterator_base.hh.

The type of the iterated faces.

Definition at line 63 of file complex_set_iterator_base.hh.

template<unsigned N, unsigned D>
typedef static_n_face_bkd_iter<N, D> mln::topo::static_n_face_bkd_iter< N, D >::self_ [private]
template<unsigned N, unsigned D>
typedef internal::complex_set_iterator_base< topo::face<D>, self_ > mln::topo::static_n_face_bkd_iter< N, D >::super_ [private]

Definition at line 108 of file static_n_face_iter.hh.


Constructor & Destructor Documentation

template<unsigned N, unsigned D>
mln::topo::static_n_face_bkd_iter< N, D >::static_n_face_bkd_iter (  )  [inline]
template<unsigned N, unsigned D>
mln::topo::static_n_face_bkd_iter< N, D >::static_n_face_bkd_iter ( complex< D > &  c  )  [inline]

Member Function Documentation

void mln::topo::internal::complex_set_iterator_base< topo::face< D > , static_n_face_bkd_iter< N, D > >::invalidate (  )  [inherited]

Invalidate the iterator.

Referenced by mln::topo::static_n_face_bkd_iter< N, D >::next_().

bool mln::topo::internal::complex_set_iterator_base< topo::face< D > , static_n_face_bkd_iter< N, D > >::is_valid (  )  const [inherited]
void mln::Iterator< static_n_face_bkd_iter< N, 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.
template<unsigned N, unsigned D>
void mln::topo::static_n_face_bkd_iter< N, D >::next_ (  )  [inline]
mln::topo::internal::complex_iterator_base< topo::face< D > , static_n_face_bkd_iter< N, D > >::operator const topo::face< D > & (  )  const [inherited]

Implicit conversion (conversion operator).

void mln::topo::internal::complex_set_iterator_base< topo::face< D > , static_n_face_bkd_iter< N, D > >::set_cplx ( const complex_type c  )  [inherited]

Manipulation.

Change the target complex.

template<unsigned N, unsigned D>
void mln::topo::static_n_face_bkd_iter< N, D >::start (  )  [inline]
const face& mln::topo::internal::complex_iterator_base< topo::face< D > , static_n_face_bkd_iter< N, D > >::subject (  )  const [inherited]

Conversion.

Return a reference to the corresponding face handle.

Explicit conversion (accessor).


Member Data Documentation