Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::ParamFunctorHandler< ParentFunctor, Func > Class Template Reference

template<class ParentFunctor, class Func>
class ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >

ParamFunctor Handler class is responsible for wrapping any other functor and pointer to free C functions.

It can be created from any function implementing the correct signature corresponding to the requested type

Definition at line 66 of file ParamFunctor.h.

Classes

struct  FuncEvaluator
 
struct  FuncEvaluator< F *, T >
 
struct  FuncEvaluator< F *const, T >
 

Public Member Functions

 ParamFunctorHandler (const Func &fun)
 
virtual ~ParamFunctorHandler ()
 
ParamFunctorHandlerClone () const
 
EvalType operator() (const EvalType *x, const double *p)
 
EvalType operator() (EvalType *x, double *p)
 
EvalType operator() (EvalType x, double *p)
 

Private Types

typedef ParentFunctor::Impl Base
 
typedef ParentFunctor::EvalType EvalType
 

Private Attributes

Func fFunc
 

#include <Math/ParamFunctor.h>

Inheritance diagram for ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >:
[legend]

Member Typedef Documentation

◆ Base

template<class ParentFunctor , class Func >
typedef ParentFunctor::Impl ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::Base
private

Definition at line 69 of file ParamFunctor.h.

◆ EvalType

template<class ParentFunctor , class Func >
typedef ParentFunctor::EvalType ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::EvalType
private

Definition at line 68 of file ParamFunctor.h.

Constructor & Destructor Documentation

◆ ParamFunctorHandler()

template<class ParentFunctor , class Func >
ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::ParamFunctorHandler ( const Func &  fun)
inline

Definition at line 74 of file ParamFunctor.h.

◆ ~ParamFunctorHandler()

template<class ParentFunctor , class Func >
virtual ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::~ParamFunctorHandler ( )
inlinevirtual

Definition at line 77 of file ParamFunctor.h.

Member Function Documentation

◆ Clone()

template<class ParentFunctor , class Func >
ParamFunctorHandler * ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::Clone ( ) const
inline

Definition at line 100 of file ParamFunctor.h.

◆ operator()() [1/3]

template<class ParentFunctor , class Func >
EvalType ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::operator() ( const EvalType x,
const double p 
)
inline

Definition at line 95 of file ParamFunctor.h.

◆ operator()() [2/3]

template<class ParentFunctor , class Func >
EvalType ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::operator() ( EvalType x,
double p 
)
inline

Definition at line 91 of file ParamFunctor.h.

◆ operator()() [3/3]

template<class ParentFunctor , class Func >
EvalType ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::operator() ( EvalType  x,
double p 
)
inline

Definition at line 81 of file ParamFunctor.h.

Member Data Documentation

◆ fFunc

template<class ParentFunctor , class Func >
Func ROOT::Math::ParamFunctorHandler< ParentFunctor, Func >::fFunc
private

Definition at line 107 of file ParamFunctor.h.

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