26#ifndef CASA_HDF5GROUP_H
27#define CASA_HDF5GROUP_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/HDF5/HDF5Object.h>
64 bool mustExist=
false,
bool mustNotExist=
false)
65 {
init (parentHid, parentHid.
getName(),
name, mustExist, mustNotExist); }
68 bool mustExist=
false,
bool mustNotExist=
false)
96 bool mustExist=
false,
bool mustNotExist=
false);
HDF5Group & operator=(const HDF5Group &that)
Assignment cannot be used.
static void remove(const HDF5Object &parentHid, const String &name)
Delete group at the given hid if it exists.
static bool exists(const HDF5Object &parentHid, const String &name)
Test if the group at the given hid exists.
HDF5Group(hid_t parentHid, const String &name, bool mustExist=false, bool mustNotExist=false)
HDF5Group()
Construct from given hid.
static std::vector< String > linkNames(const HDF5Object &parentHid)
Get the names of all links at the 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.
HDF5Object()
Default constructor sets to invalid hid.
const String & getName() const
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
String name() const
Return the name of the field.
void init()
Other internal helper function(s).