Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5O_OPEN_BY_TOKEN

Opens an object in an HDF5 file using its VOL independent token

Procedure:

H5O_OPEN_BY_TOKEN ( loc_id, token )

Signature:

hid_t H5Oopen_by_token ( hid_t loc_id, H5O_token_t token )

 SUBROUTINE h5oopen_by_token_f(loc_id, token, obj_id, hdferr)
    IMPLICIT NONE
    INTEGER(HID_T)  , INTENT(IN)        :: loc_id
    TYPE(H5O_TOKEN_T_F), INTENT(IN)     :: token
    INTEGER(HID_T)  , INTENT(OUT)       :: obj_id
    INTEGER         , INTENT(OUT)       :: hdferr

Parameters:
hid_t loc_idIN: Location identifier of object
H5O_token_t tokenIN: Object token

Description:

H5O_OPEN_BY_TOKEN opens an object specified by the object identifier, loc_id and object token, token.

Returns:

Returns an open object identifier on success.

Returns H5I_INVALID_HID on failure.

Example:

examples / h5_extlink.c [420:423]  hdf5_1_12  HDFFV/hdf5
    /* Open the object this link points to so that we can increment
     * its reference count. This also ensures that the token passed
     * in points to a real object (although this check is not perfect!) */
    target_obj = H5Oopen_by_token(loc_group, token);

History:
ReleaseChange
1.12.0Function introduced in this release.

--- Last Modified: March 17, 2020 | 12:02 PM