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 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.


Member Typedef Documentation

template<typename W, typename F>
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::bkd_qiter
typedef Window<void> mln::Window< multiple< W, F > >::category [inherited]

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

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 > >.

template<typename W, typename F>
typedef W mln::win::multiple< W, F >::element
typedef multiple< W, F > mln::Object< multiple< W, F > >::exact_t [inherited]
template<typename W, typename F>
typedef multiple_qiter<W,F> mln::win::multiple< W, F >::fwd_qiter
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 > >.

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename W , typename F >
unsigned mln::win::multiple< W, F >::delta (  )  const [inline]
template<typename W , typename F >
const F & mln::win::multiple< W, F >::function (  )  const [inline]
template<typename W , typename F >
bool mln::win::multiple< W, F >::is_centered (  )  const [inline]
template<typename W , typename F >
bool mln::win::multiple< W, F >::is_empty (  )  const [inline]
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]
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]
template<typename W , typename F >
void mln::win::multiple< W, F >::set_window ( unsigned  i,
const W &  win 
) [inline]
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]
template<typename W , typename F >
const W & mln::win::multiple< W, F >::window_ ( unsigned  i  )  const [inline]

Member Data Documentation

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