#include <exception>
#include <hdf5.h>
#include <memory>
#include <string>
#include <vector>
#include <LibUtilities/BasicUtils/ErrorUtil.hpp>
#include <LibUtilities/Communication/Comm.h>
Go to the source code of this file.
◆ H5_CALL
| #define H5_CALL |
( |
|
func, |
|
|
|
args |
|
) |
| |
Value: { \
herr_t ret = func args; \
if (ret < 0) \
ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
"HDF5 error in API function " #func, 0); \
}
Definition at line 58 of file H5.h.
59 { \
60 herr_t ret = func
args; \
61 if (ret < 0) \
62 ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
63 "HDF5 error in API function " #func, 0); \
64 }
◆ H5_CONSTRUCT
| #define H5_CONSTRUCT |
( |
|
ans, |
|
|
|
func, |
|
|
|
args |
|
) |
| |
Value: { \
hid_t ret = func args; \
if (ret < 0) \
ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
"HDF5 error in API function " #func, 0); \
ans = ret; \
}
Definition at line 50 of file H5.h.
51 { \
52 hid_t ret = func
args; \
53 if (ret < 0) \
54 ErrorUtil::Error(ErrorUtil::efatal, __FILE__, __LINE__, \
55 "HDF5 error in API function " #func, 0); \
56 ans = ret; \
57 }