125 int year,month,day,hour,minute ,second;
126 std::istringstream iss(
Mline);
127 iss >> year >> month >> day >> hour >> minute >> second;
129 "read beyond end of data line when reading date and time" << line);
130 DATRW_assert(iss.good(),
"empty data line or read beyond end of file");
131 Mtime=libtime::TAbsoluteTime(year,month,day,hour,minute,second);
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Tvod Msamples
vector of data values
std::string Mline
the data line
double sample(const int &i) const
return specific sample
libtime::TAbsoluteTime Mtime
time
#define DATRW_report_assert(C, M)
Check an assertion and report only.