SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
slip::threshold_fun< InType, OutType > Struct Template Reference

Functor object used to threshold a value. More...

#include <threshold.hpp>

Public Member Functions

 threshold_fun (const InType &t_value, const OutType &false_value)
 
OutType operator() (const InType &val)
 

Public Attributes

InType t_value_
 
OutType false_value_
 

Detailed Description

template<typename InType, typename OutType>
struct slip::threshold_fun< InType, OutType >

Functor object used to threshold a value.

Author
Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
Date
2006/09/13
Version
0.0.1
Parameters
t_valueThreshold value
false_valueFalse return value

Definition at line 128 of file threshold.hpp.

Constructor & Destructor Documentation

template<typename InType , typename OutType >
slip::threshold_fun< InType, OutType >::threshold_fun ( const InType &  t_value,
const OutType &  false_value 
)
inline

Definition at line 130 of file threshold.hpp.

Member Function Documentation

template<typename InType , typename OutType >
OutType slip::threshold_fun< InType, OutType >::operator() ( const InType &  val)
inline

Definition at line 134 of file threshold.hpp.

Member Data Documentation

template<typename InType , typename OutType >
OutType slip::threshold_fun< InType, OutType >::false_value_

Definition at line 140 of file threshold.hpp.

template<typename InType , typename OutType >
InType slip::threshold_fun< InType, OutType >::t_value_

Definition at line 139 of file threshold.hpp.


The documentation for this struct was generated from the following file: