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 67 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 override
EvalType operator() (const EvalType *x, const double *p) override
EvalType operator() (EvalType *x, double *p) override
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 >:

Member Typedef Documentation

◆ Base

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

Definition at line 70 of file ParamFunctor.h.

◆ EvalType

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

Definition at line 69 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 75 of file ParamFunctor.h.

◆ ~ParamFunctorHandler()

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

Definition at line 78 of file ParamFunctor.h.

Member Function Documentation

◆ Clone()

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

Definition at line 101 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 )
inlineoverride

Definition at line 96 of file ParamFunctor.h.

◆ operator()() [2/3]

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

Definition at line 92 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 82 of file ParamFunctor.h.

Member Data Documentation

◆ fFunc

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

Definition at line 108 of file ParamFunctor.h.


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