StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
UnconstrainingMethod.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BAS_UNCONSTRAININGMETHOD_HPP
2 #define __STDAIR_BAS_UNCONSTRAININGMETHOD_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  EM = 0,
21 
23  static const std::string& getLabel (const EN_UnconstrainingMethod&);
24 
26  static char getMethodLabel (const EN_UnconstrainingMethod&);
27 
29  static std::string getMethodLabelAsString (const EN_UnconstrainingMethod&);
30 
32  static std::string describeLabels();
33 
36 
38  std::string getMethodAsString() const;
39 
42  const std::string describe() const;
43 
44  public:
46  bool operator== (const EN_UnconstrainingMethod&) const;
47 
48  public:
52  UnconstrainingMethod (const char iMethod);
55 
56  private:
59 
60 
61  private:
63  static const std::string _labels[LAST_VALUE];
65  static const char _methodLabels[LAST_VALUE];
66 
67 
68  private:
69  // //////// Attributes /////////
72  };
73 
74 }
75 #endif // __STDAIR_BAS_UNCONSTRAININGMETHOD_HPP
static const std::string & getLabel(const EN_UnconstrainingMethod &)
std::string getMethodAsString() const
Handle on the StdAir library context.
Base class for the light structures.
static std::string getMethodLabelAsString(const EN_UnconstrainingMethod &)
EN_UnconstrainingMethod getMethod() const
bool operator==(const EN_UnconstrainingMethod &) const
static char getMethodLabel(const EN_UnconstrainingMethod &)
const std::string describe() const