28 #ifndef CASA_DATATYPE_H
29 #define CASA_DATATYPE_H
39 template<
class T>
class Array;
40 template<
class T>
class Quantum;
142 TpShort, TpUShort, TpInt, TpUInt,
144 TpComplex, TpDComplex, TpString,
146 TpArrayBool, TpArrayChar, TpArrayUChar,
147 TpArrayShort, TpArrayUShort, TpArrayInt, TpArrayUInt,
148 TpArrayFloat, TpArrayDouble,
149 TpArrayComplex, TpArrayDComplex, TpArrayString,
202 {
return TpArrayQuantity ; }
210 DataType asScalar(DataType
type);
211 DataType asArray(DataType
type);
DataType whatType(const uChar *)
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
DataType whatType(const Record *)
std::complex< Float > Complex
Main interface class to a read/write table.
DataType whatType(const String *)
DataType whatType(const Array< Int64 > *)
DataType whatType(const double *)
DataType whatType(const Array< String > *)
DataType whatType(const Array< Short > *)
virtual casacore::String type() const
Implements RegionShape::type.
DataType whatType(const Array< uChar > *)
DataType whatType(const Array< double > *)
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
DataType whatType(const Int *)
DataType whatType(const Array< Complex > *)
DataType whatType(const Array< uInt > *)
DataType whatType(const Short *)
DataType whatType(const DComplex *)
DataType whatType(const Quantum< Double > *)
DataType whatType(const Table *)
std::complex< Double > DComplex
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
DataType whatType(const Array< Quantum< Double > > *)
DataType whatType(const Array< Int > *)
DataType whatType(const Bool *)
DataType whatType(const Array< Bool > *)
DataType whatType(const Array< float > *)
String: the storage and methods of handling collections of characters.
DataType whatType(const Int64 *)
DataType whatType(const uInt *)
DataType whatType(const Complex *)
DataType whatType(const Array< uShort > *)
DataType whatType(const Char *)
DataType whatType(const uShort *)
DataType whatType(const Array< DComplex > *)
DataType whatType(const Array< Char > *)
DataType whatType(const void *)
These (overloaded) functions return DataType that corresponds to to the type that is being pointed at...
DataType whatType(const float *)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.