Logo ROOT   6.13/01
Reference Guide
List of all members | Classes | Public Member Functions | Private Types | Private Attributes | List of all members
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 65 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() (EvalType x, double *p)
 
EvalType operator() (EvalType *x, double *p)
 
EvalType operator() (const EvalType *x, const 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 68 of file ParamFunctor.h.

◆ EvalType

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

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

◆ ~ParamFunctorHandler()

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

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

◆ operator()() [1/3]

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

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

◆ operator()() [3/3]

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

Definition at line 94 of file ParamFunctor.h.

Member Data Documentation

◆ fFunc

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

Definition at line 106 of file ParamFunctor.h.

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

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