1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
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
StructAbstract.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::ForecastingMethod
Definition
ForecastingMethod.hpp:15
stdair::ForecastingMethod::getMethodLabel
static char getMethodLabel(const EN_ForecastingMethod &)
Definition
ForecastingMethod.cpp:68
stdair::ForecastingMethod::getMethodAsString
std::string getMethodAsString() const
Definition
ForecastingMethod.cpp:98
stdair::ForecastingMethod::LAST_VALUE
@ LAST_VALUE
Definition
ForecastingMethod.hpp:23
stdair::ForecastingMethod::HYBRID_FORECASTING
@ HYBRID_FORECASTING
Definition
ForecastingMethod.hpp:19
stdair::ForecastingMethod::Q_FORECASTING
@ Q_FORECASTING
Definition
ForecastingMethod.hpp:18
stdair::ForecastingMethod::OLD_QFF
@ OLD_QFF
Definition
ForecastingMethod.hpp:20
stdair::ForecastingMethod::BASED_FORECASTING
@ BASED_FORECASTING
Definition
ForecastingMethod.hpp:22
stdair::ForecastingMethod::NEW_QFF
@ NEW_QFF
Definition
ForecastingMethod.hpp:21
stdair::ForecastingMethod::ForecastingMethod
ForecastingMethod(const EN_ForecastingMethod &)
Definition
ForecastingMethod.cpp:37
stdair::ForecastingMethod::operator==
bool operator==(const EN_ForecastingMethod &) const
Definition
ForecastingMethod.cpp:113
stdair::ForecastingMethod::describeLabels
static std::string describeLabels()
Definition
ForecastingMethod.cpp:81
stdair::ForecastingMethod::getMethodLabelAsString
static std::string getMethodLabelAsString(const EN_ForecastingMethod &)
Definition
ForecastingMethod.cpp:74
stdair::ForecastingMethod::getMethod
EN_ForecastingMethod getMethod() const
Definition
ForecastingMethod.cpp:93
stdair::ForecastingMethod::getLabel
static const std::string & getLabel(const EN_ForecastingMethod &)
Definition
ForecastingMethod.cpp:63
stdair::ForecastingMethod::describe
const std::string describe() const
Definition
ForecastingMethod.cpp:105
stdair::StructAbstract::StructAbstract
StructAbstract()
Definition
StructAbstract.hpp:49
Generated for StdAir by
1.17.0