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


Member Typedef Documentation

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

Reimplemented from mln::Object< E >.

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

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]
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 >.

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


Constructor & Destructor Documentation

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

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.

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]