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

◆ setinfo()

void datrw::odatstream::setinfo ( const sff::INFO &  info)
inherited

Definition at line 141 of file datwrite.cc.

References DATRW_debug, DATRW_report_assert, DATRW_value, datrw::odatstream::handlesinfo(), datrw::odatstream::info(), datrw::odatstream::Mdebug, datrw::odatstream::Minfo, and datrw::odatstream::Minfoset.

Referenced by datrw::operator<<().

142  {
143  DATRW_debug(this->Mdebug, "odatstream::setinfo",
144  DATRW_value(info.line().substr(0,50)));
146  "file format cannot handle INFO data\n"
147  "INFO data will be dropped silently");
148  Minfoset=true;
149  Minfo=info;
150  }
sff::INFO info() const
return SRCE data
Definition: datwrite.h:173
sff::INFO Minfo
Definition: datwrite.h:211
bool handlesinfo() const
true if INFO data can be handled
Definition: datwrite.h:129
#define DATRW_debug(C, N, M)
produce debug output
Definition: debug.h:50
bool Mdebug
global debug flag
Definition: datwrite.h:197
#define DATRW_value(V)
report value
Definition: debug.h:65
#define DATRW_report_assert(C, M)
Check an assertion and report only.
Definition: error.h:120
Here is the call graph for this function:
Here is the caller graph for this function: