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

◆ iseries()

Tiseries datrw::iasciistream::iseries ( )
virtual

Reimplemented from datrw::idatstream.

Definition at line 489 of file iasciistream.cc.

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

490  {
491  Tiseries retval;
492  this->Mcurrentline=ascii::readany(this->Mis,
493  this->Mcurrentwid2.nsamples,
494  this->Mcurrentline,
495  retval,
496  this->Mdatatype,
497  this->Mnonfatal);
498  this->Mcurrentwid2.nsamples=retval.size();
499  this->settraceheader();
500  this->readheader();
501  if (!this->Mis.good()) { this->setlast(); }
502  return(retval);
503  } // Tiseries iasciistream::iseries()
std::string Mcurrentline
Definition: ascii.h:84
std::istream & Mis
Definition: datread.h:126
aff::Series< int > Tiseries
Definition: types.h:47
::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: