36 #define DATRW_BONJER_CC_VERSION \ 37 "DATRW_BONJER_CC V1.2" 40 #include <datrwxx/readbonjer.h> 66 for (
int i=0; i<n; ++i)
68 DATRW_assert(is.good(),
"ERROR (ibonjerstream::?series): " 111 tracefree.append(
"station: " + hd.
station);
113 tracefree.append(
"file: " + hd.
filename);
116 tracefree.append(
"component: " + hd.
component);
118 tracefree.append(
"date: " + hd.
date.timestring());
120 tracefree.append(
"sensitivity: " + hd.
sensitivity);
121 tracefree.append(
"units: " + hd.
units);
virtual Tiseries iseries()
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
virtual Tfseries fseries()
aff::Series< float > Tfseries
static const std::ios_base::openmode openmode
ibonjerstream(std::istream &is)
C readany(std::istream &is, const int &n)
aff::Series< double > Tdseries
const bool isbinary
Format properties.
const int nsamples
number of samples per minute block and channel
void setwid2(const sff::WID2 &wid2)
Root namespace of library.
const char *const streamID
Format properties.
void settracefree(const sff::FREE &free)
read bonjers ASCII data (prototypes)
aff::Series< int > Tiseries
header readheader(std::istream &is, const bool &verbose)
function to read the file header
virtual Tdseries dseries()