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

◆ iseries()

Tiseries datrw::isffstream::iseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 110 of file isffstream.cc.

References datrw::idatstream::Mdebug, datrw::idatstream::Mis, datrw::idatstream::newtrace(), and settraceheader().

111  {
112  this->newtrace();
113  if (Mdebug)
114  {
115  std::cerr
116  << "DEBUG (isffstream::iseries): read waveform"
117  << std::endl;
118  }
119  ::sff::InputWaveform<Tiseries> waveform(Mis);
120  this->settraceheader(waveform.header());
121  if (Mdebug)
122  { std::cerr << "DEBUG (isffstream::iseries): done" << std::endl; }
123  return(waveform.series());
124  }
void settraceheader(const ::sff::TraceHeader &header)
Definition: isffstream.cc:145
std::istream & Mis
Definition: datread.h:126
Here is the call graph for this function: