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

◆ dseries()

Tdseries datrw::isffstream::dseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 74 of file isffstream.cc.

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

75  {
76  this->newtrace();
77  if (Mdebug)
78  {
79  std::cerr
80  << "DEBUG (isffstream::dseries): read waveform"
81  << std::endl;
82  }
83  ::sff::InputWaveform<Tdseries> waveform(Mis);
84  this->settraceheader(waveform.header());
85  if (Mdebug)
86  { std::cerr << "DEBUG (isffstream::dseries): done" << std::endl; }
87  return(waveform.series());
88  }
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: