Page tree

The license could not be verified: License Certificate has expired!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

Information on the changes to references in HDF5-1.12 can be found below:

Description

The H5R APIs were extended in HDF5-1.12 to support external references and attributes and to support the Virtual Object Layer (VOL). To support the new reference features several functions were introduced:

  • Create (H5R_CREATE*) functions were added for each reference type (attribute, object, dataset region).
  • A function was added to release a reference (H5R_DESTROY). This is required because a region reference no longer modifies the original file.
  • Functions were added to query references (H5R_GET*).
  • Other functions were added to simplify or clarify the API.

See the RFC for details on the changes that were made.

HDF5 Library APIs

The H5R functions that were introduce in HDF5-1.12 are described below.

FunctionDescription
H5R_COPYCopies an existing reference
H5R_CREATE_ATTRCreates an attribute reference
H5R_CREATE_OBJECTCreates an object reference
H5R_CREATE_REGIONCreates a region reference
H5R_DESTROYCloses a reference
H5R_EQUALDetermines whether two references are equal
H5R_GET_ATTR_NAMERetrieves the attribute name for a referenced object
H5R_GET_FILE_NAMERetrieves the file name for a referenced object
H5R_GET_OBJ_NAMERetrieves the object name for a referenced object
H5R_GET_OBJ_TYPE3Retrieves the type of object that an object reference points to
H5R_GET_TYPERetrieves the type of reference
H5R_OPEN_ATTROpens the referenced HDF5 attribute
H5R_OPEN_OBJECTOpens the referenced HDF5 object
H5R_OPEN_REGIONSets up a dataspace and selection as specified by a region reference

--- Last Modified: October 22, 2019 | 01:39 PM