casacore
|
#include <WrapperBase.h>
Public Member Functions | |
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... | |
Protected Attributes | |
uInt | ndim_p |
Dimensionality. More... | |
Vector< T > | arg_p |
Vector argument interface. More... | |
Private Member Functions | |
WrapperBase (const WrapperBase< T > &other) | |
Copy constructor and assignment (not implemented) More... | |
WrapperBase< T > & | operator= (const WrapperBase< T > &other) |
Aid in constructing function objects from C++ functions
Internal
This base class is provided to enable compile time selection of the appropriate function call through WrapperData
.
Definition at line 66 of file WrapperBase.h.
|
inline |
Default constructor: zero dimension.
Definition at line 70 of file WrapperBase.h.
|
inlineexplicit |
Standard constructor.
Definition at line 72 of file WrapperBase.h.
|
inlinevirtual |
Destructor.
Definition at line 75 of file WrapperBase.h.
|
private |
Copy constructor and assignment (not implemented)
|
pure virtual |
Evaluate the function at x
.
Implemented in casacore::WrapperData_FV< T, T, Vector< T >, False, True >, casacore::WrapperData_FT< T, T, T, False, True >, casacore::WrapperData_FF< T, T, T, False, False >, casacore::WrapperData_VV< T, Vector< T >, Vector< T >, True, True >, casacore::WrapperData_TV< T, T, Vector< T >, True, True >, casacore::WrapperData_VT< T, Vector< T >, T, True, True >, casacore::WrapperData_TT< T, T, T, True, True >, casacore::WrapperData_VF< T, Vector< T >, T, True, False >, and casacore::WrapperData_TF< T, T, T, True, False >.
|
inlinevirtual |
Get the dimensionality.
Definition at line 86 of file WrapperBase.h.
References casacore::WrapperBase< T >::ndim_p.
|
private |
|
mutableprotected |
Vector argument interface.
Definition at line 93 of file WrapperBase.h.
|
protected |
Dimensionality.
Definition at line 91 of file WrapperBase.h.
Referenced by casacore::WrapperBase< T >::ndim().