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

◆ readheader()

void datrw::ibinarystream::readheader ( )
private

Definition at line 118 of file ibinarystream.cc.

References datrw::binary::Ffree, datrw::binary::Finfo, datrw::idatstream::free(), datrw::idatstream::info(), Mibs, Mnextflags, datrw::idatstream::newtrace(), datrw::idatstream::setinfo(), datrw::idatstream::settracefree(), datrw::idatstream::setwid2(), and datrw::idatstream::wid2().

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

119  {
120  this->newtrace();
121  ::sff::WID2 wid2;
122  Mibs >> wid2;
123  this->setwid2(wid2);
125  {
126  ::sff::INFO info;
127  Mibs >> info;
128  this->setinfo(info);
129  }
131  {
132  ::sff::FREE free;
133  Mibs >> free;
134  this->settracefree(free);
135  }
136  } // void ibinarystream::readheader()
void setinfo(const sff::INFO &info)
Definition: datread.cc:121
sff::WID2 wid2() const
Definition: datread.h:111
trace has INFO header
Definition: binary.h:81
void setwid2(const sff::WID2 &wid2)
Definition: datread.cc:113
sff::INFO info() const
Definition: datread.h:110
sff::FREE free() const
Definition: datread.cc:79
void settracefree(const sff::FREE &free)
Definition: datread.cc:105
char Mnextflags
flags for next trace
Definition: binary.h:121
trace has FREE header
Definition: binary.h:80
binary::ibinstream Mibs
Definition: binary.h:119
Here is the call graph for this function:
Here is the caller graph for this function: