DATRW++ library: seismic data I/O with multiple formats

◆ DATRW_nonfatal_assert

#define DATRW_nonfatal_assert (   F,
  C,
 
)    if (F) { DATRW_report_assert(C,M) } else { DATRW_assert(C,M) }

Macro to distinguish between fatal and non fatal assertions.

Parameters
Ftrue for non fatal behaviour
Cassert condition
Mmessage (may use output operators; possibly containing newline characters)
Examples:
libdatrwxxtests.cc.

Definition at line 138 of file error.h.

Referenced by main(), datrw::thiesdl1::File::read(), datrw::mseed::MiniSEEDRecord::read(), datrw::iasciistream::readheader(), and datrw::ascii::anonymous_namespace{iasciistream.cc}::readsamples().