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

◆ isffstream()

datrw::isffstream::isffstream ( std::istream &  is,
const bool &  debug = false 
)

Definition at line 64 of file isffstream.cc.

References datrw::idatstream::debug(), datrw::idatstream::Mis, datrw::idatstream::setfilefree(), and datrw::idatstream::setsrce().

64  :
65  Tbase(is, true, true, true, debug)
66  {
67  ::sff::FileHeader fileheader(Mis, debug);
68  if (fileheader.hasfree()) { this->setfilefree(fileheader.free()); }
69  if (fileheader.hassrce()) { this->setsrce(fileheader.srce()); }
70  }
void setfilefree(const sff::FREE &free)
Definition: datread.cc:97
void setsrce(const sff::SRCE &srce)
Definition: datread.cc:129
std::istream & Mis
Definition: datread.h:126
bool debug()
indicate debug mode
Definition: datread.h:116
idatstream Tbase
Definition: sff.h:78
Here is the call graph for this function: