Reference.createObject

Reference createObject(hid_t locId, string name, hid_t oapl = H5P_DEFAULT)

Creates an object reference.

Parameters

locIdLocation identifier (file or group handle)
namePath to the object to reference
oaplObject access property list (default: H5P_DEFAULT)

Returns

A new Reference instance pointing to the object

Throws

HDF5Exception if reference creation fails