h5cpp
0.5.2
A modern C++ wrapper for the HDF5 C library
|
Classes | |
struct | Descriptor |
HDF5 error descriptor. More... | |
class | Singleton |
singleton class for HDF5 error handling More... | |
class | H5CError |
runtime exception containing an HDF5 error H5CError More... | |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const Descriptor &desc) |
output operator for Descriptor More... | |
std::string | print_nested (const std::exception &exception, size_t level=0) |
indented output of nested exceptions and included error stack More... | |
Variables | |
decltype(H5E_DEFAULT) const | kDefault = H5E_DEFAULT |
std::ostream& hdf5::error::operator<< | ( | std::ostream & | stream, |
const Descriptor & | desc | ||
) |
std::string hdf5::error::print_nested | ( | const std::exception & | exception, |
size_t | level = 0 |
||
) |
This recursive function is provided for formatted output of nested exceptions and, if included, the extracted error stack. For each level of nesting and for each level of the error stack, the output is on a new line and incrementally indented.
exception | the exception to print |
level | indentation level |
decltype(H5E_DEFAULT) const hdf5::error::kDefault = H5E_DEFAULT |