STK++ 0.9.13
STK::GeqThanOp< Type > Struct Template Reference

Template functor to test if a number is greater or equal than a fixed value. More...

#include <STK_Functors.h>

Public Types

enum  { NbParam_ = 1 }
 
typedef bool result_type
 
typedef hidden::RemoveConst< Type >::Type param1_type
 

Public Member Functions

 GeqThanOp (GeqThanOp const &value)
 
 GeqThanOp (Type value)
 
result_type operator() (param1_type const &a) const
 

Private Attributes

param1_type const value_
 

Detailed Description

template<typename Type>
struct STK::GeqThanOp< Type >

Template functor to test if a number is greater or equal than a fixed value.

Definition at line 495 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<typename Type >
typedef hidden::RemoveConst<Type>::Type STK::GeqThanOp< Type >::param1_type

Definition at line 499 of file STK_Functors.h.

◆ result_type

template<typename Type >
typedef bool STK::GeqThanOp< Type >::result_type

Definition at line 498 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 497 of file STK_Functors.h.

497{ NbParam_ = 1 };

Constructor & Destructor Documentation

◆ GeqThanOp() [1/2]

template<typename Type >
STK::GeqThanOp< Type >::GeqThanOp ( GeqThanOp< Type > const value)
inline

Definition at line 501 of file STK_Functors.h.

501: value_(value.value_) {}
param1_type const value_

◆ GeqThanOp() [2/2]

template<typename Type >
STK::GeqThanOp< Type >::GeqThanOp ( Type  value)
inline

Definition at line 502 of file STK_Functors.h.

502: value_(value) {}

Member Function Documentation

◆ operator()()

template<typename Type >
result_type STK::GeqThanOp< Type >::operator() ( param1_type const a) const
inline

Definition at line 504 of file STK_Functors.h.

504{ return a >= value_;}

References STK::GeqThanOp< Type >::value_.

Member Data Documentation

◆ value_

template<typename Type >
param1_type const STK::GeqThanOp< Type >::value_
private

Definition at line 506 of file STK_Functors.h.

Referenced by STK::GeqThanOp< Type >::operator()().


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