ddn.lib.hdf5.h5a
HDF5 Attribute Binding
This module provides D bindings for HDF5 attribute operations (H5A API).
License
BSD-3-Clause
struct H5A_info_t
fn H5Aclose H5Acreate1 H5Acreate2 H5Acreate_by_name H5Adelete H5Adelete_by_idx H5Adelete_by_name H5Aexists H5Aexists_by_name H5Aget_create_plist H5Aget_info H5Aget_info_by_idx H5Aget_info_by_name H5Aget_name H5Aget_name_by_idx H5Aget_num_attrs H5Aget_space H5Aget_storage_size H5Aget_type H5Aiterate1 H5Aiterate2 H5Aiterate_by_name H5Aopen H5Aopen_by_idx H5Aopen_by_name H5Aopen_idx H5Aopen_name H5Aread H5Arename H5Arename_by_name H5Awrite
Types 6
structH5A_info_t
Attribute information structure
enumH5T_cset_t : int
Character set type (from H5T)
CSET_ERROR = - 1
ASCII = 0
UTF8 = 1
enumH5_INDEX : int
Index types for iteration.
Specifies the index to use when iterating over attributes or links.
UNKNOWN = - 1Unknown index type
NAME = 0Index by name
CRT_ORDER = 1Index by creation order
N = 2Number of index types (not a valid type)
enumH5_ITER_ORDER : int
Iteration order options.
Specifies the order to use when iterating over attributes or links.
UNKNOWN = - 1Unknown order
INC = 0Increasing order
DEC = 1Decreasing order
NATIVE = 2Native order (fastest)
N = 3Number of iteration orders (not a valid order)
aliasH5A_operator2_t = herr_t function(hid_t location_id, const char * attr_name,
const H5A_info_t * ainfo, void * op_data)
Callback function type for H5Aiterate2.
Parameters
location_id | Object identifier for the object to which the attribute is attached |
attr_name | Name of the current attribute |
ainfo | Pointer to the attribute info structure |
op_data | User data passed to H5Aiterate2 |
Returns
Zero to continue iteration, positive to stop iteration successfully,
negative to stop iteration with an error.
aliasH5A_operator1_t = herr_t function(hid_t loc_id, const char * attr_name, void * op_data)
Callback type for H5Aiterate1.
Functions 31
fn
hid_t H5Acreate2(hid_t loc_id, const char * attr_name, hid_t type_id, hid_t space_id,
hid_t acpl_id, hid_t aapl_id)Creates an attributefn
hid_t H5Acreate_by_name(hid_t loc_id, const char * obj_name, const char * attr_name,
hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)Creates an attribute by namefn
hid_t H5Aopen_by_name(hid_t loc_id, const char * obj_name, const char * attr_name,
hid_t aapl_id, hid_t lapl_id)Opens an attribute by namefn
herr_t H5Aget_info_by_name(hid_t loc_id, const char * obj_name, const char * attr_name,
H5A_info_t * ainfo, hid_t lapl_id)Gets attribute information by namefn
herr_t H5Adelete_by_name(hid_t loc_id, const char * obj_name, const char * attr_name, hid_t lapl_id)Deletes an attribute by namefn
htri_t H5Aexists_by_name(hid_t obj_id, const char * obj_name, const char * attr_name, hid_t lapl_id)Checks if attribute exists by namefn
herr_t H5Arename_by_name(hid_t loc_id, const char * obj_name, const char * old_attr_name,
const char * new_attr_name, hid_t lapl_id)Renames an attribute by namefn
herr_t H5Aiterate2(hid_t obj_id, int idx_type, int order, hsize_t * idx,
H5A_operator2_t op, void * op_data)Iterates over attributes attached to an object.fn
herr_t H5Aiterate_by_name(hid_t loc_id, const char * obj_name, int idx_type, int order,
hsize_t * idx, H5A_operator2_t op, void * op_data, hid_t lapl_id)Iterates over attributes attached to an object specified by name.fn
herr_t H5Aget_info_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order,
hsize_t n, H5A_info_t * ainfo, hid_t lapl_id)Gets attribute information by index.fn
ssize_t H5Aget_name_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order,
hsize_t n, char * name, size_t size, hid_t lapl_id)Gets attribute name by index.fn
hid_t H5Aopen_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order,
hsize_t n, hid_t aapl_id, hid_t lapl_id)Opens an attribute by index.fn
herr_t H5Adelete_by_idx(hid_t loc_id, const char * obj_name, int idx_type, int order,
hsize_t n, hid_t lapl_id)Deletes an attribute by index.fn
hid_t H5Acreate1(hid_t loc_id, const char * name, hid_t type_id,
hid_t space_id, hid_t acpl_id)Creates an attribute (version 1, deprecated).fn
herr_t H5Aiterate1(hid_t loc_id, uint * idx, H5A_operator1_t op, void * op_data)Iterates over attributes (version 1, deprecated).