DATRW++ library: seismic data I/O with multiple formats
|
internals of the binary I/O module More...
Namespaces | |
anonymous_namespace{ibinarystream.cc} | |
Classes | |
class | ibinstream |
stream like class for binary input of basic types and classes More... | |
class | obinstream |
binary output for basic types and classes More... | |
Enumerations | |
enum | Eflags { Fsrce = (1<<0), Ffree = (1<<1), Finfo = (1<<2), Fdouble = (1<<3), Ffloat = (1<<4), Fint = (1<<5) } |
indicate file or trace properties More... | |
Functions | |
void | checkfileflags (const char &flags) |
abort if file flags are inconsistent More... | |
void | checktraceflags (const char &flags) |
abort if trace flags are inconsistent More... | |
template<class C > | |
obinstream & | operator<< (obinstream &obs, const C &v) |
output operator for basic types and classes More... | |
template<class C > | |
ibinstream & | operator>> (ibinstream &ibs, C &v) |
input operator for basic types and classes More... | |
Variables | |
const char *const | magic ="TBIN" |
magic number to identify file type and bytesex More... | |
const short | version =1 |
a version number for files - just in case More... | |
const bool | isbinary =false |
Format properties. More... | |
const char *const | streamID ="bin" |
Format properties. More... | |
internals of the binary I/O module