StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
PartnershipTechnique.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BAS_PARTNERSHIPTECHNIQUE_HPP
2 #define __STDAIR_BAS_PARTNERSHIPTECHNIQUE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
11 
12 namespace stdair {
13 
18  public:
19  typedef enum {
20  NONE = 0,
26  RMC,
30 
34  static const std::string& getLabel (const EN_PartnershipTechnique&);
35 
39  static EN_PartnershipTechnique getTechnique (const char);
40 
44  static char getTechniqueLabel (const EN_PartnershipTechnique&);
45 
49  static std::string getTechniqueLabelAsString (const EN_PartnershipTechnique&);
50 
54  static std::string describeLabels();
55 
60 
64  char getTechniqueAsChar() const;
65 
69  std::string getTechniqueAsString() const;
70 
75  const std::string describe() const;
76 
77  public:
81  bool operator== (const EN_PartnershipTechnique&) const;
82 
83  public:
91  PartnershipTechnique (const char iTechnique);
95  PartnershipTechnique (const std::string& iTechnique);
96 
101 
102  private:
107 
108 
109  private:
113  static const std::string _labels[LAST_VALUE];
117  static const char _techniqueLabels[LAST_VALUE];
118 
119  private:
120  // //////// Attributes /////////
124  EN_PartnershipTechnique _technique;
125  };
126 
127 }
128 #endif // __STDAIR_BAS_PARTNERSHIPTECHNIQUE_HPP
std::string getTechniqueAsString() const
Handle on the StdAir library context.
static char getTechniqueLabel(const EN_PartnershipTechnique &)
static const std::string & getLabel(const EN_PartnershipTechnique &)
bool operator==(const EN_PartnershipTechnique &) const
Base class for the light structures.
static std::string getTechniqueLabelAsString(const EN_PartnershipTechnique &)
const std::string describe() const
Enumeration of partnership techniques.
EN_PartnershipTechnique getTechnique() const