StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
OptimisationMethod.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BAS_OPTIMISATIONMETHOD_HPP
2 #define __STDAIR_BAS_OPTIMISATIONMETHOD_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
11 
12 namespace stdair {
13 
16  public:
17  typedef enum {
22 
25  static const std::string& getLabel (const EN_OptimisationMethod&);
26 
28  static char getMethodLabel (const EN_OptimisationMethod&);
29 
31  static std::string getMethodLabelAsString (const EN_OptimisationMethod&);
32 
34  static std::string describeLabels();
35 
38 
40  std::string getMethodAsString() const;
41 
44  const std::string describe() const;
45 
46  public:
48  bool operator== (const EN_OptimisationMethod&) const;
49 
50  public:
54  OptimisationMethod (const char iMethod);
57 
58  private:
61 
62 
63  private:
65  static const std::string _labels[LAST_VALUE];
67  static const char _methodLabels[LAST_VALUE];
68 
69 
70  private:
71  // //////// Attributes /////////
73  EN_OptimisationMethod _method;
74  };
75 
76 }
77 #endif // __STDAIR_BAS_OPTIMISATIONMETHOD_HPP
Handle on the StdAir library context.
static const std::string & getLabel(const EN_OptimisationMethod &)
bool operator==(const EN_OptimisationMethod &) const
Base class for the light structures.
std::string getMethodAsString() const
static std::string getMethodLabelAsString(const EN_OptimisationMethod &)
static char getMethodLabel(const EN_OptimisationMethod &)
EN_OptimisationMethod getMethod() const
static std::string describeLabels()
const std::string describe() const