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

◆ skipseries()

void datrw::isustream::skipseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 108 of file isustream.cc.

References DATRW_Xassert, datrw::su::SUheader::Mheader, datrw::idatstream::Mis, Mnextheader, datrw::su::TraceHeaderStruct::ns, and readheader().

109  {
110  Mis.seekg(sizeof(float)*Mnextheader.Mheader.ns,
111  std::ios_base::cur);
112  DATRW_Xassert(Mis.good(),
113  "ERROR (isustream::skipseries): calling seekg()",
115  this->readheader();
116  } // void isustream::skipseries()
#define DATRW_Xassert(C, M, E)
Check an assertion and report by throwing an exception.
Definition: error.h:76
std::istream & Mis
Definition: datread.h:126
datrw::su::SUheader Mnextheader
Definition: su.h:91
unsigned short ns
number of samples in this trace
TraceHeaderStruct Mheader
the actual data fields are provided for public access
Definition: suheader.h:239
Here is the call graph for this function: