casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::ChebyshevParamModeImpl< T > Class Template Reference

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

#include <ChebyshevParam.h>

Inheritance diagram for casa::ChebyshevParamModeImpl< T >:
casa::ChebyshevParam< T > casa::Function1D< T > casa::Function< T, T > casa::Functional< FunctionTraits< T >::ArgType, T > casa::Functional< Vector< FunctionTraits< T >::ArgType >, T > casa::Chebyshev< T > casa::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 casa::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 >
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( ) [inline]

Definition at line 367 of file ChebyshevParam.h.

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

Definition at line 369 of file ChebyshevParam.h.

template<class T >
casa::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 >
casa::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 >
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( uInt  order,
const RecordInterface mode 
) [inline]

Definition at line 382 of file ChebyshevParam.h.

References casa::ChebyshevParamModeImpl< T >::setMode().

template<class T >
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const Vector< T > &  coeffs,
const RecordInterface mode 
) [inline]

Definition at line 384 of file ChebyshevParam.h.

References casa::ChebyshevParamModeImpl< T >::setMode().

template<class T >
casa::ChebyshevParamModeImpl< T >::ChebyshevParamModeImpl ( const ChebyshevParamModeImpl< T > &  other) [inline]

Definition at line 388 of file ChebyshevParam.h.


Member Function Documentation

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

Reimplemented from casa::Function< T, T >.

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

return True if the implementing function supports a mode.

This implementation always returns True.

Reimplemented from casa::Function< T, T >.

template<class T >
virtual void casa::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 casa::Function< T, T >.

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


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