casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::QuantumType_global_functions_QuantumType Struct Reference

Get an integer type for a Qunatum<T> More...

#include <QuantumType.h>

List of all members.

Public Member Functions

uInt quantumType (const Quantum< Double > *)
uInt quantumType (const Quantum< Float > *)
uInt quantumType (const Quantum< Int > *)
uInt quantumType (const Quantum< DComplex > *)
uInt quantumType (const Quantum< Complex > *)
uInt quantumType (const Quantum< Vector< Double > > *)
uInt quantumType (const Quantum< Vector< Float > > *)
uInt quantumType (const Quantum< Vector< Int > > *)
uInt quantumType (const Quantum< Vector< DComplex > > *)
uInt quantumType (const Quantum< Vector< Complex > > *)
uInt quantumType (const Quantum< Array< Double > > *)
uInt quantumType (const Quantum< Array< Float > > *)
uInt quantumType (const Quantum< Array< Int > > *)
uInt quantumType (const Quantum< Array< DComplex > > *)
uInt quantumType (const Quantum< Array< Complex > > *)
uInt quantumType (const Quantum< Matrix< Double > > *)
uInt quantumType (const Quantum< Matrix< Float > > *)
uInt quantumType (const Quantum< Matrix< Int > > *)
uInt quantumType (const Quantum< Matrix< DComplex > > *)
uInt quantumType (const Quantum< Matrix< Complex > > *)

Detailed Description

Get an integer type for a Qunatum<T>

Intended use:

Public interface

 <h3>Review Status</h3><dl><dt>Reviewed By:<dd>UNKNOWN<dt>Date Reviewed:<dd>before2004/08/25<dt>Test programs:<dd>tQuantumHolder</dl> 

<h3>Synopsis</h3>
The old way of getting a type number for a Quantum<T> uses the Register
class. This did not work well with shared libraries, because each shared
library gets its own static type data. Hence a type generated in one
python module sometimes mismatched the type for the same Quantum in
another module. For instance, it appeared that whem first loading
pyrap.tables and thereafter pyrap.quanta, things went wrong.

Therefore this class has been developed that returns the type for the
Quantum template types used by QuantumHolder.

Definition at line 63 of file QuantumType.h.


Member Function Documentation

Definition at line 64 of file QuantumType.h.

Definition at line 66 of file QuantumType.h.

Definition at line 68 of file QuantumType.h.

Definition at line 70 of file QuantumType.h.

Definition at line 72 of file QuantumType.h.

Definition at line 74 of file QuantumType.h.

Definition at line 76 of file QuantumType.h.

Definition at line 78 of file QuantumType.h.

Definition at line 80 of file QuantumType.h.

Definition at line 82 of file QuantumType.h.

Definition at line 84 of file QuantumType.h.

Definition at line 86 of file QuantumType.h.

Definition at line 88 of file QuantumType.h.

Definition at line 90 of file QuantumType.h.

Definition at line 92 of file QuantumType.h.

Definition at line 94 of file QuantumType.h.

Definition at line 96 of file QuantumType.h.

Definition at line 98 of file QuantumType.h.

Definition at line 100 of file QuantumType.h.

Definition at line 102 of file QuantumType.h.


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