#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_ | 
typedef Function_v2v<void> mln::Function_v2v< saturate< V >  >::category [inherited] | 
        
Reimplemented from mln::Function< saturate< V > >.
typedef saturate< V >  mln::Object< saturate< V >  >::exact_t [inherited] | 
        
typedef void mln::Function_v2v< saturate< V >  >::mutable_result [inherited] | 
        
| typedef V mln::fun::v2v::saturate< V >::result | 
| mln::fun::v2v::saturate< V >::saturate | ( | ) |  [inline] | 
        
References mln::fun::v2v::saturate< V >::needs_update_.
| mln::fun::v2v::saturate< V >::saturate | ( | const V & | min, | |
| const V & | max | |||
| ) |  [inline] | 
        
References mln::fun::v2v::saturate< V >::needs_update_.
| V mln::fun::v2v::saturate< V >::operator() | ( | const W & | w | ) |  const [inline] | 
        
V mln::fun::v2v::saturate< V >::max_ [protected] | 
        
Referenced by mln::fun::v2v::saturate< V >::operator()().
V mln::fun::v2v::saturate< V >::min_ [protected] | 
        
Referenced by mln::fun::v2v::saturate< V >::operator()().
bool mln::fun::v2v::saturate< V >::needs_update_ [mutable, protected] | 
        
Referenced by mln::fun::v2v::saturate< V >::operator()(), and mln::fun::v2v::saturate< V >::saturate().
 1.7.1