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

◆ dseries()

Tdseries datrw::iasciistream::dseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 453 of file iasciistream.cc.

References Mcurrentline, Mcurrentwid2, datrw::idatstream::Mis, datrw::ascii::anonymous_namespace{iasciistream.cc}::readany(), readheader(), datrw::idatstream::setlast(), and settraceheader().

454  {
455  Tdseries retval;
456  this->Mcurrentline=ascii::readany(this->Mis,
457  this->Mcurrentwid2.nsamples,
458  this->Mcurrentline,
459  retval,
460  this->Mdatatype,
461  this->Mnonfatal);
462  this->Mcurrentwid2.nsamples=retval.size();
463  this->settraceheader();
464  this->readheader();
465  if (!this->Mis.good()) { this->setlast(); }
466  return(retval);
467  } // Tdseries iasciistream::dseries()
std::string Mcurrentline
Definition: ascii.h:84
aff::Series< double > Tdseries
Definition: types.h:45
std::istream & Mis
Definition: datread.h:126
::sff::WID2 Mcurrentwid2
Definition: ascii.h:88
std::string readany(std::istream &is, const unsigned int &n, const std::string &firstline, typename aff::Series< T > &series, const std::string &datatype, const bool &nonfatal)
Here is the call graph for this function: