libwreport
2.4
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
wreport
conv.h
Go to the documentation of this file.
1
/*
2
* wreport/conv - Unit conversions
3
*
4
* Copyright (C) 2005--2010 ARPA-SIM <urpsim@smr.arpa.emr.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.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
*
19
* Author: Enrico Zini <enrico@enricozini.com>
20
*/
21
22
#ifndef WREPORT_CONV
23
#define WREPORT_CONV
24
30
namespace
wreport {
31
46
double
convert_units
(
const
char
* from,
const
char
* to,
double
val);
47
51
double
convert_icao_to_press
(
double
from);
52
56
double
convert_press_to_icao
(
double
from);
57
62
int
convert_AOFVSS_to_BUFR08042
(
int
from);
63
68
int
convert_WMO0500_to_BUFR20012
(
int
from);
70
int
convert_WMO0509_to_BUFR20012
(
int
from);
72
int
convert_WMO0515_to_BUFR20012
(
int
from);
74
int
convert_WMO0513_to_BUFR20012
(
int
from);
76
int
convert_WMO4677_to_BUFR20003
(
int
from);
78
int
convert_WMO4561_to_BUFR20004
(
int
from);
79
81
int
convert_BUFR20012_to_WMO0500
(
int
from);
83
int
convert_BUFR20012_to_WMO0509
(
int
from);
85
int
convert_BUFR20012_to_WMO0515
(
int
from);
87
int
convert_BUFR20012_to_WMO0513
(
int
from);
89
int
convert_BUFR20003_to_WMO4677
(
int
from);
91
int
convert_BUFR20004_to_WMO4561
(
int
from);
93
int
convert_BUFR08001_to_BUFR08042
(
int
from);
95
int
convert_BUFR08042_to_BUFR08001
(
int
from);
96
/* @} */
97
108
double
convert_units_get_mul
(
const
char
* from,
const
char
* to);
109
120
bool
convert_units_allowed
(
const
char
* from,
const
char
* to);
121
}
122
123
/* vim:set ts=4 sw=4: */
124
#endif
Generated on Fri Mar 14 2014 12:37:28 for libwreport by
1.8.1.2