Public Types | Public Member Functions | Private Attributes

mln::win::multiple< W, F > Class Template Reference
[Multiple windows]

Multiple window. More...

#include <multiple.hh>

Inheritance diagram for mln::win::multiple< W, F >:
Inheritance graph

List of all members.

Public Types

typedef multiple_qiter< W, F > bkd_qiter
typedef Window< void > category
typedef psite center_t
 Type of the window center.
typedef W::dpsite dpsite
 DPsite associated type.
typedef W element
typedef multiple< W, F > exact_t
typedef multiple_qiter< W, F > fwd_qiter
typedef W::psite psite
 Psite associated type.
typedef multiple_qiter< W, F > qiter
typedef multiple< window
< dpsite >, F > 
regular
typedef W::site site
 Site associated type.

Public Member Functions

unsigned delta () const
const F & function () const
bool is_centered () const
bool is_empty () const
bool is_neighbable_ () const
 Test if this window can be a neighborhood.
bool is_symmetric () const
bool is_valid () const
 return true by default.
const W::dpsite & ith_dp_around (unsigned i, const typename W::psite &p) const
 multiple (const F &f)
 multiple ()
unsigned nwindows () const
void set_window (unsigned i, const W &win)
unsigned size () const
void sym ()
const W & window_ (unsigned i) const

Private Attributes

f_
util::array< W > win_

Detailed Description

template<typename W, typename F>
class mln::win::multiple< W, F >

Multiple window.

Definition at line 76 of file multiple.hh.


Member Typedef Documentation

template<typename W, typename F>
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::bkd_qiter

Definition at line 94 of file multiple.hh.

typedef Window<void> mln::Window< multiple< W, F > >::category [inherited]

Reimplemented from mln::Object< multiple< W, F > >.

Definition at line 89 of file concept/window.hh.

typedef psite mln::internal::window_base< W::dpsite , multiple< W, F > >::center_t [inherited]

Type of the window center.

Definition at line 62 of file window_base.hh.

template<typename W, typename F>
typedef W ::dpsite mln::win::multiple< W, F >::dpsite

DPsite associated type.

Reimplemented from mln::internal::window_base< W::dpsite, multiple< W, F > >.

Definition at line 87 of file multiple.hh.

template<typename W, typename F>
typedef W mln::win::multiple< W, F >::element

Definition at line 97 of file multiple.hh.

typedef multiple< W, F > mln::Object< multiple< W, F > >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename W, typename F>
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::fwd_qiter

Definition at line 93 of file multiple.hh.

template<typename W, typename F>
typedef W ::psite mln::win::multiple< W, F >::psite

Psite associated type.

Reimplemented from mln::internal::window_base< W::dpsite, multiple< W, F > >.

Definition at line 88 of file multiple.hh.

template<typename W, typename F>
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::qiter

Definition at line 95 of file multiple.hh.

template<typename W, typename F>
typedef multiple< window<dpsite>, F > mln::win::multiple< W, F >::regular

Definition at line 91 of file multiple.hh.

template<typename W, typename F>
typedef W ::site mln::win::multiple< W, F >::site

Site associated type.

Reimplemented from mln::internal::window_base< W::dpsite, multiple< W, F > >.

Definition at line 89 of file multiple.hh.


Constructor & Destructor Documentation

template<typename W , typename F >
mln::win::multiple< W, F >::multiple (  )  [inline]

Definition at line 180 of file multiple.hh.

template<typename W , typename F >
mln::win::multiple< W, F >::multiple ( const F &  f  )  [inline]

Definition at line 187 of file multiple.hh.


Member Function Documentation

template<typename W , typename F >
unsigned mln::win::multiple< W, F >::delta (  )  const [inline]

Definition at line 286 of file multiple.hh.

template<typename W , typename F >
const F & mln::win::multiple< W, F >::function (  )  const [inline]

Definition at line 231 of file multiple.hh.

template<typename W , typename F >
bool mln::win::multiple< W, F >::is_centered (  )  const [inline]

Definition at line 251 of file multiple.hh.

template<typename W , typename F >
bool mln::win::multiple< W, F >::is_empty (  )  const [inline]

Definition at line 195 of file multiple.hh.

bool mln::internal::window_base< W::dpsite , multiple< W, F > >::is_neighbable_ (  )  const [inherited]

Test if this window can be a neighborhood.

template<typename W , typename F >
bool mln::win::multiple< W, F >::is_symmetric (  )  const [inline]

Definition at line 263 of file multiple.hh.

bool mln::internal::window_base< W::dpsite , multiple< W, F > >::is_valid (  )  const [inherited]

return true by default.

template<typename W , typename F >
const W::dpsite & mln::win::multiple< W, F >::ith_dp_around ( unsigned  i,
const typename W::psite &  p 
) const [inline]
template<typename W , typename F >
unsigned mln::win::multiple< W, F >::nwindows (  )  const [inline]

Definition at line 223 of file multiple.hh.

template<typename W , typename F >
void mln::win::multiple< W, F >::set_window ( unsigned  i,
const W &  win 
) [inline]

Definition at line 203 of file multiple.hh.

template<typename W , typename F >
unsigned mln::win::multiple< W, F >::size (  )  const [inline]
template<typename W , typename F >
void mln::win::multiple< W, F >::sym (  )  [inline]

Definition at line 276 of file multiple.hh.

template<typename W , typename F >
const W & mln::win::multiple< W, F >::window_ ( unsigned  i  )  const [inline]

Definition at line 214 of file multiple.hh.


Member Data Documentation

template<typename W, typename F>
F mln::win::multiple< W, F >::f_ [private]

Definition at line 128 of file multiple.hh.

Referenced by mln::win::multiple< W, F >::ith_dp_around().

template<typename W, typename F>
util::array<W> mln::win::multiple< W, F >::win_ [private]

Definition at line 127 of file multiple.hh.