![]() |
HDF5 Last Updated on 2025-11-11
The HDF5 Field Guide
|
|
static |
H5Oare_mdc_flushes_disabled retrieve the object's "cork" status.
| object_id | IN: Identifier of the object to be flushed. |
|
static |
H5Oclose closes the group, dataset, or named datatype specified.
| object_id | IN: Object identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Ocopy copies the group, dataset or named datatype specified from the file or group specified by source location to the destination location.
| src_loc_id | IN: Object identifier indicating the location of the source object to be copied |
| src_name | IN: Name of the source object to be copied |
| dst_loc_id | IN: Location identifier specifying the destination |
| dst_name | IN: Name to be assigned to the new copy |
| ocpypl_id | IN: Object copy property list |
| lcpl_id | IN: Link creation property list for the new hard link |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Odecr_refcount decrements the hard link reference count for an object.
| object_id | IN: Object identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Odisable_mdc_flushes corks an object, keeping dirty entries associated with the object in the metadata cache.
| object_id | IN: Identifier of the object to be corked. |
|
static |
H5Oenable_mdc_flushes uncorks an object, keeping dirty entries associated with the object in the metadata cache.
| object_id | IN: Identifier of the object to be uncorked. |
|
static |
H5Oexists_by_name is used by an application to check that an existing link resolves to an object. Primarily, it is designed to check for dangling soft, external, or user-defined links.
| loc_id | IN: File or group identifier |
| obj_name | IN: Relative path to the object |
| lapl_id | IN: Link access property list identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oflush causes all buffers associated with an object to be immediately flushed to disk without removing the data from the cache. object_id can be any named object associated with an HDF5 file including a dataset, a group, or a committed datatype.
| object_id | IN: Identifier of the object to be flushed. |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Oget_comment retrieves the comment for the specified object.
| obj_id | IN: File or group identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Oget_comment_by_name retrieves the comment for an object.
| loc_id | IN: Identifier of a file, group, dataset, or named datatype. |
| name | IN: Relative name of the object whose comment is to be set or reset. |
| lapl_id | IN: Link access property list identifier. |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_info retrieves the metadata for an object specified by an identifier.
| loc_id | IN: Identifier for target object |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_info retrieves the metadata for an object specified by an identifier.
| loc_id | IN: Identifier for target object |
| fields | IN: Object fields to select |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_info_by_idx retrieves the metadata for an object, identifying the object by an index position.
| loc_id | IN: File or group identifier |
| group_name | IN: Name of group, relative to loc_id, in which object is located |
| idx_type | IN: Type of index by which objects are ordered |
| order | IN: Order of iteration within index |
| n | IN: Object to open |
| fields | IN: Object fields to select |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_info_by_idx retrieves the metadata for an object, identifying the object by an index position.
| loc_id | IN: File or group identifier |
| group_name | IN: Name of group, relative to loc_id, in which object is located |
| idx_type | IN: Type of index by which objects are ordered |
| order | IN: Order of iteration within index |
| n | IN: Object to open |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_info_by_name retrieves the metadata for an object, identifying the object by location and relative name.
| loc_id | IN: File or group identifier specifying location of group in which object is located |
| name | IN: Relative name of group |
| fields | IN: Object fields to select |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_info_by_name retrieves the metadata for an object, identifying the object by location and relative name.
| loc_id | IN: File or group identifier specifying location of group in which object is located |
| name | IN: Relative name of group |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_native_info retrieves the native HDF5-specific metadata for an HDF5 object specified by an identifier. Native HDF5-specific metadata includes things like object header information and object storage layout information.
| loc_id | IN: Identifier for target object |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_native_info retrieves the native HDF5-specific metadata for an HDF5 object specified by an identifier. Native HDF5-specific metadata includes things like object header information and object storage layout information.
| loc_id | IN: Identifier for target object |
| fields | IN: Object fields to select |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_native_info_by_idx retrieves the native HDF5-specific metadata for an HDF5 object, identifying the object by an index position. Native HDF5-specific metadata includes things like object header information and object storage layout information.
| loc_id | IN: File or group identifier |
| group_name | IN: Name of group, relative to loc_id, in which object is located |
| idx_type | IN: Type of index by which objects are ordered |
| order | IN: Order of iteration within index |
| n | IN: Object to open |
| fields | IN: Object fields to select |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_native_info_by_idx retrieves the native HDF5-specific metadata for an HDF5 object, identifying the object by an index position. Native HDF5-specific metadata includes things like object header information and object storage layout information.
| loc_id | IN: File or group identifier |
| group_name | IN: Name of group, relative to loc_id, in which object is located |
| idx_type | IN: Type of index by which objects are ordered |
| order | IN: Order of iteration within index |
| n | IN: Object to open |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_native_info_by_name retrieves the native HDF5-specific metadata for an HDF5 object, identifying the object by location and relative name. Native HDF5-specific metadata includes things like object header information and object storage layout information.
| loc_id | IN: File or group identifier specifying location of group in which object is located |
| name | IN: Relative name of group |
| fields | IN: Object fields to select |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oget_native_info_by_name retrieves the native HDF5-specific metadata for an HDF5 object, identifying the object by location and relative name. Native HDF5-specific metadata includes things like object header information and object storage layout information.
| loc_id | IN: File or group identifier specifying location of group in which object is located |
| name | IN: Relative name of group |
| lapl_id | IN: Access property list identifier for the link pointing to the object (Not currently used; pass as H5P_DEFAULT.) |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oincr_refcount increments the hard link reference count for an object.
| object_id | IN: Object identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Olink creates a new hard link to an object in an HDF5 file.
| obj_id | IN: Object to be linked. |
| new_loc_id | IN: File or group identifier specifying location at which object is to be linked. |
| new_name | IN: Relative name of link to be created. |
| lcpl_id | IN: Link creation property list identifier. |
| lapl_id | IN: Access property list identifier. |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oopen opens a group, dataset, or named datatype specified by a location and a path name.
| loc_id | IN: File or group identifier |
| name | IN: Relative path to the object |
| lapl_id | IN: Access property list identifier for the link pointing to the object |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Oopen_by_idx opens the nth object in the group specified.
| loc_id | IN: File or group identifier |
| group_name | IN: Name of group, relative to loc_id, in which object is located |
| idx_type | IN: Type of index by which objects are ordered |
| order | IN: Order of iteration within index |
| n | IN: Object to open |
| lapl_id | IN: Access property list identifier for the link pointing to the object |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | group_name is null. |
|
static |
H5Oopen_by_token opens a group, dataset, or named datatype using its object token within an HDF5 file.
| loc_id | IN: File or group identifier |
| token | IN: Object's token in the file |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Orefresh causes all buffers associated with an object to be cleared and immediately re-loaded with updated contents from disk. This function essentially closes the object, evicts all metadata associated with it from the cache, and then re-opens the object. The reopened object is automatically re-registered with the same ID. object_id can be any named object associated with an HDF5 file including a dataset, a group, or a committed datatype.
| object_id | IN: Identifier of the object to be refreshed. |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Oset_comment sets the comment for the specified object.
| obj_id | IN: Identifier of the target object |
| comment | IN: The new comment. |
| HDF5LibraryException | Error from the HDF5 Library. |
|
static |
H5Oset_comment_by_name sets the comment for the specified object.
| loc_id | IN: Identifier of a file, group, dataset, or named datatype. |
| name | IN: Relative name of the object whose comment is to be set or reset. |
| comment | IN: The new comment. |
| lapl_id | IN: Link access property list identifier. |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Ovisit recursively visits all objects accessible from a specified object.
| obj_id | IN: Identifier of the object at which the recursive iteration begins. |
| idx_type | IN: Type of index |
| order | IN: Order of iteration within index |
| op | IN: Callback function passing data regarding the object to the calling application |
| op_data | IN: User-defined pointer to data required by the application for its processing of the object |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Ovisit recursively visits all objects accessible from a specified object.
| obj_id | IN: Identifier of the object at which the recursive iteration begins. |
| idx_type | IN: Type of index |
| order | IN: Order of iteration within index |
| op | IN: Callback function passing data regarding the object to the calling application |
| op_data | IN: User-defined pointer to data required by the application for its processing of the object |
| fields | IN: Object fields to select |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Ovisit_by_name recursively visits all objects starting from a specified object.
| loc_id | IN: File or group identifier |
| obj_name | IN: Relative path to the object |
| idx_type | IN: Type of index |
| order | IN: Order of iteration within index |
| op | IN: Callback function passing data regarding the object to the calling application |
| op_data | IN: User-defined pointer to data required by the application for its processing of the object |
| fields | IN: Object fields to select |
| lapl_id | IN: Link access property list identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |
|
static |
H5Ovisit_by_name recursively visits all objects starting from a specified object.
| loc_id | IN: File or group identifier |
| obj_name | IN: Relative path to the object |
| idx_type | IN: Type of index |
| order | IN: Order of iteration within index |
| op | IN: Callback function passing data regarding the object to the calling application |
| op_data | IN: User-defined pointer to data required by the application for its processing of the object |
| lapl_id | IN: Link access property list identifier |
| HDF5LibraryException | Error from the HDF5 Library. |
| NullPointerException | name is null. |