 |
HDF5
1.12.0
|
Go to the documentation of this file.
22 #if !(defined H5A_FRIEND || defined H5A_MODULE)
23 #error "Do not include this file outside the H5A package!"
53 #define H5O_ATTR_VERSION_1 1
59 #define H5O_ATTR_VERSION_2 2
62 #define H5O_ATTR_VERSION_3 3
67 #define H5O_ATTR_VERSION_LATEST H5O_ATTR_VERSION_3
187 const char *attr_name,
const H5T_t *type,
const H5S_t *space,
191 const char *attr_name);
205 const char *new_attr_name);
208 #ifndef H5_NO_DEPRECATED_SYMBOLS
213 const char *attr_name);
227 const char *old_name,
const char *new_name);
258 const char *new_name);
266 #ifndef H5_NO_DEPRECATED_SYMBOLS
Definition: H5Oprivate.h:152
int ssize_t
Definition: H5public.h:167
Definition: H5Oprivate.h:782
H5O_fheap_id_t id
Definition: H5Apkg.h:149
H5_DLL hid_t H5A__get_type(H5A_t *attr)
Definition: H5Aint.c:894
H5_DLL herr_t H5A__set_version(const H5F_t *f, H5A_t *attr)
Definition: H5Aint.c:1997
H5O_shared_t sh_loc
Definition: H5Apkg.h:94
H5_DLL herr_t H5O__attr_write(const H5O_loc_t *loc, H5A_t *attr)
Definition: H5Oattribute.c:892
hbool_t obj_opened
Definition: H5Apkg.h:96
H5O_fheap_id_t id
Definition: H5Apkg.h:107
hdr f
Definition: H5EA.c:755
H5_DLL herr_t H5A__iterate(const H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data)
Definition: H5Aint.c:2619
Definition: H5Oprivate.h:268
herr_t(* H5A_operator2_t)(hid_t location_id, const char *attr_name, const H5A_info_t *ainfo, void *op_data)
Definition: H5Apublic.h:34
H5_DLL H5A_t * H5A__open_by_name(const H5G_loc_t *loc, const char *obj_name, const char *attr_name)
Definition: H5Aint.c:531
H5_DLL herr_t H5A__dense_rename(H5F_t *f, const H5O_ainfo_t *ainfo, const char *old_name, const char *new_name)
Definition: H5Adense.c:893
H5FL_BLK_EXTERN(attr_buf)
H5A_shared_t * shared
Definition: H5Apkg.h:98
H5T_t * dt
Definition: H5Apkg.h:80
H5_DLL herr_t H5A__dense_create(H5F_t *f, H5O_ainfo_t *ainfo)
Definition: H5Adense.c:180
char * name
Definition: H5Apkg.h:77
uint8_t version
Definition: H5Apkg.h:75
Definition: H5VLprivate.h:39
herr_t H5A__get_shared_rc_test(hid_t attr_id, hsize_t *ref_count)
Definition: H5Atest.c:124
uint32_t
Definition: H5overflow.txt:38
H5_DLL herr_t H5O__attr_remove_by_idx(const H5O_loc_t *loc, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Oattribute.c:1606
H5_DLL ssize_t H5A__get_name(H5A_t *attr, size_t buf_size, char *buf)
Definition: H5Aint.c:816
H5_DLL herr_t H5A__iterate_old(hid_t loc_id, unsigned *attr_num, H5A_operator1_t op, void *op_data)
Definition: H5Aint.c:2687
H5_DLL H5A_t * H5A__open_by_idx(const H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Aint.c:467
H5O_msg_crt_idx_t crt_idx
Definition: H5Apkg.h:88
H5O_msg_crt_idx_t corder
Definition: H5Apkg.h:137
size_t ds_size
Definition: H5Apkg.h:84
struct H5A_dense_bt2_name_rec_t H5A_dense_bt2_name_rec_t
#define H5_DLLVAR
Definition: H5api_adpt.h:235
H5_DLL herr_t H5A__dense_post_copy_file_all(const H5O_loc_t *src_oloc, const H5O_ainfo_t *ainfo_src, H5O_loc_t *dst_oloc, H5O_ainfo_t *ainfo_dst, H5O_copy_t *cpy_info)
Definition: H5Aint.c:2491
H5_DLL htri_t H5A__get_ainfo(H5F_t *f, H5O_t *oh, H5O_ainfo_t *ainfo)
Definition: H5Aint.c:1933
size_t dt_size
Definition: H5Apkg.h:81
H5_DLL herr_t H5A__rename_by_name(H5G_loc_t loc, const char *obj_name, const char *old_attr_name, const char *new_attr_name)
Definition: H5Aint.c:2537
H5_DLL herr_t H5O__attr_create(const H5O_loc_t *loc, H5A_t *attr)
Definition: H5Oattribute.c:205
H5_DLL H5A_t * H5O__attr_open_by_name(const H5O_loc_t *loc, const char *name)
Definition: H5Oattribute.c:449
H5_DLL herr_t H5A__delete_by_name(const H5G_loc_t *loc, const char *obj_name, const char *attr_name)
Definition: H5Aint.c:2729
Definition: H5Gprivate.h:144
unsigned char uint8_t
Definition: H5private.h:429
struct H5A_bt2_ud_common_t H5A_bt2_ud_common_t
uint8_t flags
Definition: H5Apkg.h:136
H5F_t * f
Definition: H5Apkg.h:131
int htri_t
Definition: H5public.h:160
H5_DLL herr_t H5A__dense_iterate(H5F_t *f, hid_t loc_id, const H5O_ainfo_t *ainfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t skip, hsize_t *last_attr, const H5A_attr_iter_op_t *attr_op, void *op_data)
Definition: H5Adense.c:1171
H5S_t * ds
Definition: H5Apkg.h:83
H5_iter_order_t
Definition: H5public.h:295
H5_DLL herr_t H5A__close(H5A_t *attr)
Definition: H5Aint.c:1192
herr_t(* H5A_bt2_found_t)(const H5A_t *attr, hbool_t *took_ownership, void *op_data)
Definition: H5Apkg.h:122
H5_DLL herr_t H5A__compact_build_table(H5F_t *f, H5O_t *oh, H5_index_t idx_type, H5_iter_order_t order, H5A_attr_table_t *atable)
Definition: H5Aint.c:1448
H5_DLL herr_t H5O__attr_remove(const H5O_loc_t *loc, const char *name)
Definition: H5Oattribute.c:1524
H5_DLL herr_t H5A__attr_release_table(H5A_attr_table_t *atable)
Definition: H5Aint.c:1889
int64_t hid_t
Definition: H5Ipublic.h:55
H5T_cset_t encoding
Definition: H5Apkg.h:78
size_t data_size
Definition: H5Apkg.h:87
H5HF_t * shared_fheap
Definition: H5Apkg.h:133
H5_DLL htri_t H5O__attr_exists(const H5O_loc_t *loc, const char *name)
Definition: H5Oattribute.c:1792
H5_DLL H5A_t * H5A__attr_copy_file(const H5A_t *attr_src, H5F_t *file_dst, hbool_t *recompute_size, H5O_copy_t *cpy_info)
uint8_t flags
Definition: H5Apkg.h:108
void * data
Definition: H5Apkg.h:86
H5_DLLVAR const H5B2_class_t H5A_BT2_CORDER[1]
Definition: H5Apkg.h:176
H5_DLL herr_t H5A__dense_delete(H5F_t *f, H5O_ainfo_t *ainfo)
Definition: H5Adense.c:1862
Definition: H5Apublic.h:26
Definition: H5Oprivate.h:172
H5_DLL H5A_t * H5A__create(const H5G_loc_t *loc, const char *attr_name, const H5T_t *type, const H5S_t *space, hid_t acpl_id)
Definition: H5Aint.c:141
uint32_t name_hash
Definition: H5Apkg.h:135
H5O_msg_crt_idx_t corder
Definition: H5Apkg.h:109
H5_DLLVAR const H5B2_class_t H5A_BT2_NAME[1]
Definition: H5Apkg.h:173
H5_DLL herr_t H5A__dense_insert(H5F_t *f, const H5O_ainfo_t *ainfo, H5A_t *attr)
Definition: H5Adense.c:450
size_t nattrs
Definition: H5Apkg.h:154
H5_DLL herr_t H5A__dense_remove(H5F_t *f, const H5O_ainfo_t *ainfo, const char *name)
Definition: H5Adense.c:1370
uint32_t H5O_msg_crt_idx_t
Definition: H5Opublic.h:155
H5_DLL htri_t H5A__dense_exists(H5F_t *f, const H5O_ainfo_t *ainfo, const char *name)
Definition: H5Adense.c:1712
H5T_cset_t
Definition: H5Tpublic.h:78
H5_DLL herr_t H5O__attr_update_shared(H5F_t *f, H5O_t *oh, H5A_t *attr, H5O_shared_t *sh_mesg)
Definition: H5Oattribute.c:736
H5G_name_t path
Definition: H5Apkg.h:97
H5_DLL H5A_t * H5A__copy(H5A_t *new_attr, const H5A_t *old_attr)
Definition: H5Aint.c:1047
H5_DLL herr_t H5A__write(H5A_t *attr, const H5T_t *mem_type, const void *buf)
Definition: H5Aint.c:702
H5A_t ** attrs
Definition: H5Apkg.h:155
Definition: H5Gprivate.h:130
H5_DLL H5A_t * H5A__open(const H5G_loc_t *loc, const char *attr_name)
Definition: H5Aint.c:422
H5_DLL htri_t H5A__exists_by_name(H5G_loc_t loc, const char *obj_name, const char *attr_name)
Definition: H5Aint.c:1337
H5_DLL herr_t H5A__dense_build_table(H5F_t *f, const H5O_ainfo_t *ainfo, H5_index_t idx_type, H5_iter_order_t order, H5A_attr_table_t *atable)
Definition: H5Aint.c:1556
H5A_bt2_found_t found_op
Definition: H5Apkg.h:138
H5_DLL herr_t H5A__get_info(const H5A_t *attr, H5A_info_t *ainfo)
Definition: H5Aint.c:1005
#define H5_DLL
Definition: H5api_adpt.h:234
Definition: H5Oprivate.h:146
H5_DLL hid_t H5A__get_create_plist(H5A_t *attr)
Definition: H5Aint.c:962
H5_DLL herr_t H5A__shared_free(H5A_t *attr)
Definition: H5Aint.c:1111
H5_DLL H5A_t * H5O__attr_open_by_idx(const H5O_loc_t *loc, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Oattribute.c:584
htri_t H5A__is_shared_test(hid_t attr_id)
Definition: H5Atest.c:92
struct H5A_dense_bt2_corder_rec_t H5A_dense_bt2_corder_rec_t
H5_DLL H5A_t * H5A__create_by_name(const H5G_loc_t *loc, const char *obj_name, const char *attr_name, const H5T_t *type, const H5S_t *space, hid_t acpl_id)
Definition: H5Aint.c:304
unsigned nrefs
Definition: H5Apkg.h:89
H5A_bt2_ud_common_t common
Definition: H5Apkg.h:148
H5_DLL herr_t H5A__delete_by_idx(const H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Aint.c:2775
H5_DLL herr_t H5A__attr_iterate_table(const H5A_attr_table_t *atable, hsize_t skip, hsize_t *last_attr, hid_t loc_id, const H5A_attr_iter_op_t *attr_op, void *op_data)
Definition: H5Aint.c:1808
herr_t(* H5A_operator1_t)(hid_t location_id, const char *attr_name, void *operator_data)
Definition: H5Apublic.h:106
H5_DLL herr_t H5O__attr_iterate(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t skip, hsize_t *last_attr, const H5A_attr_iter_op_t *op, void *op_data)
Definition: H5Oattribute.c:1312
*s *s n
Definition: H5HLdbg.c:111
H5_DLL herr_t H5O__attr_rename(const H5O_loc_t *loc, const char *old_name, const char *new_name)
Definition: H5Oattribute.c:1137
H5_DLL herr_t H5A__read(const H5A_t *attr, const H5T_t *mem_type, void *buf)
Definition: H5Aint.c:599
int herr_t
Definition: H5public.h:128
H5_DLL H5A_t * H5A__dense_open(H5F_t *f, const H5O_ainfo_t *ainfo, const char *name)
Definition: H5Adense.c:361
void * found_op_data
Definition: H5Apkg.h:139
bool hbool_t
Definition: H5public.h:159
H5_DLL herr_t H5A__open_common(const H5G_loc_t *loc, H5A_t *attr)
Definition: H5Aint.c:371
struct H5A_shared_t H5A_shared_t
H5_DLL herr_t H5A__attr_post_copy_file(const H5O_loc_t *src_oloc, const H5A_t *mesg_src, H5O_loc_t *dst_oloc, const H5A_t *mesg_dst, H5O_copy_t *cpy_info)
Definition: H5Aint.c:2343
H5_DLL herr_t H5A__dense_remove_by_idx(H5F_t *f, const H5O_ainfo_t *ainfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Adense.c:1584
uint8_t flags
Definition: H5Apkg.h:117
Definition: H5HFpkg.h:459
H5HF_t * fheap
Definition: H5Apkg.h:132
H5O_fheap_id_t id
Definition: H5Apkg.h:116
hsize_t
Definition: H5overflow.txt:44
Definition: H5Aprivate.h:54
Definition: H5B2private.h:82
uint32_t hash
Definition: H5Apkg.h:110
struct H5A_bt2_ud_ins_t H5A_bt2_ud_ins_t
H5_index_t
Definition: H5public.h:316
H5O_loc_t oloc
Definition: H5Apkg.h:95
H5_DLL int H5O__attr_count(const H5O_loc_t *loc)
Definition: H5Oattribute.c:1946
const char * name
Definition: H5Apkg.h:134
H5O_msg_crt_idx_t corder
Definition: H5Apkg.h:118
H5_DLL herr_t H5A__close_cb(H5VL_object_t *attr_vol_obj)
Definition: H5Aint.c:1157
H5_DLL herr_t H5A__dense_write(H5F_t *f, const H5O_ainfo_t *ainfo, H5A_t *attr)
Definition: H5Adense.c:753