HighFive 2.10.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
h5e_wrapper.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <H5Epublic.h>
4namespace HighFive {
5namespace detail {
6namespace nothrow {
7
8
9inline void h5e_get_auto2(hid_t estack_id, H5E_auto2_t* func, void** client_data) {
10 H5Eget_auto2(estack_id, func, client_data);
11}
12
13inline void h5e_set_auto2(hid_t estack_id, H5E_auto2_t func, void* client_data) {
14 H5Eset_auto2(estack_id, func, client_data);
15}
16
17inline char* h5e_get_major(H5E_major_t maj) {
18 return H5Eget_major(maj);
19}
20
21inline char* h5e_get_minor(H5E_minor_t min) {
22 return H5Eget_minor(min);
23}
24
25inline herr_t h5e_walk2(hid_t err_stack,
26 H5E_direction_t direction,
27 H5E_walk2_t func,
28 void* client_data) {
29 return H5Ewalk2(err_stack, direction, func, client_data);
30}
31
32inline herr_t h5e_clear2(hid_t err_stack) {
33 return H5Eclear2(err_stack);
34}
35
36
37} // namespace nothrow
38} // namespace detail
39} // namespace HighFive
Definition H5_definitions.hpp:22