36 #ifndef DATRW_THIESDL1LINE_H_VERSION 38 #define DATRW_THIESDL1LINE_H_VERSION \ 39 "DATRW_THIESDL1LINE_H V1.0 " 41 #include <libtime++.h> 56 const char* condition,
57 std::string dataline):
60 virtual void report()
const;
77 libtime::TAbsoluteTime
time()
const {
return(
Mtime); }
105 #endif // DATRW_THIESDL1LINE_H_VERSION (includeguard) unsigned int Mcounts
value of sample in counts
unsigned int counts() const
return count value
std::string Mline
literal data line as received from DL1
Store one line of data as read from DL1.
libtime::TAbsoluteTime time() const
return date and time
static const double gain
gain value in mm/count
std::string line() const
return data line
exception class declaration for libdatrwxx (prototypes)
double precipitation() const
return value of precipitation
Base class for exceptions.
libtime::TAbsoluteTime Mtime
date and time of this sample
Root namespace of library.
double Mvalue
value of sample in mm precipitation
ExceptionInconsistentLine(const char *message, const char *file, const int &line, const char *condition, std::string dataline)
Create with message, failed assertion, and code position.
Exception indicating an inconsistent data line.
virtual ~ExceptionInconsistentLine()
DataLine(const std::string &line)
swallow data line
virtual void report() const
Screen report.