28 #ifndef CASA_HDF5DATASET_H
29 #define CASA_HDF5DATASET_H
44 template<
typename T>
class Block;
139 virtual void close();
164 void get (
const Slicer&,
void* buf);
173 void put (
const Slicer&,
const void* buf);
A Vector of integers, for indexing into Array<T> objects.
void setCacheSize(uInt nchunks)
Set the cache size (in chunks) for the data set.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
Non-templated base class for templated Array class.
std::complex< Float > Complex
A class representing an HDF5 dataspace hid.
A class representing an HDF5 data type.
void open(const HDF5Object &, const String &)
Open the data set and check if the external data type matches.
void closeDataSet()
Close the dataset (but not other hids).
const HDF5Object * itsParent
virtual void close()
Close the hid if valid.
void extend(const IPosition &shape)
Extend the dataset if an axis in the new shape is larger.
HDF5DataSet & operator=(const HDF5DataSet &that)
Assignment cannot be used.
HDF5DataSet(const HDF5Object &, const String &, const IPosition &shape, const IPosition &tileShape, const Bool *)
Create an HDF5 data set in the given hid (file or group).
std::complex< Double > DComplex
bool Bool
Define the standard types used by Casacore.
const IPosition & shape() const
Get the shape.
const IPosition & tileShape() const
Get the tile (chunk) shape.
Specify which elements to extract from an n-dimensional array.
An abstract base class representing an HDF5 object.
HDF5HidProperty itsDaplid
static DataType getDataType(hid_t, const String &name)
Get the data type for the data set with the given name.
String: the storage and methods of handling collections of characters.
A class representing an HDF5 data set.
virtual ~HDF5DataSet()
The destructor closes the HDF5 dataset object.
A class representing an HDF5 property hid.
void create(const HDF5Object &, const String &, const IPosition &shape, const IPosition &tileShape)
Create the data set.
void put(const Slicer &, const ArrayBase &buf)
Put a section of data.