37 #ifndef DATRW_OBINSTREAM_H_VERSION 39 #define DATRW_OBINSTREAM_H_VERSION \ 40 "DATRW_OBINSTREAM_H V1.0 " 45 #include <libtime++.h> 59 const char*
const magic,
60 const bool& debug=
false);
61 void write(
const char& v);
62 void write(
const short& v);
63 void write(
const int& v);
64 void write(
const unsigned int& v);
65 void write(
const double& v);
66 void write(
const float& v);
67 void write(
const std::string& v);
68 void write(
const libtime::TAbsoluteTime& v);
69 void write(const ::sff::FREE& v);
70 void write(const ::sff::WID2& v);
71 void write(const ::sff::SRCE& v);
72 void write(const ::sff::INFO& v);
73 void write(
const Tdseries::Tcoc& v);
74 void write(
const Tfseries::Tcoc& v);
75 void write(
const Tiseries::Tcoc& v);
89 obs.
write(v);
return(obs);
96 #endif // DATRW_OBINSTREAM_H_VERSION (includeguard) internal data types (prototypes)
const char *const magic
magic number to identify file type and bytesex
binary output for basic types and classes
void write(const char &v)
Root namespace of library.
obinstream(std::ostream &os, const char *const magic, const bool &debug=false)
obinstream & operator<<(obinstream &obs, const C &v)
output operator for basic types and classes