Logo ROOT   6.10/09
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 63 of file ParamFunctor.h.

Classes

struct  FuncEvaluator
 
struct  FuncEvaluator< F * >
 
struct  FuncEvaluator< F *const >
 

Public Member Functions

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

Private Types

typedef ParentFunctor::Impl Base
 

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 65 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 70 of file ParamFunctor.h.

◆ ~ParamFunctorHandler()

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

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

◆ operator()() [1/2]

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

Definition at line 77 of file ParamFunctor.h.

◆ operator()() [2/2]

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

Definition at line 87 of file ParamFunctor.h.

Member Data Documentation

◆ fFunc

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

Definition at line 99 of file ParamFunctor.h.


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