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

◆ skipdseries()

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

Definition at line 275 of file ibinstream.cc.

References DATRW_assert, Mis, and read().

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

276  {
277  int first, last;
278  this->read(first);
279  this->read(last);
280  DATRW_assert(last>=first,
281  "ERROR (ibinstream::skipdseries): unreasonable index range");
282  unsigned int size=last-first+1;
283  Mis.seekg(size*sizeof(Tdseries::Tvalue), Mis.cur);
284  return(size);
285  } // unsigned int ibinstream::skipdseries()
#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: