![]() |
HDF5 Last Updated on 2025-12-16
The HDF5 Field Guide
|
Navigate back: Main / HDF5 User Guide
The HDF5 Object interface (H5O) provides functions for managing HDF5 objects at a generic level. While specific object types (groups, datasets, datatypes) have their own interfaces (Groups (H5G), Datasets (H5D), Datatypes (H5T)), the H5O interface enables operations that apply to all object types uniformly.
The H5O interface provides several categories of operations:
The H5O interface provides powerful traversal capabilities:
These functions invoke a user-supplied callback for each object encountered, enabling custom processing, cataloging, or analysis of file contents.
Objects can have associated comment strings for documentation purposes:
HDF5 uses reference counting to manage object lifetimes. The library automatically deletes objects when their reference count reaches zero:
For performance optimization, the H5O interface provides cache management functions:
These functions are particularly useful in SWMR (Single Writer Multiple Reader) scenarios.
The H5O interface provides essential generic object operations:
Navigate back: Main / HDF5 User Guide