h5cpp
0.3.3
A modern C++ wrapper for the HDF5 C library
|
Classes | |
struct | Descriptor |
HDF5 error descriptor. More... | |
class | H5CError |
runtime exception containing an HDF5 error H5CError More... | |
class | Singleton |
singleton class for HDF5 error handling More... | |
Functions | |
DLL_EXPORT std::ostream & | operator<< (std::ostream &stream, const Descriptor &desc) |
output operator for Descriptor More... | |
std::string DLL_EXPORT | print_nested (const std::exception &exception, int level=0) |
indented output of nested exceptions and included error stack More... | |
DLL_EXPORT std::ostream& hdf5::error::operator<< | ( | std::ostream & | stream, |
const Descriptor & | desc | ||
) |
std::string DLL_EXPORT hdf5::error::print_nested | ( | const std::exception & | exception, |
int | 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 | |
level | indentation level |