StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
PreOptimisationMethod.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BAS_PREOPTIMISATIONMETHOD_HPP
2 #define __STDAIR_BAS_PREOPTIMISATIONMETHOD_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
11 
12 namespace stdair {
13 
16  public:
17  typedef enum {
18  NONE = 0,
19  FA,
20  MRT,
23 
25  static const std::string& getLabel (const EN_PreOptimisationMethod&);
26 
28  static char getMethodLabel (const EN_PreOptimisationMethod&);
29 
31  static std::string getMethodLabelAsString (const EN_PreOptimisationMethod&);
32 
34  static std::string describeLabels();
35 
38 
40  std::string getMethodAsString() const;
41 
43  const std::string describe() const;
44 
45  public:
47  bool operator== (const EN_PreOptimisationMethod&) const;
48 
49  public:
53  PreOptimisationMethod (const char iMethod);
56 
57  private:
60 
61 
62  private:
64  static const std::string _labels[LAST_VALUE];
66  static const char _methodLabels[LAST_VALUE];
67 
68 
69  private:
70  // //////// Attributes /////////
73  };
74 
75 }
76 #endif // __STDAIR_BAS_PREOPTIMISATIONMETHOD_HPP
EN_PreOptimisationMethod getMethod() const
Handle on the StdAir library context.
Base class for the light structures.
bool operator==(const EN_PreOptimisationMethod &) const
static char getMethodLabel(const EN_PreOptimisationMethod &)
static std::string getMethodLabelAsString(const EN_PreOptimisationMethod &)
static const std::string & getLabel(const EN_PreOptimisationMethod &)
const std::string describe() const