StdAir Logo  1.00.8
C++ Standard Airline IT Object Library
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 
12 namespace stdair {
13 
16  public:
17  typedef enum {
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 
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:
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
stdair::ForecastingMethod::Q_FORECASTING
Definition: ForecastingMethod.hpp:18
stdair::ForecastingMethod::getMethodLabel
static char getMethodLabel(const EN_ForecastingMethod &)
Definition: ForecastingMethod.cpp:68
stdair::ForecastingMethod::HYBRID_FORECASTING
Definition: ForecastingMethod.hpp:19
stdair::ForecastingMethod::getMethodAsString
std::string getMethodAsString() const
Definition: ForecastingMethod.cpp:98
stdair::ForecastingMethod::operator==
bool operator==(const EN_ForecastingMethod &) const
Definition: ForecastingMethod.cpp:113
stdair::ForecastingMethod::NEW_QFF
Definition: ForecastingMethod.hpp:21
stdair::ForecastingMethod
Definition: ForecastingMethod.hpp:15
stdair::ForecastingMethod::getMethodLabelAsString
static std::string getMethodLabelAsString(const EN_ForecastingMethod &)
Definition: ForecastingMethod.cpp:74
stdair::ForecastingMethod::getLabel
static const std::string & getLabel(const EN_ForecastingMethod &)
Definition: ForecastingMethod.cpp:63
stdair::ForecastingMethod::LAST_VALUE
Definition: ForecastingMethod.hpp:23
stdair::ForecastingMethod::OLD_QFF
Definition: ForecastingMethod.hpp:20
stdair
Handle on the StdAir library context.
Definition: BasChronometer.cpp:9
stdair::ForecastingMethod::BASED_FORECASTING
Definition: ForecastingMethod.hpp:22
stdair::ForecastingMethod::getMethod
EN_ForecastingMethod getMethod() const
Definition: ForecastingMethod.cpp:93
StructAbstract.hpp
stdair::ForecastingMethod::EN_ForecastingMethod
EN_ForecastingMethod
Definition: ForecastingMethod.hpp:17
stdair::StructAbstract
Base class for the light structures.
Definition: StructAbstract.hpp:16
stdair::ForecastingMethod::describeLabels
static std::string describeLabels()
Definition: ForecastingMethod.cpp:81
stdair::ForecastingMethod::describe
const std::string describe() const
Definition: ForecastingMethod.cpp:105