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

◆ iseries()

Tiseries datrw::igsestream::iseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 72 of file igsestream.cc.

References DATRW_assert, datrw::idatstream::Mis, datrw::hpmo::nsamples, datrw::gse::read_gse_data(), readheader(), and datrw::idatstream::wid2().

Referenced by dseries(), and fseries().

73  {
74  this->readheader();
75  DATRW_assert(Mis.good(), "input stream is not good");
76  return(datrw::gse::read_gse_data(this->Mis, this->wid2().nsamples));
77  }
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
sff::WID2 wid2() const
Definition: datread.h:111
const int nsamples
number of samples per minute block and channel
Definition: hpmodata.h:51
Tiseries read_gse_data(std::istream &is, const int &nsamples)
read samples from file
Definition: gseread.cc:92
std::istream & Mis
Definition: datread.h:126
Here is the call graph for this function:
Here is the caller graph for this function: