Forward iterator on (all) the faces of an mln::p_complex<D, G>. More...
#include <p_complex_piter.hh>
Public Types | |
typedef Site_Proxy< void > | category |
typedef p_complex_fwd_piter_ < D, G > | exact_t |
typedef p_complex< D, G > | pset |
The associated site set type. | |
typedef p_complex< D, G >::site | site |
The associated site type (as a Site_Proxy). | |
typedef p_complex< D, G > | target |
The associated target type. | |
Public Member Functions | |
void | change_target (const p_complex< D, G > &s) |
Change the site set targeted by this iterator. | |
void | invalidate () |
bool | is_valid () const |
void | next () |
Go to the next element. | |
const p_complex< D, G >::psite & | p_hook_ () const |
Hook to the current location. | |
const p_complex< D, G > & | site_set () const |
Give the site set that this iterator browses. | |
void | start () |
const p_complex< D, G >::psite & | subj_ () |
Give the subject (required by the Proxy interface). | |
const p_complex< D, G > *& | target_ () |
Give the target address. It might be 0. | |
const p_complex< D, G >::site & | to_site () const |
Return the site it points to (as a Site_Proxy). | |
p_complex_fwd_piter_ () | |
Construction and assignment. | |
p_complex_fwd_piter_ (const p_complex< D, G > &pc) | |
bool | is_valid_ () const |
Manipulation. | |
void | invalidate_ () |
Invalidate the iterator. | |
void | start_ () |
Start an iteration. | |
void | next_ () |
Go to the next point. | |
Protected Attributes | |
iter | iter_ |
The underlying complex iterator. | |
p_complex< D, G >::psite | p_ |
The psite designated by this iterator. | |
const p_complex< D, G > * | s_ |
The target. | |
Private Types | |
typedef p_complex_fwd_piter_ < D, G > | self_ |
typedef internal::p_complex_piter_base_ < topo::face_fwd_iter< D > , p_complex< D, G >, typename G::site, self_ > | super_ |
Forward iterator on (all) the faces of an mln::p_complex<D, G>.
typedef Site_Proxy<void> mln::Site_Proxy< p_complex_fwd_piter_< D, G > >::category [inherited] |
Reimplemented from mln::Proxy< p_complex_fwd_piter_< D, G > >.
typedef p_complex_fwd_piter_< D, G > mln::Object< p_complex_fwd_piter_< D, G > >::exact_t [inherited] |
typedef p_complex< D, G > mln::internal::site_set_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::pset [inherited] |
The associated site set type.
typedef p_complex_fwd_piter_<D, G> mln::p_complex_fwd_piter_< D, G >::self_ [private] |
typedef p_complex< D, G > ::site mln::internal::site_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::site [inherited] |
The associated site type (as a Site_Proxy).
typedef internal::p_complex_piter_base_< topo::face_fwd_iter<D>, p_complex<D, G>, typename G ::site, self_ > mln::p_complex_fwd_piter_< D, G >::super_ [private] |
typedef p_complex< D, G > mln::internal::site_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::target [inherited] |
The associated target type.
mln::p_complex_fwd_piter_< D, G >::p_complex_fwd_piter_ | ( | ) | [inline] |
Construction and assignment.
mln::p_complex_fwd_piter_< D, G >::p_complex_fwd_piter_ | ( | const p_complex< D, G > & | pc | ) | [inline] |
void mln::internal::site_set_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::change_target | ( | const p_complex< D, G > & | s | ) | [inherited] |
Change the site set targeted by this iterator.
void mln::Site_Iterator< p_complex_fwd_piter_< D, G > >::invalidate | ( | ) | [inherited] |
void mln::internal::p_complex_piter_base_< topo::face_fwd_iter< D > , p_complex< D, G > , G::site , p_complex_fwd_piter_< D, G > >::invalidate_ | ( | ) | [inherited] |
Invalidate the iterator.
bool mln::Site_Iterator< p_complex_fwd_piter_< D, G > >::is_valid | ( | ) | const [inherited] |
bool mln::internal::p_complex_piter_base_< topo::face_fwd_iter< D > , p_complex< D, G > , G::site , p_complex_fwd_piter_< D, G > >::is_valid_ | ( | ) | const [inherited] |
Manipulation.
Test if the iterator is valid.
void mln::Site_Iterator< p_complex_fwd_piter_< D, G > >::next | ( | ) | [inherited] |
Go to the next element.
void mln::internal::p_complex_piter_base_< topo::face_fwd_iter< D > , p_complex< D, G > , G::site , p_complex_fwd_piter_< D, G > >::next_ | ( | ) | [inherited] |
Go to the next point.
const p_complex< D, G > ::psite& mln::internal::site_set_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::p_hook_ | ( | ) | const [inherited] |
Hook to the current location.
const p_complex< D, G > & mln::internal::site_set_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::site_set | ( | ) | const [inherited] |
Give the site set that this iterator browses.
void mln::Site_Iterator< p_complex_fwd_piter_< D, G > >::start | ( | ) | [inherited] |
void mln::internal::p_complex_piter_base_< topo::face_fwd_iter< D > , p_complex< D, G > , G::site , p_complex_fwd_piter_< D, G > >::start_ | ( | ) | [inherited] |
Start an iteration.
const p_complex< D, G > ::psite& mln::internal::site_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::subj_ | ( | ) | [inherited] |
Give the subject (required by the Proxy interface).
const p_complex< D, G > *& mln::internal::site_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::target_ | ( | ) | [inherited] |
Give the target address. It might be 0.
const p_complex< D, G > ::site& mln::internal::site_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::to_site | ( | ) | const [inherited] |
Return the site it points to (as a Site_Proxy).
iter mln::internal::p_complex_piter_base_< topo::face_fwd_iter< D > , p_complex< D, G > , G::site , p_complex_fwd_piter_< D, G > >::iter_ [protected, inherited] |
The underlying complex iterator.
p_complex< D, G > ::psite mln::internal::site_set_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::p_ [protected, inherited] |
The psite designated by this iterator.
const p_complex< D, G > * mln::internal::site_iterator_base< p_complex< D, G > , p_complex_fwd_piter_< D, G > >::s_ [protected, inherited] |
The target.