Forward iterator on points of a p_run. More...
#include <p_run_piter.hh>
Public Types | |
typedef Site_Proxy< void > | category |
typedef p_run_fwd_piter_< P > | exact_t |
typedef p_run< P > | pset |
The associated site set type. | |
typedef p_run< P >::site | site |
The associated site type (as a Site_Proxy). | |
typedef p_run< P > | target |
The associated target type. | |
Public Member Functions | |
void | change_target (const p_run< P > &s) |
Change the site set targeted by this iterator. | |
void | invalidate () |
void | invalidate_ () |
Invalidate the iterator. | |
bool | is_valid () const |
bool | is_valid_ () const |
Test if the iterator is valid. | |
void | next () |
Go to the next element. | |
void | next_ () |
Go to the next point. | |
const p_run< P >::psite & | p_hook_ () const |
Hook to the current location. | |
p_run_fwd_piter_ () | |
Constructor without arguments. | |
p_run_fwd_piter_ (const p_run< P > &r) | |
Coordinate associated type. | |
const p_run< P > & | site_set () const |
Give the site set that this iterator browses. | |
void | start () |
void | start_ () |
Start an iteration. | |
const p_run< P >::psite & | subj_ () |
Give the subject (required by the Proxy interface). | |
const p_run< P > *& | target_ () |
Give the target address. It might be 0. | |
const p_run< P >::site & | to_site () const |
Return the site it points to (as a Site_Proxy). | |
Protected Attributes | |
p_run< P >::psite | p_ |
The psite designated by this iterator. | |
const p_run< P > * | s_ |
The target. | |
Private Types | |
typedef p_run_fwd_piter_< P > | self_ |
typedef internal::site_set_iterator_base < p_run< P >, self_ > | super_ |
Forward iterator on points of a p_run.
.
typedef Site_Proxy<void> mln::Site_Proxy< p_run_fwd_piter_< P > >::category [inherited] |
Reimplemented from mln::Proxy< p_run_fwd_piter_< P > >.
typedef p_run_fwd_piter_< P > mln::Object< p_run_fwd_piter_< P > >::exact_t [inherited] |
typedef p_run< P > mln::internal::site_set_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::pset [inherited] |
The associated site set type.
typedef p_run_fwd_piter_<P> mln::p_run_fwd_piter_< P >::self_ [private] |
typedef p_run< P > ::site mln::internal::site_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::site [inherited] |
The associated site type (as a Site_Proxy).
typedef internal::site_set_iterator_base< p_run<P>, self_ > mln::p_run_fwd_piter_< P >::super_ [private] |
Reimplemented from mln::internal::site_iterator_base< p_run< P >, p_run_fwd_piter_< P > >.
typedef p_run< P > mln::internal::site_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::target [inherited] |
The associated target type.
mln::p_run_fwd_piter_< P >::p_run_fwd_piter_ | ( | ) | [inline] |
Constructor without arguments.
mln::p_run_fwd_piter_< P >::p_run_fwd_piter_ | ( | const p_run< P > & | r | ) | [inline] |
Coordinate associated type.
References mln::internal::site_set_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::change_target().
void mln::internal::site_set_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::change_target | ( | const p_run< P > & | s | ) | [inherited] |
Change the site set targeted by this iterator.
Referenced by mln::p_run_fwd_piter_< P >::p_run_fwd_piter_().
void mln::Site_Iterator< p_run_fwd_piter_< P > >::invalidate | ( | ) | [inherited] |
void mln::p_run_fwd_piter_< P >::invalidate_ | ( | ) | [inline] |
Invalidate the iterator.
References mln::internal::site_set_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::p_, and mln::internal::site_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::s_.
bool mln::Site_Iterator< p_run_fwd_piter_< P > >::is_valid | ( | ) | const [inherited] |
bool mln::p_run_fwd_piter_< P >::is_valid_ | ( | ) | const [inline] |
Test if the iterator is valid.
References mln::internal::site_set_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::p_, and mln::internal::site_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::s_.
void mln::Site_Iterator< p_run_fwd_piter_< P > >::next | ( | ) | [inherited] |
Go to the next element.
void mln::p_run_fwd_piter_< P >::next_ | ( | ) | [inline] |
Go to the next point.
References mln::internal::site_set_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::p_.
const p_run< P > ::psite& mln::internal::site_set_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::p_hook_ | ( | ) | const [inherited] |
Hook to the current location.
const p_run< P > & mln::internal::site_set_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::site_set | ( | ) | const [inherited] |
Give the site set that this iterator browses.
void mln::Site_Iterator< p_run_fwd_piter_< P > >::start | ( | ) | [inherited] |
void mln::p_run_fwd_piter_< P >::start_ | ( | ) | [inline] |
Start an iteration.
References mln::internal::site_set_iterator_base< p_run< P >, p_run_fwd_piter_< P > >::p_.
const p_run< P > ::psite& mln::internal::site_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::subj_ | ( | ) | [inherited] |
Give the subject (required by the Proxy interface).
const p_run< P > *& mln::internal::site_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::target_ | ( | ) | [inherited] |
Give the target address. It might be 0.
const p_run< P > ::site& mln::internal::site_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::to_site | ( | ) | const [inherited] |
Return the site it points to (as a Site_Proxy).
p_run< P > ::psite mln::internal::site_set_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::p_ [protected, inherited] |
The psite designated by this iterator.
Referenced by mln::p_run_fwd_piter_< P >::invalidate_(), mln::p_run_fwd_piter_< P >::is_valid_(), mln::p_run_fwd_piter_< P >::next_(), and mln::p_run_fwd_piter_< P >::start_().
const p_run< P > * mln::internal::site_iterator_base< p_run< P > , p_run_fwd_piter_< P > >::s_ [protected, inherited] |
The target.
Referenced by mln::p_run_fwd_piter_< P >::invalidate_(), and mln::p_run_fwd_piter_< P >::is_valid_().