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

◆ skipiseries()

unsigned int datrw::binary::ibinstream::skipiseries ( )

Definition at line 303 of file ibinstream.cc.

References DATRW_assert, Mis, and read().

Referenced by datrw::ibinarystream::skipseries().

304  {
305  int first, last;
306  this->read(first);
307  this->read(last);
308  DATRW_assert(last>=first,
309  "ERROR (ibinstream::skipiseries): unreasonable index range");
310  unsigned int size=last-first+1;
311  Mis.seekg(size*sizeof(Tiseries::Tvalue), Mis.cur);
312  return(size);
313  } // unsigned int ibinstream::skipiseries()
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
std::istream & Mis
Definition: ibinstream.h:80
int Tvalue
Definition: pdasread.h:75
Here is the call graph for this function:
Here is the caller graph for this function: