28 #ifndef CASA_HDF5DATATYPE_H 29 #define CASA_HDF5DATATYPE_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/HDF5/HDF5Object.h> 34 #include <casacore/casa/HDF5/HDF5HidMeta.h> 35 #include <casacore/casa/BasicSL/Complex.h> 36 #include <casacore/casa/BasicSL/String.h> 37 #include <casacore/casa/Utilities/DataType.h> 44 template<
typename T>
class Block;
129 const std::vector<HDF5DataType>& types);
A Vector of integers, for indexing into Array<T> objects.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
static IPosition getShape(hid_t dtid)
Get the shape of an array data type.
std::complex< Float > Complex
HDF5HidDataType itsHidFile
void addToCompound(const char *name, uInt offset, const HDF5DataType &dtype)
Add a field to a compound data type.
hid_t getHidMem() const
Get the HID for the data type in memory.
hid_t getHidFile() const
Get the HID for the data type in the file.
HDF5DataType()
The default constructor makes an invalid object.
A class representing an HDF5 data type.
HDF5HidDataType itsHidMem
static Block< hsize_t > fromShape(const IPosition &shape)
Helper functions to convert shapes.
~HDF5DataType()
The destructor closes the HDF5 data type object.
HDF5DataType & operator=(const HDF5DataType &that)
Assignment makes a deep copy.
static Bool isComplex(hid_t dtid)
Test if the data type is Complex or DComplex.
std::complex< Double > DComplex
static IPosition toShape(const Block< hsize_t > &b)
bool Bool
Define the standard types used by Casacore.
A class representing an HDF5 datatype hid.
static DataType getDataType(hid_t)
Get the Casacore data type for the given HDF5 data type.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
String: the storage and methods of handling collections of characters.
uInt size() const
Get the size in bytes of the data type (in memory).
this file contains all the compiler specific defines
static Bool isEmptyArray(hid_t dtid)
Test if the data type is an empty array.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.