|
SpECTRE
v2026.11.11
|
Snapshot of the open HDF5 identifiers, used by check_no_leaked_h5_identifiers() to detect leaked HDF5 handles. More...
#include <H5Identifiers.hpp>
Public Attributes | |
| size_t | number_of_file_objects {0} |
| hid_t | datatype_probe {-1} |
| hid_t | dataspace_probe {-1} |
| hid_t | property_list_probe {-1} |
Snapshot of the open HDF5 identifiers, used by check_no_leaked_h5_identifiers() to detect leaked HDF5 handles.
Files, groups, datasets, attributes and named datatypes are counted with H5Fget_obj_count. Transient datatypes, dataspaces and property lists are not attached to a file, so for those kinds the snapshot records the identifier of a probe object that is created and closed immediately. HDF5 hands out the identifiers of each kind sequentially, so every identifier of a kind that is created later lies between two consecutive probes and H5Iis_valid tells whether it is still open.