Attribute.create
Attribute create(hid_t locId, string name, hid_t typeId, hid_t spaceId,
hid_t acpl = H5P_DEFAULT, hid_t aapl = H5P_DEFAULT)Creates a new attribute.
Parameters
locId | Location identifier (file, group, or dataset handle) |
name | Name of the attribute to create |
typeId | Datatype identifier |
spaceId | Dataspace identifier |
acpl | Attribute creation property list (default: H5P_DEFAULT) |
aapl | Attribute access property list (default: H5P_DEFAULT) |
Returns
A new Attribute instance
Throws
HDF5Exception if attribute creation fails