Public Types

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

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

#include <complex_window_p_base.hh>

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

List of all members.

Public Types

typedef Window< void > category
typedef E exact_t

typedef
topo::centered_fwd_iter_adapter
< D, adj_only_fwd_iter_
complex_fwd_iter
 The associated complex iterators.
typedef
topo::centered_bkd_iter_adapter
< D, adj_only_bkd_iter_
complex_bkd_iter

typedef complex_psite< D, G > psite
 Associated types.
typedef psite::site site
 The type of site corresponding to the window.
typedef void dpsite
typedef
complex_window_fwd_piter
< complex_fwd_iter, G, E > 
fwd_qiter
 Site_Iterator type to browse the psites of the window w.r.t.
typedef
complex_window_bkd_piter
< complex_bkd_iter, G, E > 
bkd_qiter
 Site_Iterator type to browse the psites of the window w.r.t.
typedef fwd_qiter qiter
 The default qiter type.

Public Member Functions

bool is_empty () const
 Services.
bool is_centered () const
 Is this window centered? (Always returns true).
bool is_valid () const
 Return true by default.

Private Types

typedef F adj_only_fwd_iter_
 The complex iterators on the adjacent faces only (without the center point).
typedef B adj_only_bkd_iter_

Detailed Description

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

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

The center (site) is part of the window.

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 B mln::internal::complex_window_p_base< D, G, F, B, E >::adj_only_bkd_iter_ [private]
template<unsigned D, typename G , typename F , typename B , typename E >
typedef F mln::internal::complex_window_p_base< D, G, F, B, E >::adj_only_fwd_iter_ [private]

The complex iterators on the adjacent faces only (without the center point).

template<unsigned D, typename G , typename F , typename B , typename E >
typedef complex_window_bkd_piter<complex_bkd_iter, G, E> mln::internal::complex_window_p_base< D, G, F, B, E >::bkd_qiter

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

the reverse ordering of vertices.

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

Reimplemented from mln::Object< E >.

template<unsigned D, typename G , typename F , typename B , typename E >
typedef topo::centered_bkd_iter_adapter<D, adj_only_bkd_iter_> mln::internal::complex_window_p_base< D, G, F, B, E >::complex_bkd_iter
template<unsigned D, typename G , typename F , typename B , typename E >
typedef topo::centered_fwd_iter_adapter<D, adj_only_fwd_iter_> mln::internal::complex_window_p_base< D, G, F, B, E >::complex_fwd_iter

The associated complex iterators.

template<unsigned D, typename G , typename F , typename B , typename E >
typedef void mln::internal::complex_window_p_base< D, G, F, B, E >::dpsite
template<typename E>
typedef E mln::Object< E >::exact_t [inherited]
template<unsigned D, typename G , typename F , typename B , typename E >
typedef complex_window_fwd_piter<complex_fwd_iter, G, E> mln::internal::complex_window_p_base< D, G, F, B, E >::fwd_qiter

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

the ordering of vertices.

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

Associated types.

The type of psite corresponding to the window.

template<unsigned D, typename G , typename F , typename B , typename E >
typedef fwd_qiter mln::internal::complex_window_p_base< D, G, F, B, E >::qiter

The default qiter type.

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

The type of site corresponding to the window.


Member Function Documentation

template<unsigned D, typename G , typename F , typename B , typename E >
bool mln::internal::complex_window_p_base< D, G, F, B, E >::is_centered (  )  const

Is this window centered? (Always returns true).

template<unsigned D, typename G , typename F , typename B , typename E >
bool mln::internal::complex_window_p_base< D, G, F, B, E >::is_empty (  )  const

Services.

Is this window empty? (Always returns false).

template<unsigned D, typename G , typename F , typename B , typename E >
bool mln::internal::complex_window_p_base< D, G, F, B, E >::is_valid (  )  const

Return true by default.