$treeview $search $mathjax
00001 #ifndef __STDAIR_BOM_BOMKEYMANAGER_HPP 00002 #define __STDAIR_BOM_BOMKEYMANAGER_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <iosfwd> 00009 // StdAir 00010 #include <stdair/stdair_basic_types.hpp> 00011 00012 namespace stdair { 00013 00015 struct BomRootKey; 00016 struct InventoryKey; 00017 struct FlightDateKey; 00018 struct LegDateKey; 00019 struct SegmentDateKey; 00020 struct LegCabinKey; 00021 struct SegmentCabinKey; 00022 struct FareFamilyKey; 00023 struct BookingClassKey; 00024 struct ParsedKey; 00025 00029 class BomKeyManager { 00030 public: 00031 // //////////////// Key management support methods ///////////////// 00036 static ParsedKey extractKeys (const std::string& iFullKeyStr); 00037 00049 static InventoryKey extractInventoryKey (const std::string& iFullKeyStr); 00050 00062 static FlightDateKey extractFlightDateKey (const std::string& iFullKeyStr); 00063 00075 static SegmentDateKey extractSegmentDateKey (const std::string& iFullKeyStr); 00076 00088 static LegDateKey extractLegDateKey (const std::string& iFullKeyStr); 00089 00090 }; 00091 00092 } 00093 #endif // __STDAIR_BOM_BOMKEYMANAGER_HPP