StdAir Logo  1.00.10
C++ Standard Airline IT Object Library
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
stdair::SegmentDateKey
Key of a given segment-date, made of an origin and a destination airports.
Definition: SegmentDateKey.hpp:24
stdair::FlightDateKey
Key of a given flight-date, made of a flight number and a departure date.
Definition: FlightDateKey.hpp:28
stdair::BomKeyManager::extractFlightDateKey
static FlightDateKey extractFlightDateKey(const std::string &iFullKeyStr)
Definition: BomKeyManager.cpp:87
stdair::ParsedKey
Definition: ParsedKey.hpp:22
stdair
Handle on the StdAir library context.
Definition: BasChronometer.cpp:9
stdair::BomKeyManager::extractSegmentDateKey
static SegmentDateKey extractSegmentDateKey(const std::string &iFullKeyStr)
Definition: BomKeyManager.cpp:95
stdair::LegDateKey
Definition: LegDateKey.hpp:16
stdair::BomKeyManager::extractKeys
static ParsedKey extractKeys(const std::string &iFullKeyStr)
Definition: BomKeyManager.cpp:31
stdair::BomKeyManager::extractLegDateKey
static LegDateKey extractLegDateKey(const std::string &iFullKeyStr)
Definition: BomKeyManager.cpp:103
stdair::BomKeyManager
Utility class to extract key structures from strings.
Definition: BomKeyManager.hpp:29
stdair_basic_types.hpp
stdair::BomKeyManager::extractInventoryKey
static InventoryKey extractInventoryKey(const std::string &iFullKeyStr)
Definition: BomKeyManager.cpp:79
stdair::InventoryKey
Key of a given inventory, made of the airline code.
Definition: InventoryKey.hpp:26