StdAir Logo  1.00.21
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
12namespace stdair {
13
16 public:
17 typedef enum {
18 NONE = 0,
22 } EN_PreOptimisationMethod;
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
37 EN_PreOptimisationMethod getMethod() const;
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:
51 PreOptimisationMethod (const EN_PreOptimisationMethod&);
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 /////////
72 EN_PreOptimisationMethod _method;
73 };
74
75}
76#endif // __STDAIR_BAS_PREOPTIMISATIONMETHOD_HPP
Handle on the StdAir library context.
static const std::string & getLabel(const EN_PreOptimisationMethod &)
PreOptimisationMethod(const EN_PreOptimisationMethod &)
bool operator==(const EN_PreOptimisationMethod &) const
EN_PreOptimisationMethod getMethod() const
static std::string getMethodLabelAsString(const EN_PreOptimisationMethod &)
static char getMethodLabel(const EN_PreOptimisationMethod &)