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

◆ skipseries()

void datrw::ibinarystream::skipseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 225 of file ibinarystream.cc.

References DATRW_abort, datrw::binary::Fdouble, datrw::binary::Ffloat, datrw::binary::Fint, Mibs, Mnextflags, datrw::hpmo::nsamples, readflags(), readheader(), setnsamples(), datrw::binary::ibinstream::skipdseries(), datrw::binary::ibinstream::skipfseries(), and datrw::binary::ibinstream::skipiseries().

226  {
227  unsigned int nsamples;
228  this->readheader();
230  {
231  nsamples=Mibs.skipdseries();
232  }
233  else if (Mnextflags & ::datrw::binary::Ffloat)
234  {
236  }
237  else if (Mnextflags & ::datrw::binary::Fint)
238  {
240  }
241  else
242  {
243  DATRW_abort("ERROR (ibinarystream::skipseries): data type not indicated");
244  }
245  this->setnsamples(nsamples);
246  this->readflags();
247  } // void ibinarystream::skipseries()
unsigned int skipfseries()
Definition: ibinstream.cc:289
const int nsamples
number of samples per minute block and channel
Definition: hpmodata.h:51
unsigned int skipdseries()
Definition: ibinstream.cc:275
trace has int data
Definition: binary.h:84
trace has float data
Definition: binary.h:83
void setnsamples(const unsigned int &nsamples)
trace has double data
Definition: binary.h:82
#define DATRW_abort(M)
Abort and give a message.
Definition: error.h:101
char Mnextflags
flags for next trace
Definition: binary.h:121
unsigned int skipiseries()
Definition: ibinstream.cc:303
binary::ibinstream Mibs
Definition: binary.h:119
Here is the call graph for this function: