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

◆ setwid2()

void datrw::odatstream::setwid2 ( const sff::WID2 &  wid2)
inherited

Definition at line 130 of file datwrite.cc.

References DATRW_debug, DATRW_value, datrw::odatstream::flushfileheader(), datrw::odatstream::Mdebug, datrw::odatstream::Mwid2, datrw::odatstream::Mwid2set, and datrw::odatstream::wid2().

Referenced by datrw::operator<<().

131  {
132  DATRW_debug(this->Mdebug, "odatstream::setwid2",
133  DATRW_value(wid2.line().substr(0,50)));
134  Mwid2set=true;
135  Mwid2=wid2;
136  this->flushfileheader();
137  }
sff::WID2 wid2() const
return WID2 data
Definition: datwrite.h:169
void flushfileheader()
flush file header to file
Definition: datwrite.cc:167
#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
sff::WID2 Mwid2
Definition: datwrite.h:209
Here is the call graph for this function:
Here is the caller graph for this function: