HDF5Object.getTypeByName

H5O_type_t getTypeByName(hid_t locId, string name, hid_t lapl = H5P_DEFAULT)

Gets the type of an object by name.

Parameters

locIdLocation identifier
nameName of the object
laplLink access property list (default: H5P_DEFAULT)

Returns

The object type (GROUP, DATASET, or NAMED_DATATYPE).

Throws

HDF5Exception if getting type fails.