H5LTget_attribute_ushort

fnherr_t H5LTget_attribute_ushort(hid_t loc_id, const char * obj_name, const char * attr_name, ushort * data)

Gets an unsigned short attribute.

Reads an attribute containing unsigned short values.

Parameters

loc_idLocation identifier
obj_nameName of the object containing the attribute
attr_nameName of the attribute
dataBuffer to store the attribute data

Returns

Non-negative on success, negative on failure.