Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn > Class Template Reference

template<class ParentFunctor, typename PointerToObj, typename PointerToMemFn>
class ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >

ParamFunctor Handler to Wrap pointers to member functions.

Definition at line 172 of file ParamFunctor.h.

Classes

struct  MemFuncEvaluator
 

Public Member Functions

 ParamMemFunHandler (const PointerToObj &pObj, PointerToMemFn pMemFn)
 constructor from a pointer to the class and a pointer to the function
 
virtual ~ParamMemFunHandler ()
 
ParamMemFunHandlerClone () const
 
double operator() (const double *x, const double *p)
 
double operator() (double *x, double *p)
 
double operator() (double x, double *p)
 

Private Types

typedef ParentFunctor::Impl Base
 

Private Member Functions

 ParamMemFunHandler (const ParamMemFunHandler &)
 
ParamMemFunHandleroperator= (const ParamMemFunHandler &)
 

Private Attributes

PointerToMemFn fMemFn
 
PointerToObj fObj
 

#include <Math/ParamFunctor.h>

Inheritance diagram for ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >:
[legend]

Member Typedef Documentation

◆ Base

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
typedef ParentFunctor::Impl ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::Base
private

Definition at line 174 of file ParamFunctor.h.

Constructor & Destructor Documentation

◆ ParamMemFunHandler() [1/2]

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::ParamMemFunHandler ( const PointerToObj &  pObj,
PointerToMemFn  pMemFn 
)
inline

constructor from a pointer to the class and a pointer to the function

Definition at line 180 of file ParamFunctor.h.

◆ ~ParamMemFunHandler()

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
virtual ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::~ParamMemFunHandler ( )
inlinevirtual

Definition at line 184 of file ParamFunctor.h.

◆ ParamMemFunHandler() [2/2]

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::ParamMemFunHandler ( const ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn > &  )
private

Member Function Documentation

◆ Clone()

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
ParamMemFunHandler * ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::Clone ( ) const
inline

Definition at line 207 of file ParamFunctor.h.

◆ operator()() [1/3]

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
double ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::operator() ( const double x,
const double p 
)
inline

Definition at line 202 of file ParamFunctor.h.

◆ operator()() [2/3]

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
double ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::operator() ( double x,
double p 
)
inline

Definition at line 198 of file ParamFunctor.h.

◆ operator()() [3/3]

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
double ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::operator() ( double  x,
double p 
)
inline

Definition at line 190 of file ParamFunctor.h.

◆ operator=()

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
ParamMemFunHandler & ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::operator= ( const ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn > &  )
private

Member Data Documentation

◆ fMemFn

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
PointerToMemFn ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::fMemFn
private

Definition at line 252 of file ParamFunctor.h.

◆ fObj

template<class ParentFunctor , typename PointerToObj , typename PointerToMemFn >
PointerToObj ROOT::Math::ParamMemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::fObj
private

Definition at line 251 of file ParamFunctor.h.

  • math/mathcore/inc/Math/ParamFunctor.h