28 #ifndef CASA_HDF5GROUP_H
29 #define CASA_HDF5GROUP_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/HDF5/HDF5Object.h>
66 bool mustExist=
false,
bool mustNotExist=
false)
67 {
init (parentHid, parentHid.
getName(), name, mustExist, mustNotExist); }
70 bool mustExist=
false,
bool mustNotExist=
false)
71 {
init (parentHid,
String(), name, mustExist, mustNotExist); }
98 bool mustExist=
false,
bool mustNotExist=
false);
static void remove(const HDF5Object &parentHid, const String &name)
Delete group at the given hid if it exists.
static std::vector< String > linkNames(const HDF5Object &parentHid)
Get the names of all links at the given hid.
static bool exists(const HDF5Object &parentHid, const String &name)
Test if the group at the given hid exists.
HDF5Group & operator=(const HDF5Group &that)
Assignment cannot be used.
HDF5Group(hid_t parentHid, const String &name, bool mustExist=false, bool mustNotExist=false)
HDF5Group()
Construct from given hid.
HDF5Group(const HDF5Object &parentHid, const String &name, bool mustExist=false, bool mustNotExist=false)
Open or create a group at the given hid.
void init(hid_t parentHid, const String &parentName, const String &name, bool mustExist=false, bool mustNotExist=false)
Initialize (execute the constructor).
virtual ~HDF5Group()
The destructor closes the hid.
HDF5Group(const HDF5Group &that)
Copy constructor cannot be used.
virtual void close()
Close the hid if valid.
const String & getName() const
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines