27 #ifndef MLN_CORE_CONCEPT_WEIGHTED_WINDOW_HH
28 # define MLN_CORE_CONCEPT_WEIGHTED_WINDOW_HH
36 # include <mln/core/concept/object.hh>
37 # include <mln/core/concept/iterator.hh>
38 # include <mln/trait/windows.hh>
42 # define mln_is_simple_weighted_window(W) \
43 mln_is_simple_window(typename W::window)
51 template <
typename E>
struct Weighted_Window;
101 # ifndef MLN_INCLUDE_ONLY
103 template <
typename E>
107 typedef mln_site(E)
site;
108 typedef mln_psite(E)
psite;
109 typedef mln_dpsite(E) dpsite;
111 typedef mln_weight(E) weight;
112 typedef mln_window(E)
window;
114 typedef mln_fwd_qiter(E) fwd_qiter;
117 void (E::*m1)() = & E::sym;
120 const window& (E::*m2)() const = & E::win;
124 # endif // ! MLN_INCLUDE_ONLY
129 #endif // ! MLN_CORE_CONCEPT_WEIGHTED_WINDOW_HH