OGS
SensorData.h File Reference

Detailed Description

Definition of the SensorData class.

Author
Karsten Rink
Date
2012-08-01

Definition in file SensorData.h.

#include <cstddef>
#include <string>
#include <vector>
Include dependency graph for SensorData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SensorData
 A container for sensor data at an observation site. The class stores a number of time series and has been created for use in Station-objects. More...
 

Enumerations

enum class  SensorDataType { OTHER = 0 , PRECIPITATION , EVAPORATION , TEMPERATURE }
 
enum class  TimeStepType {
  NONE = 0 , SECONDS , MINUTES , DAYS ,
  WEEKS , MONTHS , YEARS , DATE ,
  DATETIME
}
 

Enumeration Type Documentation

◆ SensorDataType

enum class SensorDataType
strong

Possible types of input data for time series sensor data. Implementation as Enum for specific implementations later on.

See also
SensorData
Enumerator
OTHER 
PRECIPITATION 
EVAPORATION 
TEMPERATURE 

Definition at line 27 of file SensorData.h.

28{
29 OTHER = 0,
33 // please expand if necessary
34};

◆ TimeStepType

enum class TimeStepType
strong

Possible types of time specification. In addition to the usual units we added 'DATE' for specification of dates in the format 'dd.mm.yyyy' as well as 'DATETIME' in the format 'dd.mm.yyyy.hh.mm.ss'.

Enumerator
NONE 
SECONDS 
MINUTES 
DAYS 
WEEKS 
MONTHS 
YEARS 
DATE 
DATETIME 

Definition at line 42 of file SensorData.h.

43{
44 NONE = 0,
45 SECONDS,
46 MINUTES,
47 DAYS,
48 WEEKS,
49 MONTHS,
50 YEARS,
51 DATE, // time series is given as a vector of dates
52 DATETIME // time series is given as a vector of date + time
53};