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

◆ read()

void datrw::itsoftstream::read ( std::istream &  is)
private

read file to buffer

Definition at line 111 of file itsoftstream.cc.

References Mfile, datrw::tsoft::File::Mfree, Mitrace, Mreaderconfig, datrw::tsoft::File::Mtraces, datrw::tsoft::readfile(), datrw::idatstream::setfilefree(), and datrw::idatstream::setlast().

Referenced by itsoftstream().

112  {
114  Mitrace=this->Mfile.Mtraces.first();
115  this->setfilefree(Mfile.Mfree);
116  if (Mfile.Mtraces.size()<1) { this->setlast(); }
117  } // void itsoftstream::read(std::istream& is)
aff::Tsubscript Mitrace
index of next trace to be passed
Definition: tsoft.h:80
datrw::tsoft::File Mfile
container for complete file
Definition: tsoft.h:78
void setfilefree(const sff::FREE &free)
Definition: datread.cc:97
tsoft::ReaderConfig Mreaderconfig
TSOFT reader configuration.
Definition: tsoft.h:84
::sff::FREE Mfree
free comment lines
File readfile(std::istream &is, const ReaderConfig &rc)
read complete file
Ttraceseries Mtraces
all traces in file
Here is the call graph for this function:
Here is the caller graph for this function: