mln::fun::v2v::saturate< V > Struct Template Reference

#include <saturate.hh>

Inheritance diagram for mln::fun::v2v::saturate< V >:

Inheritance graph

List of all members.

Public Types

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

Public Member Functions

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

Protected Attributes

max_
min_
bool needs_update_


Detailed Description

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

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


Member Typedef Documentation

template<typename E>
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited]

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 of file function.hh.

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

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


Constructor & Destructor Documentation

template<typename V>
mln::fun::v2v::saturate< V >::saturate (  )  [inline]

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

References mln::fun::v2v::saturate< V >::needs_update_.

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

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

References mln::fun::v2v::saturate< V >::needs_update_.


Member Function Documentation

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


Member Data Documentation

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

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

Referenced by mln::fun::v2v::saturate< V >::operator()().

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

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

Referenced by mln::fun::v2v::saturate< V >::operator()().

template<typename V>
bool mln::fun::v2v::saturate< V >::needs_update_ [mutable, protected]


Generated on Sun Apr 25 02:01:50 2010 for Milena (Olena) by  doxygen 1.5.6