casacore::ChebyshevParamModeImpl< T > Class Template Reference

A ChebyshevParam with the get/setMode implementation. More...

#include <ChebyshevParam.h>

Inheritance diagram for casacore::ChebyshevParamModeImpl< T >:
casacore::ChebyshevParam< T > casacore::Function1D< T > casacore::Function< T, U > casacore::Functional< FunctionTraits< T >::ArgType, U > casacore::Functional< Vector< FunctionTraits< T >::ArgType >, U > casacore::Chebyshev< T > casacore::MarshallableChebyshev< T >

List of all members.

Public Member Functions

 ChebyshevParamModeImpl ()
 ChebyshevParamModeImpl (const uInt n)
 ChebyshevParamModeImpl (const T &min, const T &max, typename ChebyshevEnums::OutOfIntervalMode mode=ChebyshevEnums::CONSTANT, const T &defval=T(0))
 ChebyshevParamModeImpl (const Vector< T > &coeffs, const T &min, const T &max, typename ChebyshevEnums::OutOfIntervalMode mode=ChebyshevEnums::CONSTANT, const T &defval=T(0))
 ChebyshevParamModeImpl (uInt order, const RecordInterface &mode)
 ChebyshevParamModeImpl (const Vector< T > &coeffs, const RecordInterface &mode)
 ChebyshevParamModeImpl (const ChebyshevParamModeImpl &other)
virtual void setMode (const RecordInterface &mode)
 get/set the function mode.
virtual void getMode (RecordInterface &mode) const
virtual Bool hasMode () const
 return True if the implementing function supports a mode.

Detailed Description

template<class T>
class casacore::ChebyshevParamModeImpl< T >

A ChebyshevParam with the get/setMode implementation.

Synopsis

The get/setMode() implementation is separated from ChebyshevParam to enable simple specialization for AutoDiff. See ChebyshevParam for documentation

Definition at line 364 of file ChebyshevParam.h.


Constructor & Destructor Documentation

template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl (  )  [inline]

Definition at line 367 of file ChebyshevParam.h.

template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const uInt  n  )  [inline, explicit]

Definition at line 369 of file ChebyshevParam.h.

template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const T &  min,
const T &  max,
typename ChebyshevEnums::OutOfIntervalMode  mode = ChebyshevEnums::CONSTANT,
const T &  defval = T(0) 
) [inline]

Definition at line 371 of file ChebyshevParam.h.

template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const Vector< T > &  coeffs,
const T &  min,
const T &  max,
typename ChebyshevEnums::OutOfIntervalMode  mode = ChebyshevEnums::CONSTANT,
const T &  defval = T(0) 
) [inline]

Definition at line 376 of file ChebyshevParam.h.

template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( uInt  order,
const RecordInterface mode 
) [inline]
template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const Vector< T > &  coeffs,
const RecordInterface mode 
) [inline]
template<class T >
casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const ChebyshevParamModeImpl< T > &  other  )  [inline]

Definition at line 388 of file ChebyshevParam.h.


Member Function Documentation

template<class T >
virtual void casacore::ChebyshevParamModeImpl< T >::getMode ( RecordInterface mode  )  const [virtual]

Reimplemented from casacore::Function< T, U >.

template<class T >
virtual Bool casacore::ChebyshevParamModeImpl< T >::hasMode (  )  const [virtual]

return True if the implementing function supports a mode.

This implementation always returns True.

Reimplemented from casacore::Function< T, U >.

template<class T >
virtual void casacore::ChebyshevParamModeImpl< T >::setMode ( const RecordInterface mode  )  [virtual]

get/set the function mode.

This is an alternate way to get/set the non-coefficient data for this function. The supported record fields are as follows:

 Field Name     Type            Role
 -------------------------------------------------------------------
 min            template type   the minimum value of the Chebyshev 
 interval of interest
 max            template type   the maximum value of the Chebyshev 
 interval of interest
 intervalMode   TpString        the out-of-interval mode; recognized
 values are "constant", "zeroth",
 "extrapolate", "cyclic", and "edge".
 setMode() recognizes a 
 case-insensitive, minimum match.
 default        template type   the out-of-range value that is returned
 when the out-of-interval mode is 
 "constant".
 

An exception is thrown if interval mode is unrecognized.

Reimplemented from casacore::Function< T, U >.

Referenced by casacore::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1