StdAir Logo  1.00.20
C++ Standard Airline IT Object Library
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
11
12namespace stdair {
13
16 public:
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);
62
63 private:
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
Handle on the StdAir library context.
static char getMethodLabel(const EN_ForecastingMethod &)
std::string getMethodAsString() const
ForecastingMethod(const EN_ForecastingMethod &)
bool operator==(const EN_ForecastingMethod &) const
static std::string describeLabels()
static std::string getMethodLabelAsString(const EN_ForecastingMethod &)
EN_ForecastingMethod getMethod() const
static const std::string & getLabel(const EN_ForecastingMethod &)
const std::string describe() const