HDF5Object.existsByName

bool existsByName(hid_t locId, string name, hid_t lapl = H5P_DEFAULT)

Checks if an object exists at the specified path.

This checks if the object itself exists and is accessible, not just whether a link exists.

Parameters

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

Returns

true if the object exists and is accessible, false otherwise.

Throws

HDF5Exception if the check fails.