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

◆ settraceheader()

void datrw::isffstream::settraceheader ( const ::sff::TraceHeader &  header)
private

Definition at line 145 of file isffstream.cc.

References datrw::idatstream::setinfo(), datrw::idatstream::setlast(), datrw::idatstream::settracefree(), and datrw::idatstream::setwid2().

Referenced by dseries(), fseries(), iseries(), and skipseries().

146  {
147  this->setwid2(header.wid2());
148  if (header.hasfree()) { this->settracefree(header.free()); }
149  if (header.hasinfo()) { this->setinfo(header.info()); }
150  if (header.last()) { this->setlast(); }
151  }
void setinfo(const sff::INFO &info)
Definition: datread.cc:121
void setwid2(const sff::WID2 &wid2)
Definition: datread.cc:113
void settracefree(const sff::FREE &free)
Definition: datread.cc:105
Here is the call graph for this function:
Here is the caller graph for this function: