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

◆ skipseries()

void datrw::itsoftstream::skipseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 141 of file itsoftstream.cc.

References DATRW_assert, Mfile, datrw::tsoft::Trace::Mfree, Mitrace, datrw::tsoft::File::Mtraces, datrw::tsoft::Trace::Mwid2, datrw::idatstream::setlast(), datrw::idatstream::settracefree(), and datrw::idatstream::setwid2().

142  {
143  DATRW_assert(Mitrace<=this->Mfile.Mtraces.last(),
144  "reading beyond end of file");
145  if (Mitrace==this->Mfile.Mtraces.last()) { this->setlast(); }
147  this->setwid2(trace.Mwid2);
148  this->settracefree(trace.Mfree);
149  ++Mitrace;
150  } // void itsoftstream::skipseries()
aff::Tsubscript Mitrace
index of next trace to be passed
Definition: tsoft.h:80
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
datrw::tsoft::File Mfile
container for complete file
Definition: tsoft.h:78
contents for one trace of data
void setwid2(const sff::WID2 &wid2)
Definition: datread.cc:113
void settracefree(const sff::FREE &free)
Definition: datread.cc:105
::sff::FREE Mfree
free comment lines
::sff::WID2 Mwid2
header
Ttraceseries Mtraces
all traces in file
Here is the call graph for this function: