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 170 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 &)=delete
 
ParamMemFunHandleroperator= (const ParamMemFunHandler &)=delete
 

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 172 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 178 of file ParamFunctor.h.

◆ ~ParamMemFunHandler()

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

Definition at line 182 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 > &  )
privatedelete

Member Function Documentation

◆ Clone()

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

Definition at line 205 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 200 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 196 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 188 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 > &  )
privatedelete

Member Data Documentation

◆ fMemFn

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

Definition at line 250 of file ParamFunctor.h.

◆ fObj

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

Definition at line 249 of file ParamFunctor.h.

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