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