DGtal  0.9.3beta
Public Types | Public Member Functions | Private Attributes
DGtal::functors::Thresholder< T, true, true > Struct Template Reference

#include <DGtal/base/BasicFunctors.h>

Inheritance diagram for DGtal::functors::Thresholder< T, true, true >:
[legend]
Collaboration diagram for DGtal::functors::Thresholder< T, true, true >:
[legend]

Public Types

typedef T Input
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost::EqualityComparable< T >))
 
 BOOST_CONCEPT_ASSERT ((boost::LessThanComparable< T >))
 
 Thresholder (const Input &aT=0)
 
bool operator() (const Input &aI) const
 

Private Attributes

Input myT
 

Detailed Description

template<typename T>
struct DGtal::functors::Thresholder< T, true, true >

Definition at line 462 of file BasicFunctors.h.

Member Typedef Documentation

template<typename T >
typedef T DGtal::functors::Thresholder< T, true, true >::Input

Definition at line 469 of file BasicFunctors.h.

Constructor & Destructor Documentation

template<typename T >
DGtal::functors::Thresholder< T, true, true >::Thresholder ( const Input aT = 0)
inline

Definition at line 471 of file BasicFunctors.h.

Member Function Documentation

template<typename T >
DGtal::functors::Thresholder< T, true, true >::BOOST_CONCEPT_ASSERT ( (boost::EqualityComparable< T >)  )
template<typename T >
DGtal::functors::Thresholder< T, true, true >::BOOST_CONCEPT_ASSERT ( (boost::LessThanComparable< T >)  )
template<typename T >
bool DGtal::functors::Thresholder< T, true, true >::operator() ( const Input aI) const
inline

Definition at line 473 of file BasicFunctors.h.

References DGtal::functors::Thresholder< T, isLower, isEqual >::myT.

473  {
474  std::less_equal<Input> c;
475  return c(aI,myT);
476  }

Field Documentation

template<typename T >
Input DGtal::functors::Thresholder< T, true, true >::myT
private

Definition at line 479 of file BasicFunctors.h.


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