h5cpp
0.5.0
A modern C++ wrapper for the HDF5 C library
|
Go to the documentation of this file.
34 #pragma clang diagnostic push
35 #pragma clang diagnostic ignored "-Wold-style-cast"
37 const decltype(H5E_DEFAULT)
kDefault = H5E_DEFAULT;
39 #pragma clang diagnostic pop
62 return singleton_instance;
74 void auto_print(
bool enable);
79 bool auto_print()
const;
104 void throw_with_stack(
const std::string& message);
115 Singleton(Singleton
const&) =
delete;
116 void operator=(Singleton
const&) =
delete;
118 bool auto_print_ {
true};
126 bool auto_print_enabled()
const;
132 static herr_t to_list(
unsigned n,
133 const H5E_error2_t *err_desc,
134 std::list<Descriptor>* list);
const decltype(H5E_DEFAULT) kDefault
Definition: error.hpp:37
runtime exception containing an HDF5 error H5CError
Definition: h5c_error.hpp:47
singleton class for HDF5 error handling
Definition: error.hpp:50
static Singleton & instance()
reference to singleton
Definition: error.hpp:59
#define DLL_EXPORT
Definition: windows.hpp:29
std::string print_nested(const std::exception &exception, size_t level=0)
indented output of nested exceptions and included error stack
top-level namespace of the entire library
Definition: attribute.hpp:45