Public Member Functions | Protected Attributes

mln::with_w_< It, W > Struct Template Reference

Decorator to handle weights for iterators on window points. More...

#include <w_window.hh>

List of all members.

Public Member Functions

w () const
template<typename Ds , typename P >
 with_w_ (const Ds &ds, const P &p)

Protected Attributes

const std::vector< W > wei_

Detailed Description

template<typename It, typename W>
struct mln::with_w_< It, W >

Decorator to handle weights for iterators on window points.

Definition at line 170 of file core/w_window.hh.


Constructor & Destructor Documentation

template<typename It , typename W >
template<typename Ds , typename P >
mln::with_w_< It, W >::with_w_ ( const Ds &  ds,
const P &  p 
) [inline]

Definition at line 192 of file core/w_window.hh.


Member Function Documentation

template<typename It , typename W >
W mln::with_w_< It, W >::w (  )  const [inline]

Definition at line 202 of file core/w_window.hh.

References mln::with_w_< It, W >::wei_.


Member Data Documentation

template<typename It , typename W >
const std::vector<W> mln::with_w_< It, W >::wei_ [protected]

Definition at line 179 of file core/w_window.hh.

Referenced by mln::with_w_< It, W >::w().