Public Types | Public Member Functions

mln::internal::complex_neighborhood_base< D, G, F, B, E > Class Template Reference

Generic neighborhood centered on the face of a complex, based on an pair of (forward and backward) complex iterators. More...

#include <complex_neighborhood_base.hh>

Inheritance diagram for mln::internal::complex_neighborhood_base< D, G, F, B, E >:
Inheritance graph

List of all members.

Public Types

typedef Neighborhood< void > category
typedef E exact_t

typedef F complex_fwd_iter
 The associated complex iterators.
typedef B complex_bkd_iter

typedef complex_psite< D, G > psite
 Associated types.
typedef psite::site site
 The type of site corresponding to the neighborhood.
typedef
complex_neighborhood_fwd_piter
< complex_fwd_iter, G, E > 
fwd_niter
 Site_Iterator type to browse the psites of the neighborhood w.r.t.
typedef
complex_neighborhood_bkd_piter
< complex_bkd_iter, G, E > 
bkd_niter
 Site_Iterator type to browse the psites of the neighborhood w.r.t.
typedef fwd_niter niter
 The default niter type.

Public Member Functions

bool is_valid () const
 Return true by default.



typedef E window
 Conversions.
const windowwin () const
 Create a window corresponding to this neighborhood.

Detailed Description

template<unsigned D, typename G, typename F, typename B, typename E>
class mln::internal::complex_neighborhood_base< D, G, F, B, E >

Generic neighborhood centered on the face of a complex, based on an pair of (forward and backward) complex iterators.

Template Parameters:
D The dimension of the complex.
G The type of the geometry functor of the complex.
F The underlying forward iterator type.
B The underlying backward iterator type.
E The exact type.

Member Typedef Documentation

template<unsigned D, typename G, typename F, typename B, typename E>
typedef complex_neighborhood_bkd_piter<complex_bkd_iter, G, E> mln::internal::complex_neighborhood_base< D, G, F, B, E >::bkd_niter

Site_Iterator type to browse the psites of the neighborhood w.r.t.

the reverse ordering of vertices.

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

Reimplemented from mln::Object< E >.

template<unsigned D, typename G, typename F, typename B, typename E>
typedef B mln::internal::complex_neighborhood_base< D, G, F, B, E >::complex_bkd_iter
template<unsigned D, typename G, typename F, typename B, typename E>
typedef F mln::internal::complex_neighborhood_base< D, G, F, B, E >::complex_fwd_iter

The associated complex iterators.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]
template<unsigned D, typename G, typename F, typename B, typename E>
typedef complex_neighborhood_fwd_piter<complex_fwd_iter, G, E> mln::internal::complex_neighborhood_base< D, G, F, B, E >::fwd_niter

Site_Iterator type to browse the psites of the neighborhood w.r.t.

the ordering of vertices.

template<unsigned D, typename G, typename F, typename B, typename E>
typedef fwd_niter mln::internal::complex_neighborhood_base< D, G, F, B, E >::niter

The default niter type.

template<unsigned D, typename G, typename F, typename B, typename E>
typedef complex_psite<D, G> mln::internal::complex_neighborhood_base< D, G, F, B, E >::psite

Associated types.

The type of psite corresponding to the neighborhood.

template<unsigned D, typename G, typename F, typename B, typename E>
typedef psite ::site mln::internal::complex_neighborhood_base< D, G, F, B, E >::site

The type of site corresponding to the neighborhood.

template<unsigned D, typename G, typename F, typename B, typename E>
typedef E mln::internal::complex_neighborhood_base< D, G, F, B, E >::window

Conversions.

The window type corresponding to this neighborhood.


Member Function Documentation

template<unsigned D, typename G , typename F , typename B , typename E >
bool mln::internal::complex_neighborhood_base< D, G, F, B, E >::is_valid (  )  const [inline]

Return true by default.

template<unsigned D, typename G , typename F , typename B , typename E >
const complex_neighborhood_base< D, G, F, B, E >::window & mln::internal::complex_neighborhood_base< D, G, F, B, E >::win (  )  const [inline]

Create a window corresponding to this neighborhood.

References mln::exact().