$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::fun::v2v::saturate< V > Struct Template Reference

#include <mln/fun/v2v/saturate.hh>

Public Member Functions

 saturate ()
 saturate (const V &min, const V &max)
template<typename W >
operator() (const W &w) const

Protected Attributes

max_
min_
bool needs_update_

Public Types

typedef Function_v2v< void > category
typedef saturate< V > exact_t
typedef void mutable_result
typedef V result

Detailed Description

template<typename V>
struct mln::fun::v2v::saturate< V >

Definition at line 54 of file fun/v2v/saturate.hh.

Constructor & Destructor Documentation

template<typename V >
mln::fun::v2v::saturate< V >::saturate ( )
template<typename V >
mln::fun::v2v::saturate< V >::saturate ( const V &  min,
const V &  max 
)

Member Function Documentation

template<typename V >
template<typename W >
V mln::fun::v2v::saturate< V >::operator() ( const W &  w) const

Member Data Documentation

template<typename V >
V mln::fun::v2v::saturate< V >::max_
protected

Definition at line 65 of file fun/v2v/saturate.hh.

template<typename V >
V mln::fun::v2v::saturate< V >::min_
protected

Definition at line 65 of file fun/v2v/saturate.hh.

template<typename V >
bool mln::fun::v2v::saturate< V >::needs_update_
mutableprotected

Definition at line 66 of file fun/v2v/saturate.hh.

Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< saturate< V > >::category
inherited

Definition at line 134 of file function.hh.

typedef saturate< V > mln::Object< saturate< V > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef void mln::Function_v2v< saturate< V > >::mutable_result
inherited

Definition at line 135 of file function.hh.

template<typename V >
typedef V mln::fun::v2v::saturate< V >::result

Definition at line 59 of file fun/v2v/saturate.hh.