Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5R_CREATE_ATTR

Creates an attribute reference

Procedure:

H5R_CREATE_ATTR ( loc_id, name, attr_name, ref_ptr )

Signature:

herr_t H5Rcreate_attr ( hid_t loc_id, const char *name, const char *attr_name, H5R_ref_t *ref_ptr )

Replace this text with the Fortran function signature

Parameters:
hid_t loc idIN: Location identifier
const char * nameIN: Name of object
const char * attr_nameIN: Name of attribute
H5R_ref_t * ref_ptr

OUT: Pointer to reference
H5R_ref_t is defined in H5Rpublic.h as:   typedef unsigned char H5R_ref_t[H5R_REF_BUF_SIZE];

Description:

H5R_CREATE_ATTR creates the reference, ref_ptr, pointing to the attribute named attr_name and attached to the object named name located at loc_id. The parameters loc_id and name are used to locate the object. The parameter attr_name is used to locate the attribute within the object.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
ReleaseChange
1.12.0C function was introduced in this release.

--- Last Modified: October 21, 2019 | 01:36 PM