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