#include <saturate.hh>
Public Types | |
typedef Function_v2v< void > | category |
typedef saturate< V > | exact_t |
typedef void | mutable_result |
typedef V | result |
Public Member Functions | |
template<typename W > | |
V | operator() (const W &w) const |
saturate () | |
saturate (const V &min, const V &max) | |
Protected Attributes | |
V | max_ |
V | min_ |
bool | needs_update_ |
Definition at line 54 of file fun/v2v/saturate.hh.
typedef Function_v2v<void> mln::Function_v2v< saturate< V > >::category [inherited] |
Reimplemented from mln::Function< saturate< V > >.
Definition at line 126 of file function.hh.
typedef saturate< V > mln::Object< saturate< V > >::exact_t [inherited] |
typedef void mln::Function_v2v< saturate< V > >::mutable_result [inherited] |
Definition at line 127 of file function.hh.
typedef V mln::fun::v2v::saturate< V >::result |
Definition at line 59 of file fun/v2v/saturate.hh.
mln::fun::v2v::saturate< V >::saturate | ( | ) | [inline] |
Definition at line 74 of file fun/v2v/saturate.hh.
References mln::fun::v2v::saturate< V >::needs_update_.
mln::fun::v2v::saturate< V >::saturate | ( | const V & | min, | |
const V & | max | |||
) | [inline] |
Definition at line 83 of file fun/v2v/saturate.hh.
References mln::fun::v2v::saturate< V >::needs_update_.
V mln::fun::v2v::saturate< V >::operator() | ( | const W & | w | ) | const [inline] |
Definition at line 95 of file fun/v2v/saturate.hh.
References mln::convert::from_to(), mln::fun::v2v::saturate< V >::max_, mln::fun::v2v::saturate< V >::min_, and mln::fun::v2v::saturate< V >::needs_update_.
V mln::fun::v2v::saturate< V >::max_ [protected] |
Definition at line 65 of file fun/v2v/saturate.hh.
Referenced by mln::fun::v2v::saturate< V >::operator()().
V mln::fun::v2v::saturate< V >::min_ [protected] |
Definition at line 65 of file fun/v2v/saturate.hh.
Referenced by mln::fun::v2v::saturate< V >::operator()().
bool mln::fun::v2v::saturate< V >::needs_update_ [mutable, protected] |
Definition at line 66 of file fun/v2v/saturate.hh.
Referenced by mln::fun::v2v::saturate< V >::operator()(), and mln::fun::v2v::saturate< V >::saturate().