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

◆ writeseries() [3/3]

void datrw::odatstream::writeseries ( const Tiseries::Tcoc &  series)
inherited

write integer data

Definition at line 217 of file datwrite.cc.

References datrw::odatstream::cleartraceheader(), DATRW_assert, DATRW_debug, DATRW_value, datrw::odatstream::Mdebug, datrw::odatstream::Mwid2set, and datrw::odatstream::writetrace().

218  {
219  DATRW_debug(this->Mdebug, "odatstream::writeseries (int)",
220  DATRW_value(series.f()) << ", " << DATRW_value(series.l()));
221  DATRW_assert(this-Mwid2set,"missing WID2 header");
222  this->writetrace(series);
223  this->cleartraceheader();
224  }
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
void cleartraceheader()
clear trace header flags
Definition: datwrite.cc:186
virtual void writetrace(const Tdseries::Tcoc &series)
write double data
Definition: datwrite.h:158
#define DATRW_debug(C, N, M)
produce debug output
Definition: debug.h:50
bool Mdebug
global debug flag
Definition: datwrite.h:197
#define DATRW_value(V)
report value
Definition: debug.h:65
Here is the call graph for this function: