11inline hid_t h5g_create2(hid_t loc_id,
16 hid_t group_id = H5Gcreate2(loc_id, name, lcpl_id, gcpl_id, gapl_id);
17 if (group_id == H5I_INVALID_HID) {
25inline hid_t h5g_open2(hid_t loc_id,
const char* name, hid_t gapl_id) {
26 hid_t group_id = H5Gopen2(loc_id, name, gapl_id);
27 if (group_id == H5I_INVALID_HID) {
34inline herr_t h5g_get_num_objs(hid_t loc_id, hsize_t* num_objs) {
35 herr_t err = H5Gget_num_objs(loc_id, num_objs);
38 std::string(
"Unable to count objects in existing group or file"));
Definition H5_definitions.hpp:22
static void ToException(const std::string &prefix_msg)
Definition H5Exception_misc.hpp:43