1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ForecastingMethod.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_FORECASTINGMETHOD_HPP
2
#define __STDAIR_BAS_FORECASTINGMETHOD_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
// StdAir
10
#include <
stdair/basic/StructAbstract.hpp
>
11
12
namespace
stdair {
13
15
struct
ForecastingMethod
:
public
StructAbstract
{
16
public
:
17
typedef
enum
{
18
Q_FORECASTING
= 0,
19
HYBRID_FORECASTING
,
20
OLD_QFF
,
21
NEW_QFF
,
22
BASED_FORECASTING
,
23
LAST_VALUE
24
}
EN_ForecastingMethod
;
25
28
static
const
std::string&
getLabel
(
const
EN_ForecastingMethod
&);
29
31
static
char
getMethodLabel
(
const
EN_ForecastingMethod
&);
32
35
static
std::string
getMethodLabelAsString
(
const
EN_ForecastingMethod
&);
36
38
static
std::string
describeLabels
();
39
41
EN_ForecastingMethod
getMethod
()
const
;
42
45
std::string
getMethodAsString
()
const
;
46
49
const
std::string
describe
()
const
;
50
51
public
:
53
bool
operator==
(
const
EN_ForecastingMethod
&)
const
;
54
55
public
:
57
ForecastingMethod
(
const
EN_ForecastingMethod
&);
59
ForecastingMethod
(
const
char
iMethod);
61
ForecastingMethod
(
const
ForecastingMethod
&);
62
63
private
:
65
ForecastingMethod
();
66
67
68
private
:
70
static
const
std::string _labels[
LAST_VALUE
];
72
static
const
char
_methodLabels[
LAST_VALUE
];
73
74
75
private
:
76
// //////// Attributes /////////
78
EN_ForecastingMethod
_method;
79
};
80
81
}
82
#endif // __STDAIR_BAS_FORECASTINGMETHOD_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1