35 #define DATRW_BINARY_CC_VERSION \ 36 "DATRW_BINARY_CC V1.0 " 61 "ERROR: flags indicate INFO and SRCE at the same time");
69 unsigned int ntypes=0;
70 if (flags &
Fdouble) { ++ntypes; }
71 if (flags &
Ffloat) { ++ntypes; }
72 if (flags &
Fint) { ++ntypes; }
74 "ERROR: flags must indicate exactly one data type");
const char *const streamID
Format properties.
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
void checktraceflags(const char &flags)
abort if trace flags are inconsistent
void checkfileflags(const char &flags)
abort if file flags are inconsistent
write raw binary data (prototypes)
const char *const magic
magic number to identify file type and bytesex
exception class declaration for libdatrwxx (prototypes)
const short version
a version number for files - just in case
Root namespace of library.
const bool isbinary
Format properties.