Link.createHard
void createHard(hid_t srcLoc, string srcName, hid_t dstLoc, string dstName,
hid_t lcpl = H5P_DEFAULT, hid_t lapl = H5P_DEFAULT)Creates a hard link to an existing object.
A hard link is a direct pointer to an object. The object will not be deleted until all hard links to it are removed.
Parameters
srcLoc | Location identifier of the source object |
srcName | Name of the source object |
dstLoc | Location identifier where the new link will be created |
dstName | Name of the new link |
lcpl | Link creation property list (default: H5P_DEFAULT) |
lapl | Link access property list (default: H5P_DEFAULT) |
Throws
HDF5Exception if link creation fails.