STK++ 0.9.13
STK::GeqOp< Type1, Type2 > Struct Template Reference

Template functor testing if a number is greater or equal than an other number. More...

#include <STK_Functors.h>

Public Types

enum  { NbParam_ = 2 }
 
typedef bool result_type
 
typedef hidden::RemoveConst< Type1 >::Type param1_type
 
typedef hidden::RemoveConst< Type2 >::Type constparam2_type
 

Public Member Functions

result_type operator() (param1_type const &value1, param2_type value2) const
 

Detailed Description

template<class Type1, class Type2 = Type1>
struct STK::GeqOp< Type1, Type2 >

Template functor testing if a number is greater or equal than an other number.

Definition at line 182 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<class Type1 , class Type2 = Type1>
typedef hidden::RemoveConst<Type1>::Type STK::GeqOp< Type1, Type2 >::param1_type

Definition at line 186 of file STK_Functors.h.

◆ param2_type

template<class Type1 , class Type2 = Type1>
typedef hidden::RemoveConst<Type2>::Type const& STK::GeqOp< Type1, Type2 >::param2_type

Definition at line 187 of file STK_Functors.h.

◆ result_type

template<class Type1 , class Type2 = Type1>
typedef bool STK::GeqOp< Type1, Type2 >::result_type

Definition at line 185 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Type1 , class Type2 = Type1>
anonymous enum
Enumerator
NbParam_ 

Definition at line 184 of file STK_Functors.h.

184{ NbParam_ = 2 };

Member Function Documentation

◆ operator()()

template<class Type1 , class Type2 = Type1>
result_type STK::GeqOp< Type1, Type2 >::operator() ( param1_type const value1,
param2_type  value2 
) const
inline

Definition at line 189 of file STK_Functors.h.

190 { return value1 >= value2;}

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