ROOT
6.06/09
Reference Guide
|
Functor Handler to Wrap pointers to member functions The member function type must be (XXX means any name is allowed) : double XXX ( double x) for 1D functions and double XXXX (const double *x) for multi-dimensional functions.
Public Member Functions | |
MemFunHandler (const PointerToObj &pObj, PointerToMemFn pMemFn) | |
constructor from a pointer to the class and a pointer to the function More... | |
MemFunHandler (unsigned int dim, const PointerToObj &pObj, PointerToMemFn pMemFn) | |
constructor from a pointer to the class and a pointer to the function More... | |
virtual | ~MemFunHandler () |
ImplFunc * | Copy () const |
BaseFunc * | Clone () const |
unsigned int | NDim () const |
Private Types | |
typedef ParentFunctor::Impl | ImplFunc |
typedef ImplFunc::BaseFunc | BaseFunc |
Private Member Functions | |
double | DoEval (double x) const |
double | DoEval (const double *x) const |
Private Attributes | |
unsigned int | fDim |
PointerToObj | fObj |
PointerToMemFn | fMemFn |
#include <Math/Functor.h>
|
private |
|
private |
|
inline |
constructor from a pointer to the class and a pointer to the function
Definition at line 236 of file Functor.h.
Referenced by ROOT::Math::MemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::Clone(), and ROOT::Math::MemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::Copy().
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
private |
Definition at line 268 of file Functor.h.
Referenced by ROOT::Math::MemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::NDim().
|
private |
Definition at line 270 of file Functor.h.
Referenced by ROOT::Math::MemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >::DoEval().
|
mutableprivate |