 |
HDF5
1.12.0
|
Go to the documentation of this file.
27 #define H5E_DEFAULT (hid_t)0
49 #define H5OPEN H5open(),
55 #define H5E_ERR_CLS (H5OPEN H5E_ERR_CLS_g)
77 #ifndef H5_NO_DEPRECATED_SYMBOLS
78 #define H5E_BEGIN_TRY { \
79 unsigned H5E_saved_is_v2; \
84 void *H5E_saved_edata; \
86 (void)H5Eauto_is_v2(H5E_DEFAULT, &H5E_saved_is_v2); \
87 if(H5E_saved_is_v2) { \
88 (void)H5Eget_auto2(H5E_DEFAULT, &H5E_saved.efunc2, &H5E_saved_edata); \
89 (void)H5Eset_auto2(H5E_DEFAULT, NULL, NULL); \
91 (void)H5Eget_auto1(&H5E_saved.efunc1, &H5E_saved_edata); \
92 (void)H5Eset_auto1(NULL, NULL); \
97 (void)H5Eset_auto2(H5E_DEFAULT, H5E_saved.efunc2, H5E_saved_edata); \
99 (void)H5Eset_auto1(H5E_saved.efunc1, H5E_saved_edata); \
102 #define H5E_BEGIN_TRY { \
103 H5E_auto2_t saved_efunc; \
104 void *H5E_saved_edata; \
106 (void)H5Eget_auto2(H5E_DEFAULT, &saved_efunc, &H5E_saved_edata); \
107 (void)H5Eset_auto2(H5E_DEFAULT, NULL, NULL);
109 #define H5E_END_TRY \
110 (void)H5Eset_auto2(H5E_DEFAULT, saved_efunc, H5E_saved_edata); \
118 #define H5Epush_sim(func, cls, maj, min, str) H5Epush2(H5E_DEFAULT, __FILE__, func, __LINE__, cls, maj, min, str)
125 #define H5Epush_ret(func, cls, maj, min, str, ret) { \
126 H5Epush2(H5E_DEFAULT, __FILE__, func, __LINE__, cls, maj, min, str); \
133 #define H5Epush_goto(func, cls, maj, min, str, label) { \
134 H5Epush2(H5E_DEFAULT, __FILE__, func, __LINE__, cls, maj, min, str); \
156 const char *version);
184 #ifndef H5_NO_DEPRECATED_SYMBOLS
int ssize_t
Definition: H5public.h:167
H5_DLL hid_t H5Ecreate_stack(void)
Definition: H5E.c:899
H5_DLL char * H5Eget_minor(H5E_minor_t min)
Definition: H5Edeprec.c:149
H5_DLL herr_t H5Eclose_stack(hid_t stack_id)
Definition: H5E.c:1158
H5_DLL herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
Definition: H5Edeprec.c:352
iblock size
Definition: H5EAcache.c:787
H5_DLL herr_t H5Eprint2(hid_t err_stack, FILE *stream)
Definition: H5E.c:1498
H5_DLL ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
Definition: H5E.c:864
struct H5E_error2_t H5E_error2_t
H5_DLL herr_t H5Eset_current_stack(hid_t err_stack_id)
Definition: H5E.c:1052
H5_DLL ssize_t H5Eget_num(hid_t error_stack_id)
Definition: H5E.c:1227
H5E_minor_t min_num
Definition: H5Epublic.h:197
H5_DLL hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
Definition: H5E.c:437
H5_DLL herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char *msg,...)
Definition: H5E.c:1354
const char * func_name
Definition: H5Epublic.h:41
@ H5E_WALK_UPWARD
Definition: H5Epublic.h:140
#define H5_DLLVAR
Definition: H5api_adpt.h:235
herr_t(* H5E_auto2_t)(hid_t estack, void *client_data)
Definition: H5Epublic.h:152
herr_t(* H5E_auto1_t)(void *client_data)
Definition: H5Epublic.h:206
hid_t H5E_major_t
Definition: H5Epublic.h:191
H5E_direction_t
Definition: H5Epublic.h:139
hid_t H5E_minor_t
Definition: H5Epublic.h:192
H5_DLL herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
Definition: H5E.c:1593
H5_DLL herr_t H5Eclose_msg(hid_t err_id)
Definition: H5E.c:708
H5_DLL herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
Definition: H5E.c:1543
int64_t hid_t
Definition: H5Ipublic.h:55
Definition: H5Epublic.h:36
unsigned line
Definition: H5Epublic.h:40
Invalid arguments to routine Resource unavailable Internal File accessibility Low level I O Function entry exit Object atom Object cache Links B Tree node Symbol table Heap Object header Datatype Dataspace Dataset Data storage Property lists Attribute Data filters External file list References Virtual File Layer Virtual Object Layer Ternary Search Trees Reference Counted Strings Error API Skip Lists Free Space Manager Shared Object Header Messages Extensible Array Fixed Array Plugin for dynamically loaded library Page Buffering API Context Map No error Argument errors Resource errors File accessibility errors FILE
Definition: H5err.txt:88
const char * func_name
Definition: H5Epublic.h:198
Definition: H5Epublic.h:195
H5_DLL herr_t H5Eauto_is_v2(hid_t err_stack, unsigned *is_stack)
Definition: H5E.c:1710
H5_DLL char * H5Eget_major(H5E_major_t maj)
Definition: H5Edeprec.c:96
H5_DLL herr_t H5Eclear1(void)
Definition: H5Edeprec.c:241
const char * desc
Definition: H5Epublic.h:201
H5_DLL herr_t H5Eclear2(hid_t err_stack)
Definition: H5E.c:1453
@ H5E_MINOR
Definition: H5Epublic.h:32
herr_t(* H5E_walk2_t)(unsigned n, const H5E_error2_t *err_desc, void *client_data)
Definition: H5Epublic.h:150
const char * desc
Definition: H5Epublic.h:43
const char * file_name
Definition: H5Epublic.h:199
hid_t cls_id
Definition: H5Epublic.h:37
hid_t min_num
Definition: H5Epublic.h:39
#define H5_DLL
Definition: H5api_adpt.h:234
H5_DLL herr_t H5Eunregister_class(hid_t class_id)
Definition: H5E.c:525
hid_t maj_num
Definition: H5Epublic.h:38
unsigned line
Definition: H5Epublic.h:200
H5_DLL hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
Definition: H5E.c:771
H5_DLL herr_t H5Eprint1(FILE *stream)
Definition: H5Edeprec.c:275
@ H5E_WALK_DOWNWARD
Definition: H5Epublic.h:141
@ H5E_MAJOR
Definition: H5Epublic.h:31
H5_DLL herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
Definition: H5Edeprec.c:311
*s *s n
Definition: H5HLdbg.c:111
H5_DLL herr_t H5Epop(hid_t err_stack, size_t count)
Definition: H5E.c:1296
H5_DLL hid_t H5Eget_current_stack(void)
Definition: H5E.c:938
H5_DLL ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
Definition: H5E.c:597
int herr_t
Definition: H5public.h:128
H5_DLL herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
Definition: H5E.c:1651
herr_t(* H5E_walk1_t)(int n, H5E_error1_t *err_desc, void *client_data)
Definition: H5Epublic.h:205
struct H5E_error1_t H5E_error1_t
H5_DLLVAR hid_t H5E_ERR_CLS_g
Definition: H5Epublic.h:56
H5_DLL herr_t H5Epush1(const char *file, const char *func, unsigned line, H5E_major_t maj, H5E_minor_t min, const char *str)
Definition: H5Edeprec.c:209
H5E_major_t maj_num
Definition: H5Epublic.h:196
H5E_type_t
Definition: H5Epublic.h:30
const char * file_name
Definition: H5Epublic.h:42
H5_DLL herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
Definition: H5Edeprec.c:405