Logo ROOT   6.18/05
Reference Guide
List of all members | Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
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 173 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 More...
 
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 175 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 181 of file ParamFunctor.h.

◆ ~ParamMemFunHandler()

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

Definition at line 185 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 208 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 203 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 199 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 191 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 253 of file ParamFunctor.h.

◆ fObj

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

Definition at line 252 of file ParamFunctor.h.


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