validateId
fn
hid_t validateId(hid_t id, string objectType = "object")Validates an HDF5 ID and throws an exception if invalid.
Parameters
id | The HDF5 identifier to validate |
objectType | Description of the object type for error messages |
Returns
The validated ID
Throws
HDF5Exception if the ID is invalid