DATRW++ library: seismic data I/O with multiple formats
|
Files | |
file | exception.h |
libdatrwxx exception class (prototypes) | |
file | report.h |
report errors and warnings (prototypes) | |
Classes | |
class | datrw::Exception |
Base class for exceptions. More... | |
Macros | |
#define | DATRW_abort(M) |
Abort and give a message. More... | |
#define | DATRW_assert(C, M) DATRW_Xassert( C , M , datrw::Exception ) |
Check an assertion and report by throwing an exception. More... | |
#define | DATRW_nonfatal_assert(F, C, M) if (F) { DATRW_report_assert(C,M) } else { DATRW_assert(C,M) } |
Macro to distinguish between fatal and non fatal assertions. More... | |
#define | DATRW_report_assert(C, M) |
Check an assertion and report only. More... | |
#define | DATRW_warning(N, M) |
Report a warning. More... | |
#define | DATRW_Xassert(C, M, E) |
Check an assertion and report by throwing an exception. More... | |
Enumerations | |
enum | datrw::util::Ereport { datrw::util::Fwarning, datrw::util::Fnonfatal, datrw::util::Ffatal } |
report categories More... | |
Functions | |
void | datrw::util::report_deprecated (const std::string &function, const std::string &reason) |
report deprecated function More... | |
void | datrw::util::report_violation (const Ereport &t, const std::string &message, const std::string &file, const int &line, const std::string &condition) |
report violation of assertion More... | |