casacore
|
Aid in constructing function objects from C++ functions. More...
#include <WrapperData.h>
Public Member Functions | |
WrapperData () | |
Default constructor: to allow arrays of functions. More... | |
virtual | ~WrapperData () |
Destructor. More... | |
virtual T | eval (typename Function< T >::FunctionArg, const V &) const |
Evaluate the function at x . More... | |
Public Member Functions inherited from casacore::WrapperBase< T > | |
WrapperBase () | |
Default constructor: zero dimension. More... | |
WrapperBase (const uInt dim) | |
Standard constructor. More... | |
virtual | ~WrapperBase () |
Destructor. More... | |
virtual T | eval (typename Function< T >::FunctionArg x, const Vector< T > &par) const =0 |
Evaluate the function at x . More... | |
virtual uInt | ndim () const |
Get the dimensionality. More... | |
Additional Inherited Members | |
Protected Attributes inherited from casacore::WrapperBase< T > | |
uInt | ndim_p |
Dimensionality. More... | |
Vector< T > | arg_p |
Vector argument interface. More... | |
Aid in constructing function objects from C++ functions.
Internal
This class is provided to enable compile time selection of the appropriate function call. Each template incarnation represent a function call interface definition.
Definition at line 67 of file WrapperData.h.
casacore::WrapperData< T, U, V, hasX, hasParam >::WrapperData | ( | ) |
Default constructor: to allow arrays of functions.
|
inlinevirtual |
Destructor.
Definition at line 75 of file WrapperData.h.
|
inlinevirtual |
Evaluate the function at x
.
Definition at line 80 of file WrapperData.h.