File.getObjectCount

ptrdiff_t getObjectCount(uint types = H5F_OBJ.ALL)

Gets the number of open object IDs in the file.

Parameters

typesTypes of objects to count (default: H5F_OBJ.ALL)

Returns

The number of open objects

Throws

HDF5Exception if getting object count fails