Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
lm_hdf5.h File Reference
#include <hdf5.h>
#include <hdf5_hl.h>
#include "core/Exceptions.h"
Include dependency graph for lm_hdf5.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lm::io::hdf5::HDF5Exception
 Exception due to a failure in writing the HDF5 file. More...

Namespaces

namespace  lm
namespace  lm::io
namespace  lm::io::hdf5

Macros

#define HDF5_EXCEPTION_CHECK(hdf5_call)
 General check for HDF5 errors.
#define HDF5_EXCEPTION_CALL(val, hdf5_call)
 General call for throwing an HDF5 exception.

Macro Definition Documentation

◆ HDF5_EXCEPTION_CALL

#define HDF5_EXCEPTION_CALL ( val,
hdf5_call )
Value:
val=hdf5_call; if (val < 0) {herr_t _hdf5_err_=(herr_t)val; val=0; throw lm::io::hdf5::HDF5Exception(_hdf5_err_,__FILE__,__LINE__);}
Exception due to a failure in writing the HDF5 file.
Definition lm_hdf5.h:54

General call for throwing an HDF5 exception.

◆ HDF5_EXCEPTION_CHECK

#define HDF5_EXCEPTION_CHECK ( hdf5_call)
Value:
{herr_t _hdf5_ret_=hdf5_call; if (_hdf5_ret_ < 0) throw lm::io::hdf5::HDF5Exception(_hdf5_ret_,__FILE__,__LINE__);}

General check for HDF5 errors.