DGtal  1.5.beta
DGtal::functors::Thresholder< T, false, true > Struct Template Reference

#include <DGtal/base/BasicFunctors.h>

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, false, true >

Definition at line 551 of file BasicFunctors.h.

Member Typedef Documentation

◆ Input

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

Definition at line 557 of file BasicFunctors.h.

Constructor & Destructor Documentation

◆ Thresholder()

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

Definition at line 559 of file BasicFunctors.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT() [1/2]

template<typename T >
DGtal::functors::Thresholder< T, false, true >::BOOST_CONCEPT_ASSERT ( (boost::EqualityComparable< T >)  )

◆ BOOST_CONCEPT_ASSERT() [2/2]

template<typename T >
DGtal::functors::Thresholder< T, false, true >::BOOST_CONCEPT_ASSERT ( (boost::LessThanComparable< T >)  )

◆ operator()()

template<typename T >
bool DGtal::functors::Thresholder< T, false, true >::operator() ( const Input aI) const
inline

Definition at line 560 of file BasicFunctors.h.

560  {
561  std::greater_equal<Input> c;
562  return c(aI,myT);
563  }

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

Field Documentation

◆ myT

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

Definition at line 566 of file BasicFunctors.h.


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