Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1WrapperParam.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:06:11 2011
Кодировка:

Поисковые слова: messier catalog
casacore: casa::WrapperParam< T > Class Template Reference
Public Member Functions

casa::WrapperParam< T > Class Template Reference
[Functionals_module_internal_classes]

Parameter handling for wrapped function objects. More...

#include <WrapperParam.h>

Inheritance diagram for casa::WrapperParam< T >:
casa::Function< T > casa::Functional< FunctionTraits< T >::ArgType, T > casa::Functional< Vector< FunctionTraits< T >::ArgType >, T > casa::FunctionWrapper< T >

List of all members.

Public Member Functions

 WrapperParam ()
 Construct with the given parameters.
 WrapperParam (const T &par)
 WrapperParam (const Vector< T > &par)
 WrapperParam (const WrapperParam< T > &other)
 Copy constructor (deep copy).
WrapperParam< T > & operator= (const WrapperParam< T > &other)
 Copy assignment (deep copy).
virtual ~WrapperParam ()
 Destructor.
virtual const Stringname () const
 Give name of function.

Detailed Description

template<class T>
class casa::WrapperParam< T >

Parameter handling for wrapped function objects.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

This class is provided to enable easy specialization for the actual FunctionWrapper class.

Example

    Float func(const Vector<Float>& x) {return x(0)*x(1);}        // x*y
    // Convert C++ functions to Function
    FunctionWrapper<Float> Func(func, 2);

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 81 of file WrapperParam.h.


Constructor & Destructor Documentation

template<class T>
casa::WrapperParam< T >::WrapperParam (  ) 

Construct with the given parameters.

template<class T>
casa::WrapperParam< T >::WrapperParam ( const T &  par  )  [explicit]
template<class T>
casa::WrapperParam< T >::WrapperParam ( const Vector< T > &  par  )  [explicit]
template<class T>
casa::WrapperParam< T >::WrapperParam ( const WrapperParam< T > &  other  ) 

Copy constructor (deep copy).

template<class T>
virtual casa::WrapperParam< T >::~WrapperParam (  )  [virtual]

Destructor.


Member Function Documentation

template<class T>
virtual const String& casa::WrapperParam< T >::name (  )  const [inline, virtual]

Give name of function.

Reimplemented from casa::Function< T >.

Definition at line 106 of file WrapperParam.h.

template<class T>
WrapperParam<T>& casa::WrapperParam< T >::operator= ( const WrapperParam< T > &  other  ) 

Copy assignment (deep copy).


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