45 #define DATRW_WRITEANY_CC_VERSION \ 46 "DATRW_WRITEANY_CC V1.11" 65 "const Eformat& format)",
66 "this constructor does not support format modifiers");
67 std::string fm(
anyID(format));
85 std::string& modifiers=format;
115 DATRW_abort(
"ERROR (oanystream): unsupported format!");
131 std::ios_base::openmode oanystream::openmode(
const std::string& format)
133 return(oanystream::openmode(
anyID(format)));
140 std::ios_base::openmode oanystream::openmode(
const Eformat& format)
142 std::ios_base::openmode retval;
150 {
DATRW_abort(
"ERROR (openmode): unknown format!"); }
seife reading and writing module (prototypes)
static const std::ios_base::openmode openmode
void report_deprecated(const std::string &function, const std::string &reason)
report deprecated function
Eformat anyID(std::string formatstring)
convert identifier from and to string representation
static const std::ios_base::openmode openmode
write raw binary data (prototypes)
static const std::ios_base::openmode openmode
read sff data (prototypes)
exception class declaration for libdatrwxx (prototypes)
oanystream(std::ostream &, const Eformat &format, const bool &debug=false)
deprecated constructor, not taking format modifier
bool debug()
indicate debug mode
Root namespace of library.
bool debug()
indicate debug mode
utilities used by more than one type of data reader (prototypes)
common interface for all data types (prototypes)
#define DATRW_abort(M)
Abort and give a message.
static const std::ios_base::openmode openmode
void open(std::ostream &os, std::string format, const bool &debug=false)
actually open stream (to be called by constructor)
std::string clipstring(std::string &s, const std::string &delim)
strip substringStrips off first substring up to given delimiter. The string is passed as a reference ...
class to write seife data
read Seismic Unix data (prototypes)
static const std::ios_base::openmode openmode
class to write ascii data
interface to write ASCII data (prototypes)
report errors and warnings (prototypes)