HDF5Object.exists
bool exists(hid_t locId, string name, hid_t lapl = H5P_DEFAULT)Checks if a link to an object exists at the specified path.
This checks if a link exists, not necessarily if the target object exists.
Parameters
locId | Location identifier |
name | Path to check |
lapl | Link access property list (default: H5P_DEFAULT) |
Returns
true if the link exists, false otherwise.
Throws
HDF5Exception if the check fails.