set values from line
Definition at line 56 of file seifeio.cc.
References DATRW_assert, DATRW_debug, DATRW_value, line(), Mdebug, Mdt, Mformat, Mnsamples, Mtime, and nsamples().
Referenced by datrw::seife::Header::read().
59 "read values from line:\n" <<
line);
60 std::istringstream iss(
line.substr(0,10));
72 iss.str(
line.substr(10,20));
81 iss.str(
line.substr(30,10));
92 iss.str(
line.substr(40,10));
99 iss.str(
line.substr(50,10));
105 Mtime=libtime::double2time(tsec)+libtime::double2time(tmin*60.);
unsigned int Mnsamples
number of samples
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
unsigned int nsamples() const
return number of samples
bool Mdebug
request debug output
#define DATRW_debug(C, N, M)
produce debug output
std::string Mformat
Fortran data format.
double Mdt
sampling interval
libtime::TRelativeTime Mtime
time of first sample
#define DATRW_value(V)
report value
std::string line() const
create line for output from values