StdAir Logo  1.00.3
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
static const std::string & getLabel(const EN_ForecastingMethod &)
bool operator==(const EN_ForecastingMethod &) const
static std::string describeLabels()
Handle on the StdAir library context.
std::string getMethodAsString() const
static char getMethodLabel(const EN_ForecastingMethod &)
Base class for the light structures.
const std::string describe() const
static std::string getMethodLabelAsString(const EN_ForecastingMethod &)
EN_ForecastingMethod getMethod() const