meteo-vm2
2.0.11
meteo-vm2
value.h
Go to the documentation of this file.
1
/*
2
* value - value class
3
*
4
* Copyright (C) 2012,2013 Arpae-SIMC <simc-urp@arpae.it>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program; if not, write to the Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*
20
* Author: Emanuele Di Giacomo <edigiacomo@arpae.it>
21
*/
22
#ifndef METEO_VM2_VALUE_H
23
#define METEO_VM2_VALUE_H
24
30
#include <string>
31
#include <limits>
32
33
namespace
meteo {
34
namespace
vm2 {
35
36
static
double
MISSING_DOUBLE = std::numeric_limits<double>::max();
37
44
struct
Value
{
45
int
year;
46
int
month;
47
int
mday;
48
int
hour;
49
int
min;
50
int
sec;
51
52
unsigned
int
station_id;
53
unsigned
int
variable_id;
54
55
double
value1;
56
double
value2;
57
std::string value3;
58
std::string flags;
59
};
60
61
}
62
}
63
#endif
/* METEO_VM2_VALUE_H */
meteo::vm2::Value
Definition:
value.h:44
Generated on Tue May 30 2023 12:43:22 for meteo-vm2 by
1.9.1