28 #ifndef CASA_HDF5DATASET_H 29 #define CASA_HDF5DATASET_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/HDF5/HDF5DataType.h> 36 #include <casacore/casa/Arrays/Slicer.h> 37 #include <casacore/casa/BasicSL/String.h> 38 #include <casacore/casa/Utilities/DataType.h> 43 template<
typename T>
class Block;
126 virtual void close();
145 void get (
const Slicer&,
void* buf);
148 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)
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 IPosition & tileShape() const
Get the tile (chunk) shape.
const HDF5Object * itsParent
void put(const Slicer &, const void *buf)
Put a section of data.
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
static Block< hsize_t > fromShape(const IPosition &shape)
Helper functions to convert shapes.
bool Bool
Define the standard types used by Casacore.
~HDF5DataSet()
The destructor closes the HDF5 dataset object.
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.
static IPosition toShape(const Block< hsize_t > &b)
A class representing an HDF5 property hid.
void create(const HDF5Object &, const String &, const IPosition &shape, const IPosition &tileShape)
Create the data set.
this file contains all the compiler specific defines
const IPosition & shape() const
Get the shape.