StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BomKeyManager.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BOM_BOMKEYMANAGER_HPP
2 #define __STDAIR_BOM_BOMKEYMANAGER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 // StdAir
11 
12 namespace stdair {
13 
15  struct BomRootKey;
16  struct InventoryKey;
17  struct FlightDateKey;
18  struct LegDateKey;
19  struct SegmentDateKey;
20  struct LegCabinKey;
21  struct SegmentCabinKey;
22  struct FareFamilyKey;
23  struct BookingClassKey;
24  struct ParsedKey;
25 
29  class BomKeyManager {
30  public:
31  // //////////////// Key management support methods /////////////////
36  static ParsedKey extractKeys (const std::string& iFullKeyStr);
37 
49  static InventoryKey extractInventoryKey (const std::string& iFullKeyStr);
50 
62  static FlightDateKey extractFlightDateKey (const std::string& iFullKeyStr);
63 
75  static SegmentDateKey extractSegmentDateKey (const std::string& iFullKeyStr);
76 
88  static LegDateKey extractLegDateKey (const std::string& iFullKeyStr);
89 
90  };
91 
92 }
93 #endif // __STDAIR_BOM_BOMKEYMANAGER_HPP