Go to the documentation of this file.
28 #ifndef CASA_HDF5OBJECT_H
29 #define CASA_HDF5OBJECT_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/BasicSL/String.h>
41 typedef int64_t hid_t;
96 operator hid_t()
const
void setName(const String &name)
Get or set the name.
HDF5Object()
Default constructor sets to invalid hid.
const String & getName() const
virtual ~HDF5Object()
The destructor in a derived class should close the hid appropriately.
bool isValid() const
Is it a valid hid?
HDF5Object & operator=(const HDF5Object &that)
Assignment cannot be used.
HDF5Object(const HDF5Object &that)
Copy constructor cannot be used.
hid_t getHid() const
Get the hid.
virtual void close()=0
Close the hid if valid.
this file contains all the compiler specific defines
static void throwNoHDF5()
If no HDF5, throw an exception that HDF5 is not supported.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
An abstract base class representing an HDF5 object.
void setHid(hid_t hid)
Set the hid.
static Bool hasHDF5Support()
Check if there is HDF5 support compiled in.
void clearHid()
Clear the hid (set to invalid).
unsigned long long uInt64