Reads an attribute from disk
Procedure:
H5LT_GET_ATTRIBUTE_ULONG (loc_id, obj_name, attr_name, data)
Signature:
herr_t H5LTget_attribute_ulong( hid_t loc_id, const char *obj_name, const char *attr_name, unsigned long *data )
Parameters:
hid_t loc_id | IN: Identifier of the object ( dataset or group) to read the attribute from |
const char *obj_name | IN: The name of the object that the attribute is attached to |
const char *attr_name | IN: The attribute name |
unsigned long * data | OUT: Buffer with data |
Description:
H5LT_GET_ATTRIBUTE_ULONG reads an attribute named attr_name
that is attached to the object specified by the name obj_name.
The HDF5 datatype of the attribute is H5T_NATIVE_ULONG.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.
Example:
--- Last Modified: August 13, 2019 | 01:48 PM