Public Types | Public Member Functions | Protected Member Functions

mln::internal::window_base< D, E > Struct Template Reference

A base class for window classes. More...

#include <window_base.hh>

Inheritance diagram for mln::internal::window_base< D, E >:
Inheritance graph

List of all members.

Public Types

typedef Window< void > category
typedef psite center_t
 Type of the window center.
typedef D dpsite
 DPsite associated type.
typedef E exact_t
typedef D::psite psite
 Psite associated type.
typedef D::site site
 Site associated type.

Public Member Functions

bool is_neighbable_ () const
 Test if this window can be a neighborhood.
bool is_valid () const
 return true by default.

Protected Member Functions

 window_base ()

Detailed Description

template<typename D, typename E>
struct mln::internal::window_base< D, E >

A base class for window classes.

D is a dpsite type.

Definition at line 49 of file window_base.hh.


Member Typedef Documentation

template<typename E>
typedef Window<void> mln::Window< E >::category [inherited]

Reimplemented from mln::Object< E >.

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

template<typename D, typename E>
typedef psite mln::internal::window_base< D, E >::center_t

Type of the window center.

Definition at line 62 of file window_base.hh.

template<typename D, typename E>
typedef D mln::internal::window_base< D, E >::dpsite

DPsite associated type.

Reimplemented in mln::win::multiple< W, F >, and mln::win::multiple_size< n, W, F >.

Definition at line 53 of file window_base.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename D, typename E>
typedef D ::psite mln::internal::window_base< D, E >::psite

Psite associated type.

Reimplemented in mln::win::multiple< W, F >, and mln::win::multiple_size< n, W, F >.

Definition at line 56 of file window_base.hh.

template<typename D, typename E>
typedef D ::site mln::internal::window_base< D, E >::site

Site associated type.

Reimplemented in mln::win::multiple< W, F >, and mln::win::multiple_size< n, W, F >.

Definition at line 59 of file window_base.hh.


Constructor & Destructor Documentation

template<typename D , typename E >
mln::internal::window_base< D, E >::window_base (  )  [inline, protected]

Definition at line 80 of file window_base.hh.


Member Function Documentation

template<typename D , typename E >
bool mln::internal::window_base< D, E >::is_neighbable_ (  )  const [inline]

Test if this window can be a neighborhood.

Definition at line 95 of file window_base.hh.

References mln::exact().

Referenced by mln::convert::over_load::from_to_().

template<typename D , typename E >
bool mln::internal::window_base< D, E >::is_valid (  )  const [inline]