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

locIdLocation identifier
namePath to check
laplLink access property list (default: H5P_DEFAULT)

Returns

true if the link exists, false otherwise.

Throws

HDF5Exception if the check fails.