HDF5  1.12.0
H5Opublic.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the COPYING file, which can be found at the root of the source code *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
10  * If you do not have access to either file, you may request a copy from *
11  * help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /*-------------------------------------------------------------------------
15  *
16  * Created: H5Opublic.h
17  * Aug 5 1997
18  * Robb Matzke <matzke@llnl.gov>
19  *
20  * Purpose: Public declarations for the H5O (object header)
21  * package.
22  *
23  *-------------------------------------------------------------------------
24  */
25 #ifndef _H5Opublic_H
26 #define _H5Opublic_H
27 
28 /* Public headers needed by this file */
29 #include "H5public.h" /* Generic Functions */
30 #include "H5Ipublic.h" /* IDs */
31 #include "H5Lpublic.h" /* Links */
32 
33 /*****************/
34 /* Public Macros */
35 /*****************/
36 
37 /* Flags for object copy (H5Ocopy) */
38 #define H5O_COPY_SHALLOW_HIERARCHY_FLAG (0x0001u) /* Copy only immediate members */
39 #define H5O_COPY_EXPAND_SOFT_LINK_FLAG (0x0002u) /* Expand soft links into new objects */
40 #define H5O_COPY_EXPAND_EXT_LINK_FLAG (0x0004u) /* Expand external links into new objects */
41 #define H5O_COPY_EXPAND_REFERENCE_FLAG (0x0008u) /* Copy objects that are pointed by references */
42 #define H5O_COPY_WITHOUT_ATTR_FLAG (0x0010u) /* Copy object without copying attributes */
43 #define H5O_COPY_PRESERVE_NULL_FLAG (0x0020u) /* Copy NULL messages (empty space) */
44 #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG (0x0040u) /* Merge committed datatypes in dest file */
45 #define H5O_COPY_ALL (0x007Fu) /* All object copying flags (for internal checking) */
46 
47 /* Flags for shared message indexes.
48  * Pass these flags in using the mesg_type_flags parameter in
49  * H5P_set_shared_mesg_index.
50  * (Developers: These flags correspond to object header message type IDs,
51  * but we need to assign each kind of message to a different bit so that
52  * one index can hold multiple types.)
53  */
54 #define H5O_SHMESG_NONE_FLAG 0x0000 /* No shared messages */
55 #define H5O_SHMESG_SDSPACE_FLAG ((unsigned)1 << 0x0001) /* Simple Dataspace Message. */
56 #define H5O_SHMESG_DTYPE_FLAG ((unsigned)1 << 0x0003) /* Datatype Message. */
57 #define H5O_SHMESG_FILL_FLAG ((unsigned)1 << 0x0005) /* Fill Value Message. */
58 #define H5O_SHMESG_PLINE_FLAG ((unsigned)1 << 0x000b) /* Filter pipeline message. */
59 #define H5O_SHMESG_ATTR_FLAG ((unsigned)1 << 0x000c) /* Attribute Message. */
60 #define H5O_SHMESG_ALL_FLAG (H5O_SHMESG_SDSPACE_FLAG | H5O_SHMESG_DTYPE_FLAG | H5O_SHMESG_FILL_FLAG | H5O_SHMESG_PLINE_FLAG | H5O_SHMESG_ATTR_FLAG)
61 
62 /* Object header status flag definitions */
63 #define H5O_HDR_CHUNK0_SIZE 0x03 /* 2-bit field indicating # of bytes to store the size of chunk 0's data */
64 #define H5O_HDR_ATTR_CRT_ORDER_TRACKED 0x04 /* Attribute creation order is tracked */
65 #define H5O_HDR_ATTR_CRT_ORDER_INDEXED 0x08 /* Attribute creation order has index */
66 #define H5O_HDR_ATTR_STORE_PHASE_CHANGE 0x10 /* Non-default attribute storage phase change values stored */
67 #define H5O_HDR_STORE_TIMES 0x20 /* Store access, modification, change & birth times for object */
68 #define H5O_HDR_ALL_FLAGS (H5O_HDR_CHUNK0_SIZE | H5O_HDR_ATTR_CRT_ORDER_TRACKED | H5O_HDR_ATTR_CRT_ORDER_INDEXED | H5O_HDR_ATTR_STORE_PHASE_CHANGE | H5O_HDR_STORE_TIMES)
69 
70 /* Maximum shared message values. Number of indexes is 8 to allow room to add
71  * new types of messages.
72  */
73 #define H5O_SHMESG_MAX_NINDEXES 8
74 #define H5O_SHMESG_MAX_LIST_SIZE 5000
75 
76 /* Flags for H5Oget_info.
77  * Theses flags determine which fields will be filled in in the H5O_info_t
78  * struct.
79  */
80 #define H5O_INFO_BASIC 0x0001u /* Fill in the fileno, addr, type, and rc fields */
81 #define H5O_INFO_TIME 0x0002u /* Fill in the atime, mtime, ctime, and btime fields */
82 #define H5O_INFO_NUM_ATTRS 0x0004u /* Fill in the num_attrs field */
83 #define H5O_INFO_ALL (H5O_INFO_BASIC | H5O_INFO_TIME | H5O_INFO_NUM_ATTRS)
84 
85 /* Flags for H5Oget_native_info.
86  * Theses flags determine which fields will be filled in in the H5O_native_info_t
87  * struct.
88  */
89 #define H5O_NATIVE_INFO_HDR 0x0008u /* Fill in the hdr field */
90 #define H5O_NATIVE_INFO_META_SIZE 0x0010u /* Fill in the meta_size field */
91 #define H5O_NATIVE_INFO_ALL (H5O_NATIVE_INFO_HDR | H5O_NATIVE_INFO_META_SIZE)
92 
93 /* Convenience macro to check if the token is the 'undefined' token value */
94 #define H5O_IS_TOKEN_UNDEF(token) (!HDmemcmp(&(token), &(H5O_TOKEN_UNDEF), sizeof(H5O_token_t)))
95 
96 
97 /*******************/
98 /* Public Typedefs */
99 /*******************/
100 
101 /* Types of objects in file */
102 typedef enum H5O_type_t {
103  H5O_TYPE_UNKNOWN = -1, /* Unknown object type */
104  H5O_TYPE_GROUP, /* Object is a group */
105  H5O_TYPE_DATASET, /* Object is a dataset */
106  H5O_TYPE_NAMED_DATATYPE, /* Object is a named data type */
107  H5O_TYPE_MAP, /* Object is a map */
108  H5O_TYPE_NTYPES /* Number of different object types (must be last!) */
110 
111 /* Information struct for object header metadata (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx) */
112 typedef struct H5O_hdr_info_t {
113  unsigned version; /* Version number of header format in file */
114  unsigned nmesgs; /* Number of object header messages */
115  unsigned nchunks; /* Number of object header chunks */
116  unsigned flags; /* Object header status flags */
117  struct {
118  hsize_t total; /* Total space for storing object header in file */
119  hsize_t meta; /* Space within header for object header metadata information */
120  hsize_t mesg; /* Space within header for actual message information */
121  hsize_t free; /* Free space within object header */
122  } space;
123  struct {
124  uint64_t present; /* Flags to indicate presence of message type in header */
125  uint64_t shared; /* Flags to indicate message type is shared in header */
126  } mesg;
128 
129 /* Data model information struct for objects */
130 /* (For H5Oget_info / H5Oget_info_by_name / H5Oget_info_by_idx version 3) */
131 typedef struct H5O_info2_t {
132  unsigned long fileno; /* File number that object is located in */
133  H5O_token_t token; /* Token representing the object */
134  H5O_type_t type; /* Basic object type (group, dataset, etc.) */
135  unsigned rc; /* Reference count of object */
136  time_t atime; /* Access time */
137  time_t mtime; /* Modification time */
138  time_t ctime; /* Change time */
139  time_t btime; /* Birth time */
140  hsize_t num_attrs; /* # of attributes attached to object */
142 
143 /* Native file format information struct for objects */
144 /* (For H5Oget_native_info / H5Oget_native_info_by_name / H5Oget_native_info_by_idx) */
145 typedef struct H5O_native_info_t {
146  H5O_hdr_info_t hdr; /* Object header information */
147  /* Extra metadata storage for obj & attributes */
148  struct {
149  H5_ih_info_t obj; /* v1/v2 B-tree & local/fractal heap for groups, B-tree for chunked datasets */
150  H5_ih_info_t attr; /* v2 B-tree & heap for attributes */
153 
154 /* Typedef for message creation indexes */
156 
157 /* Prototype for H5Ovisit/H5Ovisit_by_name() operator (version 3) */
158 typedef herr_t (*H5O_iterate2_t)(hid_t obj, const char *name, const H5O_info2_t *info,
159  void *op_data);
160 
161 typedef enum H5O_mcdt_search_ret_t {
162  H5O_MCDT_SEARCH_ERROR = -1, /* Abort H5Ocopy */
163  H5O_MCDT_SEARCH_CONT, /* Continue the global search of all committed datatypes in the destination file */
164  H5O_MCDT_SEARCH_STOP /* Stop the search, but continue copying. The committed datatype will be copied but not merged. */
166 
167 /* Callback to invoke when completing the search for a matching committed datatype from the committed dtype list */
168 typedef H5O_mcdt_search_ret_t (*H5O_mcdt_search_cb_t)(void *op_data);
169 
170 /********************/
171 /* Public Variables */
172 /********************/
173 
174 
175 /*********************/
176 /* Public Prototypes */
177 /*********************/
178 #ifdef __cplusplus
179 extern "C" {
180 #endif
181 
182 H5_DLL hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id);
184 H5_DLL hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name,
185  H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id);
186 H5_DLL htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id);
187 H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
188 H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo,
189  unsigned fields, hid_t lapl_id);
190 H5_DLL herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name,
191  H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo,
192  unsigned fields, hid_t lapl_id);
193 H5_DLL herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned fields);
194 H5_DLL herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo,
195  unsigned fields, hid_t lapl_id);
196 H5_DLL herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name,
197  H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo,
198  unsigned fields, hid_t lapl_id);
199 H5_DLL herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name,
200  hid_t lcpl_id, hid_t lapl_id);
203 H5_DLL herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id,
204  const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id);
205 H5_DLL herr_t H5Oset_comment(hid_t obj_id, const char *comment);
206 H5_DLL herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name,
207  const char *comment, hid_t lapl_id);
208 H5_DLL ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize);
209 H5_DLL ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name,
210  char *comment, size_t bufsize, hid_t lapl_id);
211 H5_DLL herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order,
212  H5O_iterate2_t op, void *op_data, unsigned fields);
213 H5_DLL herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name,
214  H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op,
215  void *op_data, unsigned fields, hid_t lapl_id);
216 H5_DLL herr_t H5Oclose(hid_t object_id);
217 H5_DLL herr_t H5Oflush(hid_t obj_id);
221 H5_DLL herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, hbool_t *are_disabled);
222 H5_DLL herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2,
223  int *cmp_value);
224 H5_DLL herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str);
225 H5_DLL herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token);
226 
227 /* The canonical 'undefined' token value */
228 #define H5O_TOKEN_UNDEF (H5OPEN H5O_TOKEN_UNDEF_g)
230 
231 /* Symbols defined for compatibility with previous versions of the HDF5 API.
232  *
233  * Use of these symbols is deprecated.
234  */
235 #ifndef H5_NO_DEPRECATED_SYMBOLS
236 
237 /* Macros */
238 
239 /* Deprecated flags for earlier versions of H5Oget_info* */
240 #define H5O_INFO_HDR 0x0008u /* Fill in the hdr field */
241 #define H5O_INFO_META_SIZE 0x0010u /* Fill in the meta_size field */
242 #undef H5O_INFO_ALL
243 #define H5O_INFO_ALL (H5O_INFO_BASIC | H5O_INFO_TIME | H5O_INFO_NUM_ATTRS | H5O_INFO_HDR | H5O_INFO_META_SIZE)
244 
245 /* Typedefs */
246 
247 /* A struct that's part of the H5G_stat_t structure (deprecated) */
248 typedef struct H5O_stat_t {
249  hsize_t size; /* Total size of object header in file */
250  hsize_t free; /* Free space within object header */
251  unsigned nmesgs; /* Number of object header messages */
252  unsigned nchunks; /* Number of object header chunks */
254 
255 /* Information struct for object */
256 /* (For H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx versions 1 & 2) */
257 typedef struct H5O_info1_t {
258  unsigned long fileno; /* File number that object is located in */
259  haddr_t addr; /* Object address in file */
260  H5O_type_t type; /* Basic object type (group, dataset, etc.) */
261  unsigned rc; /* Reference count of object */
262  time_t atime; /* Access time */
263  time_t mtime; /* Modification time */
264  time_t ctime; /* Change time */
265  time_t btime; /* Birth time */
266  hsize_t num_attrs; /* # of attributes attached to object */
267  H5O_hdr_info_t hdr; /* Object header information */
268  /* Extra metadata storage for obj & attributes */
269  struct {
270  H5_ih_info_t obj; /* v1/v2 B-tree & local/fractal heap for groups, B-tree for chunked datasets */
271  H5_ih_info_t attr; /* v2 B-tree & heap for attributes */
274 
275 /* Prototype for H5Ovisit/H5Ovisit_by_name() operator (versions 1 & 2) */
276 typedef herr_t (*H5O_iterate1_t)(hid_t obj, const char *name, const H5O_info1_t *info,
277  void *op_data);
278 
279 
280 /* Function prototypes */
282 H5_DLL herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo);
283 H5_DLL herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo,
284  hid_t lapl_id);
285 H5_DLL herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name,
286  H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo,
287  hid_t lapl_id);
288 H5_DLL herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned fields);
289 H5_DLL herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo,
290  unsigned fields, hid_t lapl_id);
291 H5_DLL herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name,
292  H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo,
293  unsigned fields, hid_t lapl_id);
294 H5_DLL herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order,
295  H5O_iterate1_t op, void *op_data);
296 H5_DLL herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name,
297  H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op,
298  void *op_data, hid_t lapl_id);
299 H5_DLL herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order,
300  H5O_iterate1_t op, void *op_data, unsigned fields);
301 H5_DLL herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name,
302  H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op,
303  void *op_data, unsigned fields, hid_t lapl_id);
304 
305 #endif /* H5_NO_DEPRECATED_SYMBOLS */
306 
307 #ifdef __cplusplus
308 }
309 #endif
310 #endif /* _H5Opublic_H */
311 
H5public.h
H5O_info1_t::atime
time_t atime
Definition: H5Opublic.h:262
H5Oenable_mdc_flushes
H5_DLL herr_t H5Oenable_mdc_flushes(hid_t object_id)
Definition: H5O.c:1374
H5O_hdr_info_t::free
hsize_t free
Definition: H5Opublic.h:121
H5Lpublic.h
H5Oopen
H5_DLL hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
Definition: H5O.c:103
ssize_t
int ssize_t
Definition: H5public.h:167
H5Ovisit1
H5_DLL herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
Definition: H5Odeprec.c:757
H5Oclose
H5_DLL herr_t H5Oclose(hid_t object_id)
Definition: H5O.c:1223
H5Ipublic.h
H5Oopen_by_addr
H5_DLL hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
Definition: H5Odeprec.c:330
H5Oget_native_info_by_name
H5_DLL herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned fields, hid_t lapl_id)
Definition: H5O.c:742
H5O_info1_t::fileno
unsigned long fileno
Definition: H5Opublic.h:258
H5Otoken_cmp
H5_DLL herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
Definition: H5O.c:1498
H5O_hdr_info_t::meta
hsize_t meta
Definition: H5Opublic.h:119
H5O_MCDT_SEARCH_STOP
@ H5O_MCDT_SEARCH_STOP
Definition: H5Opublic.h:164
H5Odisable_mdc_flushes
H5_DLL herr_t H5Odisable_mdc_flushes(hid_t object_id)
Definition: H5O.c:1305
H5O_info1_t::btime
time_t btime
Definition: H5Opublic.h:265
H5O_stat_t::size
hsize_t size
Definition: H5Opublic.h:249
H5O_iterate2_t
herr_t(* H5O_iterate2_t)(hid_t obj, const char *name, const H5O_info2_t *info, void *op_data)
Definition: H5Opublic.h:158
uint32_t
uint32_t
Definition: H5overflow.txt:38
H5O_native_info_t
struct H5O_native_info_t H5O_native_info_t
H5O_native_info_t::obj
H5_ih_info_t obj
Definition: H5Opublic.h:149
haddr_t
CATCH haddr_t
Definition: H5EAdblock.c:162
H5O_hdr_info_t::mesg
hsize_t mesg
Definition: H5Opublic.h:120
H5O_TYPE_DATASET
@ H5O_TYPE_DATASET
Definition: H5Opublic.h:105
H5Oget_info2
H5_DLL herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned fields)
Definition: H5Odeprec.c:548
H5Oget_comment
H5_DLL ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
Definition: H5O.c:968
H5O_hdr_info_t::version
unsigned version
Definition: H5Opublic.h:113
H5O_mcdt_search_cb_t
H5O_mcdt_search_ret_t(* H5O_mcdt_search_cb_t)(void *op_data)
Definition: H5Opublic.h:168
H5O_info2_t::num_attrs
hsize_t num_attrs
Definition: H5Opublic.h:140
H5O_stat_t
struct H5O_stat_t H5O_stat_t
H5Oget_native_info_by_idx
H5_DLL herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned fields, hid_t lapl_id)
Definition: H5O.c:800
H5_DLLVAR
#define H5_DLLVAR
Definition: H5api_adpt.h:235
H5Oare_mdc_flushes_disabled
H5_DLL herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, hbool_t *are_disabled)
Definition: H5O.c:1448
H5O_TYPE_GROUP
@ H5O_TYPE_GROUP
Definition: H5Opublic.h:104
H5Olink
H5_DLL herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
Definition: H5O.c:296
H5Oset_comment
H5_DLL herr_t H5Oset_comment(hid_t obj_id, const char *comment)
Definition: H5O.c:866
H5Oget_info3
H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields)
Definition: H5O.c:533
H5O_info2_t::rc
unsigned rc
Definition: H5Opublic.h:135
H5O_hdr_info_t::space
struct H5O_hdr_info_t::@34 space
H5O_hdr_info_t
struct H5O_hdr_info_t H5O_hdr_info_t
H5Otoken_to_str
H5_DLL herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
Definition: H5O.c:1533
H5Oincr_refcount
H5_DLL herr_t H5Oincr_refcount(hid_t object_id)
Definition: H5O.c:389
htri_t
int htri_t
Definition: H5public.h:160
H5Oget_info_by_name3
H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields, hid_t lapl_id)
Definition: H5O.c:578
H5Otoken_from_str
H5_DLL herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
Definition: H5O.c:1574
H5_iter_order_t
H5_iter_order_t
Definition: H5public.h:295
H5O_hdr_info_t::nchunks
unsigned nchunks
Definition: H5Opublic.h:115
H5Oset_comment_by_name
H5_DLL herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
Definition: H5O.c:914
H5O_info2_t::mtime
time_t mtime
Definition: H5Opublic.h:137
H5Oget_info_by_idx2
H5_DLL herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned fields, hid_t lapl_id)
Definition: H5Odeprec.c:669
H5O_info1_t::hdr
H5O_hdr_info_t hdr
Definition: H5Opublic.h:267
H5O_MCDT_SEARCH_ERROR
@ H5O_MCDT_SEARCH_ERROR
Definition: H5Opublic.h:162
H5O_info2_t::type
H5O_type_t type
Definition: H5Opublic.h:134
hid_t
int64_t hid_t
Definition: H5Ipublic.h:55
H5Oopen_by_token
H5_DLL hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
Definition: H5O.c:233
H5O_info2_t::atime
time_t atime
Definition: H5Opublic.h:136
H5Oget_native_info
H5_DLL herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned fields)
Definition: H5O.c:697
H5Oget_comment_by_name
H5_DLL ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
Definition: H5O.c:1011
H5Ocopy
H5_DLL herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
Definition: H5Ocopy.c:197
H5_ih_info_t
Definition: H5public.h:326
H5O_iterate1_t
herr_t(* H5O_iterate1_t)(hid_t obj, const char *name, const H5O_info1_t *info, void *op_data)
Definition: H5Opublic.h:276
H5Oget_info_by_idx3
H5_DLL herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned fields, hid_t lapl_id)
Definition: H5O.c:636
H5Orefresh
H5_DLL herr_t H5Orefresh(hid_t oid)
Definition: H5Oflush.c:237
H5O_TYPE_UNKNOWN
@ H5O_TYPE_UNKNOWN
Definition: H5Opublic.h:103
H5O_native_info_t::hdr
H5O_hdr_info_t hdr
Definition: H5Opublic.h:146
H5O_info2_t
Definition: H5Opublic.h:131
H5O_info2_t::token
H5O_token_t token
Definition: H5Opublic.h:133
H5O_info2_t::ctime
time_t ctime
Definition: H5Opublic.h:138
H5O_info1_t
struct H5O_info1_t H5O_info1_t
H5O_msg_crt_idx_t
uint32_t H5O_msg_crt_idx_t
Definition: H5Opublic.h:155
H5O_info1_t
Definition: H5Opublic.h:257
H5Oopen_by_idx
H5_DLL hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
Definition: H5O.c:171
H5O_info1_t::obj
H5_ih_info_t obj
Definition: H5Opublic.h:270
H5O_TYPE_MAP
@ H5O_TYPE_MAP
Definition: H5Opublic.h:107
H5O_info1_t::num_attrs
hsize_t num_attrs
Definition: H5Opublic.h:266
H5O_info1_t::addr
haddr_t addr
Definition: H5Opublic.h:259
uint64_t
uint64_t
Definition: H5overflow.txt:39
H5O_info2_t
struct H5O_info2_t H5O_info2_t
H5O_hdr_info_t
Definition: H5Opublic.h:112
H5O_stat_t::free
hsize_t free
Definition: H5Opublic.h:250
H5O_info2_t::fileno
unsigned long fileno
Definition: H5Opublic.h:132
H5Ovisit_by_name2
H5_DLL herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned fields, hid_t lapl_id)
Definition: H5Odeprec.c:1006
H5Ovisit_by_name3
H5_DLL herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned fields, hid_t lapl_id)
Definition: H5O.c:1157
H5Oget_info_by_name1
H5_DLL herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
Definition: H5Odeprec.c:432
H5O_hdr_info_t::total
hsize_t total
Definition: H5Opublic.h:118
H5Ovisit3
H5_DLL herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned fields)
Definition: H5O.c:1084
H5O_TOKEN_UNDEF_g
H5_DLLVAR const H5O_token_t H5O_TOKEN_UNDEF_g
Definition: H5Opublic.h:229
H5O_stat_t::nmesgs
unsigned nmesgs
Definition: H5Opublic.h:251
H5O_TYPE_NTYPES
@ H5O_TYPE_NTYPES
Definition: H5Opublic.h:108
H5Ovisit_by_name1
H5_DLL herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
Definition: H5Odeprec.c:831
H5_DLL
#define H5_DLL
Definition: H5api_adpt.h:234
H5O_mcdt_search_ret_t
H5O_mcdt_search_ret_t
Definition: H5Opublic.h:161
H5Odecr_refcount
H5_DLL herr_t H5Odecr_refcount(hid_t object_id)
Definition: H5O.c:439
H5O_TYPE_NAMED_DATATYPE
@ H5O_TYPE_NAMED_DATATYPE
Definition: H5Opublic.h:106
H5O_info2_t::btime
time_t btime
Definition: H5Opublic.h:139
H5Oget_info_by_idx1
H5_DLL herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
Definition: H5Odeprec.c:487
H5Oexists_by_name
H5_DLL htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
Definition: H5O.c:482
H5O_info1_t::meta_size
struct H5O_info1_t::@37 meta_size
H5O_info1_t::rc
unsigned rc
Definition: H5Opublic.h:261
H5Oget_info1
H5_DLL herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
Definition: H5Odeprec.c:391
H5O_hdr_info_t::shared
uint64_t shared
Definition: H5Opublic.h:125
H5O_hdr_info_t::present
uint64_t present
Definition: H5Opublic.h:124
H5O_native_info_t::attr
H5_ih_info_t attr
Definition: H5Opublic.h:150
n
*s *s n
Definition: H5HLdbg.c:111
H5O_MCDT_SEARCH_CONT
@ H5O_MCDT_SEARCH_CONT
Definition: H5Opublic.h:163
H5O_info1_t::attr
H5_ih_info_t attr
Definition: H5Opublic.h:271
herr_t
int herr_t
Definition: H5public.h:128
H5Oflush
H5_DLL herr_t H5Oflush(hid_t obj_id)
Definition: H5Oflush.c:73
H5O_info1_t::mtime
time_t mtime
Definition: H5Opublic.h:263
H5Oget_info_by_name2
H5_DLL herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned fields, hid_t lapl_id)
Definition: H5Odeprec.c:602
H5O_stat_t::nchunks
unsigned nchunks
Definition: H5Opublic.h:252
hbool_t
bool hbool_t
Definition: H5public.h:159
H5O_info1_t::type
H5O_type_t type
Definition: H5Opublic.h:260
H5O_hdr_info_t::flags
unsigned flags
Definition: H5Opublic.h:116
hsize_t
hsize_t
Definition: H5overflow.txt:44
H5O_token_t
Definition: H5public.h:339
H5O_info1_t::ctime
time_t ctime
Definition: H5Opublic.h:264
H5O_native_info_t::meta_size
struct H5O_native_info_t::@36 meta_size
H5_index_t
H5_index_t
Definition: H5public.h:316
H5Ovisit2
H5_DLL herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned fields)
Definition: H5Odeprec.c:919
H5O_native_info_t
Definition: H5Opublic.h:145
H5O_hdr_info_t::nmesgs
unsigned nmesgs
Definition: H5Opublic.h:114
H5O_stat_t
Definition: H5Opublic.h:248
H5O_type_t
H5O_type_t
Definition: H5Opublic.h:102