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

◆ skipfseries()

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

Definition at line 289 of file ibinstream.cc.

References DATRW_assert, Mis, and read().

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

290  {
291  int first, last;
292  this->read(first);
293  this->read(last);
294  DATRW_assert(last>=first,
295  "ERROR (ibinstream::skipfseries): unreasonable index range");
296  unsigned int size=last-first+1;
297  Mis.seekg(size*sizeof(Tfseries::Tvalue), Mis.cur);
298  return(size);
299  } // unsigned int ibinstream::skipfseries()
#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: