Hi,
I have a piece of code that queries a group to see if a subgroup with
a given name exists:
static h5part_int64_t
_have_object (
const hid_t id,
const char *name
) {
return (H5Gget_objinfo( id, name, 1, NULL ) >= 0 ? 1 : 0);
}
The problem is that H5Gget_objinfo is now deprecated in 1.8. Looking
through the reference manual, I couldn't find a call that simply tests
whether an object exists or not given a location id and the object's
name. Any recommendations?
Thanks,
Mark
···
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.