28 #ifndef CASA_DATATYPE_H
29 #define CASA_DATATYPE_H
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,
162 ostream &
operator<<(ostream &os, DataType type);
202 {
return TpArrayQuantity ; }
210 DataType asScalar(DataType type);
211 DataType asArray(DataType type);
218 Bool isScalar(DataType type);
219 Bool isArray(DataType type);
220 Bool isScalarFun(DataType type);
226 Bool isReal(DataType type);
229 Bool isComplex(DataType type);
232 Bool isNumeric(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 > *)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
DataType whatType(const Array< uChar > *)
DataType whatType(const Array< double > *)
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 *)