casacore
Loading...
Searching...
No Matches
casacore::WrapperData_TF< T, T, T, True, False > Class Template Reference

Specialization for calls with argument and no parameters. More...

#include <WrapperData.h>

Public Member Functions

 WrapperData_TF (T(*f)(const T &), uInt dim=1)
 
virtual ~WrapperData_TF ()
 
virtual T eval (typename Function< T >::FunctionArg x, const Vector< T > &) const
 Evaluate the function at x.
 
- Public Member Functions inherited from casacore::WrapperBase< T >
 WrapperBase ()
 Default constructor: zero dimension.
 
 WrapperBase (const uInt dim)
 Standard constructor.
 
virtual ~WrapperBase ()
 Destructor.
 
virtual uInt ndim () const
 Get the dimensionality.
 

Protected Attributes

T(* pf_p )(const T &)
 
- Protected Attributes inherited from casacore::WrapperBase< T >
uInt ndim_p
 Dimensionality.
 
Vector< T > arg_p
 Vector argument interface.
 

Private Types

typedef WrapperData_TF< T, T, T, True, FalsemyData
 

Private Member Functions

 WrapperData_TF (const myData &other)
 
myDataoperator= (const myData &other)
 

Detailed Description

template<class T>
class casacore::WrapperData_TF< T, T, T, True, False >

Specialization for calls with argument and no parameters.

Synopsis

Note that the actual name of the class is WrapperData. The special name is only for the use of cxx2html.

Definition at line 361 of file WrapperData.h.

Member Typedef Documentation

◆ myData

template<class T >
WrapperData_TF<T,T,T,True,False> casacore::WrapperData_TF< T, T, T, True, False >::myData
private

Definition at line 363 of file WrapperData.h.

Constructor & Destructor Documentation

◆ WrapperData_TF() [1/2]

template<class T >
casacore::WrapperData_TF< T, T, T, True, False >::WrapperData_TF ( T(* )(const T &),
uInt dim = 1 )
inlineexplicit

Definition at line 366 of file WrapperData.h.

◆ ~WrapperData_TF()

template<class T >
virtual casacore::WrapperData_TF< T, T, T, True, False >::~WrapperData_TF ( )
inlinevirtual

Definition at line 368 of file WrapperData.h.

◆ WrapperData_TF() [2/2]

template<class T >
casacore::WrapperData_TF< T, T, T, True, False >::WrapperData_TF ( const myData & other)
private

Member Function Documentation

◆ eval()

template<class T >
virtual T casacore::WrapperData_TF< T, T, T, True, False >::eval ( typename Function< T >::FunctionArg x,
const Vector< T > & par ) const
inlinevirtual

Evaluate the function at x.

Implements casacore::WrapperBase< T >.

Definition at line 369 of file WrapperData.h.

◆ operator=()

template<class T >
myData & casacore::WrapperData_TF< T, T, T, True, False >::operator= ( const myData & other)
private

Member Data Documentation

◆ pf_p

template<class T >
T(* casacore::WrapperData_TF< T, T, T, True, False >::pf_p) (const T &)
protected

Definition at line 377 of file WrapperData.h.


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