HDF5Object.getInfoByName

H5O_info2_t getInfoByName(hid_t locId, string name, uint fields = H5O_INFO.BASIC, hid_t lapl = H5P_DEFAULT)

Gets information about an object by name.

Parameters

locIdLocation identifier
nameName of the object
fieldsFields to retrieve (default: H5O_INFO.BASIC)
laplLink access property list (default: H5P_DEFAULT)

Returns

Object information structure.

Throws

HDF5Exception if getting info fails.