mln::neighb< W > Class Template Reference

Adapter class from window to neighborhood. More...

#include <neighb.hh>

Inheritance diagram for mln::neighb< W >:

Inheritance graph

List of all members.

Public Types

typedef neighb_bkd_niter< W > bkd_niter
 Backward site iterator associated type.
typedef neighb_fwd_niter< W > fwd_niter
 Forward site iterator associated type.
typedef fwd_niter niter
 Site iterator associated type.

Public Member Functions

void change_window (const W &new_win)
 Change the corresponding window.
 neighb (const W &win)
 Constructor from a window win.
 neighb ()
 Constructor without argument.
const W & win () const
 Get the corresponding window.


Detailed Description

template<typename W>
class mln::neighb< W >

Adapter class from window to neighborhood.

Member Typedef Documentation

template<typename W>
typedef neighb_bkd_niter<W> mln::neighb< W >::bkd_niter

Backward site iterator associated type.

template<typename W>
typedef neighb_fwd_niter<W> mln::neighb< W >::fwd_niter

Forward site iterator associated type.

template<typename W>
typedef fwd_niter mln::neighb< W >::niter

Site iterator associated type.


Constructor & Destructor Documentation

template<typename W >
mln::neighb< W >::neighb (  )  [inline]

Constructor without argument.

template<typename W>
mln::neighb< W >::neighb ( const W &  win  )  [inline]

Constructor from a window win.

References mln::neighb< W >::change_window().


Member Function Documentation

template<typename W>
void mln::neighb< W >::change_window ( const W &  new_win  )  [inline]

Change the corresponding window.

Referenced by mln::neighb< W >::neighb().

template<typename W >
const W & mln::neighb< W >::win (  )  const [inline]

Get the corresponding window.


Generated on Tue Jul 14 16:32:30 2009 for Milena (Olena) by  doxygen 1.5.9