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

◆ DATRW_debug

#define DATRW_debug (   C,
  N,
 
)
Value:
if (C) { \
std::cerr << "DEBUG (" << N << ", " \
<< __FILE__ << " line #" << __LINE__ << "):" << std::endl \
<< " " << M << std::endl; \
std::cerr.flush(); \
}

produce debug output

Parameters
Coutput will be generated if C == true
Nname of function
Mmessage to print

Definition at line 50 of file debug.h.

Referenced by datrw::su::SUheader::clear(), datrw::su::Coordinates::equalizescaling(), datrw::osffstream::flushwaitingtrace(), datrw::idatstream::free(), datrw::isustream::fseries(), datrw::su::Coordinates::getvaluesfrom(), datrw::ibinarystream::ibinarystream(), datrw::idatstream::idatstream(), datrw::imseedstream::imseedstream(), datrw::su::inputmodifiers(), datrw::isustream::isustream(), datrw::oasciistream::oasciistream(), datrw::obinarystream::obinarystream(), datrw::odatstream::odatstream(), datrw::ogsestream::ogsestream(), datrw::operator>>(), datrw::oseifestream::oseifestream(), datrw::osffstream::osffstream(), datrw::osustream::osustream(), datrw::su::outputmodifiers(), datrw::binary::ibinstream::read(), datrw::su::SUheader::read(), datrw::imseedstream::read(), datrw::ibinarystream::readflags(), datrw::isacstream::readheader(), datrw::isustream::readheader(), datrw::seife::ParameterLine::set(), datrw::su::ScalCoo::set(), datrw::su::SUheader::set(), datrw::odatstream::setfree(), datrw::odatstream::setinfo(), datrw::odatstream::setsrce(), datrw::su::SUheader::settimes(), datrw::su::Coordinates::setvaluesin(), datrw::odatstream::setwid2(), datrw::isacstream::skipseries(), datrw::su::SUheader::SUheader(), datrw::binary::obinstream::write(), datrw::su::SUheader::write(), datrw::oseifestream::writefileheader(), datrw::osffstream::writefileheader(), datrw::osustream::writefileheader(), datrw::oasciistream::writefileheader(), datrw::obinarystream::writefileheader(), datrw::odatstream::writeseries(), datrw::oseifestream::writetrace(), datrw::osffstream::writetrace(), datrw::osustream::writetrace(), datrw::oasciistream::writetrace(), datrw::oasciistream::writetraceheader(), and datrw::obinarystream::writetraceheader().