const_member_function_w< T, R, parameter_none_type > Struct Template Reference

#include <statistics.h>

Public Member Functions

 const_member_function_w (R(T::*func)() 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>
struct illumina::interop::util::op::const_member_function_w< T, R, parameter_none_type >

Function call with a single parameter

Constructor & Destructor Documentation

const_member_function_w ( R(T::*)() const  func)
inline

Constructor

Parameters
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: