StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PassengerChoiceModel.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BAS_PASSENGERCHOICEMODEL_HPP
2 #define __STDAIR_BAS_PASSENGERCHOICEMODEL_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
11 
12 namespace stdair {
13 
16  public:
17  typedef enum {
23 
26  static const std::string& getLabel (const EN_PassengerChoiceModel&);
27 
29  static char getModelLabel (const EN_PassengerChoiceModel&);
30 
32  static std::string getModelLabelAsString (const EN_PassengerChoiceModel&);
33 
35  static std::string describeLabels();
36 
39 
41  std::string getModelAsString() const;
42 
45  const std::string describe() const;
46 
47  public:
49  bool operator== (const EN_PassengerChoiceModel&) const;
50 
51  public:
55  PassengerChoiceModel (const char iModel);
58 
59  private:
62 
63 
64  private:
66  static const std::string _labels[LAST_VALUE];
68  static const char _modelLabels[LAST_VALUE];
69 
70 
71  private:
72  // //////// Attributes /////////
75  };
76 }
77 
78 #endif // __STDAIR_BAS_PASSENGERCHOICEMODEL_HPP