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

◆ DATRW_report_assert

#define DATRW_report_assert (   C,
 
)
Value:
if (!(C)) { \
{ \
std::ostringstream oss; \
oss << M; \
oss.str(), __FILE__, __LINE__, #C); \
} \
}
an error, but non-fatal; processing will proceed
Definition: report.h:56
void report_violation(const Ereport &t, const std::string &message, const std::string &file, const int &line, const std::string &condition)
report violation of assertion
Definition: report.cc:52

Check an assertion and report only.

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

Definition at line 120 of file error.h.

Referenced by datrw::tsoft::Dataline::Dataline(), datrw::su::fixscalevalue(), datrw::itsoftstream::help(), main(), datrw::tsoft::Channeldata::push_sample(), datrw::iasciistream::readheader(), datrw::thiesdl1::readheader(), datrw::su::ScalCoo::scaletopower(), datrw::su::ScalCoo::set(), datrw::odatstream::setfree(), datrw::odatstream::setinfo(), datrw::odatstream::setsrce(), and datrw::oseifestream::writetraceheader().