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

Поисковые слова: ngc 2261
casacore: casa::ConvertScalar_global_functions_Scalar_conversion Struct Reference
Public Member Functions

casa::ConvertScalar_global_functions_Scalar_conversion Struct Reference
[BasicMath_module]

Templated functions to convert scalars from one type to another. More...

#include <ConvertScalar.h>

List of all members.

Public Member Functions

template<class T , class F >
void convertScalar (T &out, F in)
void convertScalar (Complex &out, DComplex in)

Detailed Description

Templated functions to convert scalars from one type to another.

Review Status

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

Synopsis

Templated functions to convert scalars from one type to another. They are useful to be able to convert a DComplex to a Complex in templated classes. A Complex,DComplex specialisation is necessary because the complex class in the standard C++ library does not have such an automatic conversion.

Definition at line 52 of file ConvertScalar.h.


Member Function Documentation

template<class T , class F >
void casa::ConvertScalar_global_functions_Scalar_conversion::convertScalar ( T &  out,
in 
) [inline]

Definition at line 53 of file ConvertScalar.h.

void casa::ConvertScalar_global_functions_Scalar_conversion::convertScalar ( Complex &  out,
DComplex  in 
) [inline]

Definition at line 55 of file ConvertScalar.h.


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