const_member_function_w< T, R, P1 > Struct Template Reference

#include <statistics.h>

Public Member Functions

 const_member_function_w (P1 param1, R(T::*func)(P1) const)
 
template<class F >
operator() (const F val, const T &obj) const
 
float operator() (const float val, const T &obj) const
 
double operator() (const double val, const T &obj) const
 
operator() (const T &obj) const
 

Detailed Description

template<class T, typename R, typename P1 = parameter_none_type>
struct illumina::interop::util::op::const_member_function_w< T, R, P1 >

Function call with a single parameter

Constructor & Destructor Documentation

const_member_function_w ( P1  param1,
R(T::*)(P1) const  func 
)
inline

Constructor

Parameters
param1first value to function
funcpointer to member function

Member Function Documentation

F operator() ( const F  val,
const T &  obj 
) const
inline

Perform function call

Parameters
valprevious accumulated value
objobject with value to access
Returns
addition of both values
float operator() ( const float  val,
const T &  obj 
) const
inline

Perform function call

Parameters
valprevious accumulated value
objobject with value to access
Returns
addition of both values
double operator() ( const double  val,
const T &  obj 
) const
inline

Perform function call

Parameters
valprevious accumulated value
objobject with value to access
Returns
addition of both values
R operator() ( const T &  obj) const
inline

Perform function call

Parameters
objobject with value to access
Returns
value of member function

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