28 #ifndef CASA_HDF5DATATYPE_H
29 #define CASA_HDF5DATATYPE_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.
HDF5DataType()
The default constructor makes an invalid object.
A class representing an HDF5 data type.
HDF5HidDataType itsHidMem
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
static Block< hsize_t > fromShape(const IPosition &shape)
Helper functions to convert shapes.
~HDF5DataType()
The destructor closes the HDF5 data type object.
uInt size() const
Get the size in bytes of the data type (in memory).
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)
hid_t getHidFile() const
Get the HID for the data type in the file.
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...
hid_t getHidMem() const
Get the HID for the data type in memory.
String: the storage and methods of handling collections of characters.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.