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

◆ ianystream() [1/3]

datrw::ianystream::ianystream ( std::istream &  is,
const Eformat format,
const bool &  debug = false 
)

deprecated constructor, not taking format modifier

Deprecated:
The use of this constructor is deprecated, because it does not allow format modifiers to be passed by the user.

Definition at line 143 of file readany.cc.

References datrw::anyID(), debug(), open(), and datrw::util::report_deprecated().

145  {
146  datrw::util::report_deprecated("ianystream::ianystream(std::istream& is, "
147  "const Eformat& format)",
148  "this constructor does not support format modifiers");
149  this->open(is, anyID(format), debug);
150  }
void report_deprecated(const std::string &function, const std::string &reason)
report deprecated function
Definition: report.cc:113
Eformat anyID(std::string formatstring)
convert identifier from and to string representation
Definition: formats.cc:68
bool debug()
indicate debug mode
Definition: readany.h:116
void open(std::istream &os, std::string format, const bool &debug=false)
actually open stream (to be called by constructor)
Definition: readany.cc:162
Here is the call graph for this function: