$treeview $search $mathjax
StdAir Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

stdair/basic/UnconstrainingMethod.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_BAS_UNCONSTRAININGMETHOD_HPP
00002 #define __STDAIR_BAS_UNCONSTRAININGMETHOD_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 // StdAir
00010 #include <stdair/basic/StructAbstract.hpp>
00011 
00012 namespace stdair {
00013 
00015   struct UnconstrainingMethod : public StructAbstract {
00016   public:
00017     typedef enum { 
00018       EM = 0,
00019       LAST_VALUE
00020     } EN_UnconstrainingMethod;
00021 
00023     static const std::string& getLabel (const EN_UnconstrainingMethod&);
00024 
00026     static char getMethodLabel (const EN_UnconstrainingMethod&);
00027 
00029     static std::string getMethodLabelAsString (const EN_UnconstrainingMethod&);
00030 
00032     static std::string describeLabels();
00033 
00035     EN_UnconstrainingMethod getMethod() const;
00036 
00038     std::string getMethodAsString() const;
00039     
00042     const std::string describe() const;
00043 
00044   public:
00046     bool operator== (const EN_UnconstrainingMethod&) const;
00047     
00048   public:
00050     UnconstrainingMethod (const EN_UnconstrainingMethod&);
00052     UnconstrainingMethod (const char iMethod);
00054     UnconstrainingMethod (const UnconstrainingMethod&);
00055 
00056   private:
00058     UnconstrainingMethod();
00059   
00060 
00061   private:
00063     static const std::string _labels[LAST_VALUE];
00065     static const char _methodLabels[LAST_VALUE];
00066 
00067 
00068   private:
00069     // //////// Attributes /////////
00071     EN_UnconstrainingMethod _method;
00072   };
00073 
00074 }
00075 #endif // __STDAIR_BAS_UNCONSTRAININGMETHOD_HPP