$extrastylesheet
#include <mln/core/internal/neighb_niter_base.hh>
Public Member Functions | |
neighb_niter_base () | |
template<typename P > | |
neighb_niter_base (const N &nbh, const P &c) | |
const N::psite & | center () const |
void | center_at (const P &c) |
void | change_target (const N &s) |
W::psite | compute_p_ () const |
void | do_next_ () |
void | do_start_ () |
void | invalidate () |
void | invalidate_ () |
bool | is_valid () const |
bool | is_valid_ () const |
void | next () |
void | next_ () |
const N::psite & | p_hook_ () const |
const N & | site_set () const |
void | start () |
void | start_ () |
const N::psite & | subj_ () |
const N *& | target_ () |
const N::site & | to_site () const |
E & | update () |
Protected Attributes | |
const N::psite * | c_ |
I | i_ |
const N * | s_ |
Public Types | |
typedef Site_Proxy< void > | category |
typedef E | exact_t |
typedef N::site | site |
typedef N | target |
Base implementation for neighborhood iterators.
Definition at line 47 of file neighb_niter_base.hh.
mln::internal::neighb_niter_base< W, N, I, E >::neighb_niter_base | ( | ) |
Constructor without argument.
mln::internal::neighb_niter_base< W, N, I, E >::neighb_niter_base | ( | const N & | nbh, |
const P & | c | ||
) |
|
inherited |
The psite around which this iterator moves.
|
inherited |
|
inherited |
Change the site set targeted by this iterator.
W ::psite mln::internal::neighb_niter_base< W, N, I, E >::compute_p_ | ( | ) | const |
Compute the current psite.
void mln::internal::neighb_niter_base< W, N, I, E >::do_next_ | ( | ) |
Go to the next point.
void mln::internal::neighb_niter_base< W, N, I, E >::do_start_ | ( | ) |
Start an iteration.
|
inherited |
void mln::internal::neighb_niter_base< W, N, I, E >::invalidate_ | ( | ) |
Invalidate the iterator.
|
inherited |
bool mln::internal::neighb_niter_base< W, N, I, E >::is_valid_ | ( | ) | const |
INTERNAL_API Test the iterator validity.
|
inherited |
Go to the next element.
|
inherited |
Go to the next point.
|
inherited |
Hook to the current location.
|
inherited |
Give the site set (neighborhood or window) that this iterator browses.
|
inherited |
Reimplemented in mln::hexa_fwd_piter_< S >.
|
inherited |
INTERNAL_API Start an iteration.
|
inherited |
INTERNAL_API This overriding is very useful: it adds a test to prevent getting an invalid iterator when its center has moved.
Some sub-classes provide an update() method for the client to say that she really want to read the iterator just after the center has changed.
Reimplemented from mln::internal::site_iterator_base< N, E >.
|
inherited |
Give the target address. It might be 0.
|
inherited |
Return the site it points to (as a Site_Proxy).
|
inherited |
Warning: this method is an advanced tool provided for very special occasions; if you are a regular user, you should never use it! Calling this method forces this relative iterator to synchronize with its center when it has just moved and when the relative iterator still makes sense.
|
protectedinherited |
A pointer to the center psite around which this iterator moves.
Definition at line 113 of file site_relative_iterator_base.hh.
|
protected |
Definition at line 79 of file neighb_niter_base.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.