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

◆ fseries()

Tfseries datrw::iasciistream::fseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 471 of file iasciistream.cc.

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

472  {
473  Tfseries retval;
474  this->Mcurrentline=ascii::readany(this->Mis,
475  this->Mcurrentwid2.nsamples,
476  this->Mcurrentline,
477  retval,
478  this->Mdatatype,
479  this->Mnonfatal);
480  this->Mcurrentwid2.nsamples=retval.size();
481  this->settraceheader();
482  this->readheader();
483  if (!this->Mis.good()) { this->setlast(); }
484  return(retval);
485  } // Tfseries iasciistream::fseries()
aff::Series< float > Tfseries
Definition: types.h:46
std::string Mcurrentline
Definition: ascii.h:84
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: