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

Template functor testing if a number is greater 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::GreaterOp< Type1, Type2 >

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

Definition at line 154 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

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

Definition at line 158 of file STK_Functors.h.

◆ param2_type

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

Definition at line 159 of file STK_Functors.h.

◆ result_type

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

Definition at line 157 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 156 of file STK_Functors.h.

156{ NbParam_ = 2 };

Member Function Documentation

◆ operator()()

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

Definition at line 161 of file STK_Functors.h.

162 { return value1 > value2;}

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