$extrastylesheet
#include <mln/core/site_set/p_if_piter.hh>
Public Member Functions | |
p_if_piter_ () | |
p_if_piter_ (const p_if< S, F > &s) | |
void | change_target (const S &s) |
void | invalidate () |
void | invalidate_ () |
bool | is_valid () const |
bool | is_valid_ () const |
void | next () |
void | next_ () |
const S::psite & | p_hook_ () const |
void | pi_change_target_ (const p_if< S, F > &s) |
void | pi_change_target_ (const S &s) |
void | start () |
void | start_ () |
const S::psite & | subj_ () |
const S *& | target_ () |
const S::site & | to_site () const |
Protected Attributes | |
Pi | pi_ |
const S * | s_ |
Public Types | |
typedef Site_Proxy< void > | category |
typedef E | exact_t |
typedef S::site | site |
typedef S | target |
Iterator on site sets conditionned by a function.
Parameter S
is a site set type; parameter F is a function from point to Boolean.
Definition at line 52 of file p_if_piter.hh.
mln::p_if_piter_< Pi, S, F >::p_if_piter_ | ( | ) |
Constructor without argument.
mln::p_if_piter_< Pi, S, F >::p_if_piter_ | ( | const p_if< S, F > & | s | ) |
Constructor from a site set.
|
inherited |
Change the site set targeted by this iterator.
|
inherited |
|
inherited |
Invalidate the iterator.
|
inherited |
|
inherited |
INTERNAL_API Test the iterator validity.
|
inherited |
Go to the next element.
void mln::p_if_piter_< Pi, S, F >::next_ | ( | ) |
Go to the next point.
Reimplemented from mln::internal::piter_adaptor_< Pi, S, E >.
|
inherited |
Hook to the current location.
void mln::p_if_piter_< Pi, S, F >::pi_change_target_ | ( | const p_if< S, F > & | s | ) |
Change the set site targeted by pi_.
|
inherited |
Change the site set targeted by pi_.
This default impl is a no-op. This method might be overridden.
|
inherited |
Reimplemented in mln::hexa_fwd_piter_< S >.
void mln::p_if_piter_< Pi, S, F >::start_ | ( | ) |
INTERNAL_API Start an iteration.
Reimplemented from mln::internal::piter_adaptor_< Pi, S, E >.
|
inherited |
INTERNAL_API Give the subject (required by the Proxy interface).
Reimplemented in mln::internal::site_relative_iterator_base< S, E, C >, mln::internal::site_relative_iterator_base< mixed_neighb< W >, neighb_bkd_niter< W >, mixed_neighb< W >::psite >, mln::internal::site_relative_iterator_base< W, graph_window_piter< S, W, I >, W::center_t >, mln::internal::site_relative_iterator_base< neighb< W >, neighb_bkd_niter< W >, neighb< W >::psite >, mln::internal::site_relative_iterator_base< multiple< W, F >, multiple_qiter< W, F > >, mln::internal::site_relative_iterator_base< V, dpsites_bkd_piter< V > >, mln::internal::site_relative_iterator_base< neighb< W >, neighb_fwd_niter< W >, neighb< W >::psite >, mln::internal::site_relative_iterator_base< W, graph_window_if_piter< S, W, I > >, mln::internal::site_relative_iterator_base< mixed_neighb< W >, neighb_fwd_niter< W >, mixed_neighb< W >::psite >, mln::internal::site_relative_iterator_base< W, complex_window_fwd_piter< I, G, W > >, mln::internal::site_relative_iterator_base< W, complex_window_bkd_piter< I, G, W > >, mln::internal::site_relative_iterator_base< N, E, N::psite >, mln::internal::site_relative_iterator_base< multiple_size< n, W, F >, multiple_size_qiter< n, W, F > >, mln::internal::site_relative_iterator_base< N, complex_neighborhood_bkd_piter< I, G, N > >, mln::internal::site_relative_iterator_base< N, complex_neighborhood_fwd_piter< I, G, N > >, and mln::internal::site_relative_iterator_base< V, dpsites_fwd_piter< V > >.
|
inherited |
Give the target address. It might be 0.
|
inherited |
Return the site it points to (as a Site_Proxy).
|
protectedinherited |
The adaptee site iterator.
Definition at line 92 of file piter_adaptor.hh.
|
protectedinherited |
The target.
Definition at line 91 of file site_iterator_base.hh.
|
inherited |
Definition at line 68 of file site_proxy.hh.
|
inherited |
|
inherited |
The associated site type (as a Site_Proxy).
Definition at line 64 of file site_iterator_base.hh.
|
inherited |
The associated target type.
Definition at line 61 of file site_iterator_base.hh.