IODA Bundle
MDI.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 1996-2012 ECMWF.
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
* In applying this licence, ECMWF does not waive the privileges and immunities
7
* granted to it by virtue of its status as an intergovernmental organisation nor
8
* does it submit to any jurisdiction.
9
*/
10
11
/// @file MDI.h
12
/// @author Piotr Kuchta - ECMWF Nov 13
13
14
#ifndef MDI_H
15
#define MDI_H
16
17
namespace
odc
{
18
19
class
MDI
{
20
public
:
21
static
double
realMDI
() {
return
realMDI_
; }
22
static
double
integerMDI
() {
return
integerMDI_
; }
23
24
/// We always use 0 as MDI of Bitfield columns.
25
static
double
bitfieldMDI
() {
return
0; }
26
27
static
void
realMDI
(
double
v) {
realMDI_
= v; }
28
static
void
integerMDI
(
double
v) {
integerMDI_
= v; }
29
30
private
:
31
static
double
realMDI_
;
32
static
double
integerMDI_
;
33
};
34
35
}
// namespace odc
36
37
#endif
odc::MDI
Definition:
MDI.h:19
odc::MDI::realMDI
static void realMDI(double v)
Definition:
MDI.h:27
odc::MDI::realMDI_
static double realMDI_
Definition:
MDI.h:31
odc::MDI::bitfieldMDI
static double bitfieldMDI()
We always use 0 as MDI of Bitfield columns.
Definition:
MDI.h:25
odc::MDI::realMDI
static double realMDI()
Definition:
MDI.h:21
odc::MDI::integerMDI
static double integerMDI()
Definition:
MDI.h:22
odc::MDI::integerMDI_
static double integerMDI_
Definition:
MDI.h:32
odc::MDI::integerMDI
static void integerMDI(double v)
Definition:
MDI.h:28
odc
Definition:
ColumnInfo.h:23
odc
src
odc
MDI.h
Generated on Fri Aug 20 2021 11:49:07 for IODA Bundle by
1.9.1