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

mln::topo::centered_fwd_iter_adapter< D, I > Class Template Reference

Backward complex relative iterator adapters adding the central (reference) point to the set of iterated faces. More...

#include <centered_iter_adapter.hh>

Inheritance diagram for mln::topo::centered_fwd_iter_adapter< D, I >:
Inheritance graph

List of all members.

Public Types

typedef Object< void > category
typedef center_only_iter< D >
::center_type 
center_type
 The type of the center face.
typedef
centered_fwd_iter_adapter< D,
I > 
exact_t
typedef center_only_iter< D >
::face_type 
face_type
 The type of the iterated faces.

Public Member Functions

void next ()
 Go to the next element.

 centered_fwd_iter_adapter ()
 Construction.
template<typename Fref >
 centered_fwd_iter_adapter (const Fref &f_ref)

void center_at (const center_type &c)
 Manipulation.
bool is_valid () const
 Test if the iterator is valid.
void invalidate ()
 Invalidate the iterator.
void start ()
 Start an iteration.
void next_ ()
 Go to the next point.

 operator typename const_face_type_< center_only_iter< D > >::ret () const
 Conversion.

Protected Member Functions

void update_ ()
 Update the target face.

Protected Attributes

face_type f_
 The face handle this iterator is pointing to.

Private Types

typedef center_only_iter< D > iter1_
 The first complex relative iterator.
typedef I iter2_
 The second complex relative iterator.
typedef
centered_fwd_iter_adapter< D,
I > 
self_
typedef
internal::complex_relative_iterator_sequence
< iter1_, iter2_, self_
super_

Detailed Description

template<unsigned D, typename I>
class mln::topo::centered_fwd_iter_adapter< D, I >

Backward complex relative iterator adapters adding the central (reference) point to the set of iterated faces.

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

Definition at line 57 of file centered_iter_adapter.hh.


Member Typedef Documentation

typedef Object<void> mln::Object< centered_fwd_iter_adapter< D, I > >::category [inherited]

Definition at line 174 of file object.hh.

The type of the center face.

Definition at line 75 of file complex_relative_iterator_sequence.hh.

Definition at line 173 of file object.hh.

The type of the iterated faces.

Definition at line 77 of file complex_relative_iterator_sequence.hh.

template<unsigned D, typename I >
typedef center_only_iter<D> mln::topo::centered_fwd_iter_adapter< D, I >::iter1_ [private]
template<unsigned D, typename I >
typedef I mln::topo::centered_fwd_iter_adapter< D, I >::iter2_ [private]
template<unsigned D, typename I >
typedef centered_fwd_iter_adapter<D, I> mln::topo::centered_fwd_iter_adapter< D, I >::self_ [private]
template<unsigned D, typename I >
typedef internal::complex_relative_iterator_sequence< iter1_, iter2_, self_ > mln::topo::centered_fwd_iter_adapter< D, I >::super_ [private]

Definition at line 67 of file centered_iter_adapter.hh.


Constructor & Destructor Documentation

template<unsigned D, typename I >
mln::topo::centered_fwd_iter_adapter< D, I >::centered_fwd_iter_adapter (  )  [inline]

Construction.

Definition at line 122 of file centered_iter_adapter.hh.

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

Definition at line 129 of file centered_iter_adapter.hh.


Member Function Documentation

void mln::topo::internal::complex_relative_iterator_sequence< center_only_iter< D > , I , centered_fwd_iter_adapter< D, I > >::center_at ( const center_type c  )  [inherited]

Manipulation.

Change the center face.

Invalidate the iterator.

bool mln::topo::internal::complex_relative_iterator_sequence< center_only_iter< D > , I , centered_fwd_iter_adapter< D, I > >::is_valid (  )  const [inherited]

Test if the iterator is valid.

void mln::Iterator< centered_fwd_iter_adapter< D, I > >::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.

Go to the next point.

mln::topo::internal::complex_relative_iterator_sequence< center_only_iter< D > , I , centered_fwd_iter_adapter< D, I > >::operator typename const_face_type_< center_only_iter< D > >::ret (  )  const [inherited]

Conversion.

Return a reference to the corresponding face handle.

Start an iteration.

void mln::topo::internal::complex_relative_iterator_sequence< center_only_iter< D > , I , centered_fwd_iter_adapter< D, I > >::update_ (  )  [protected, inherited]

Update the target face.


Member Data Documentation

The face handle this iterator is pointing to.

Definition at line 120 of file complex_relative_iterator_sequence.hh.