StdAir Logo  1.00.19
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
12namespace 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
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
Handle on the StdAir library context.
Utility class to extract key structures from strings.
static FlightDateKey extractFlightDateKey(const std::string &iFullKeyStr)
static SegmentDateKey extractSegmentDateKey(const std::string &iFullKeyStr)
static InventoryKey extractInventoryKey(const std::string &iFullKeyStr)
static ParsedKey extractKeys(const std::string &iFullKeyStr)
static LegDateKey extractLegDateKey(const std::string &iFullKeyStr)
Key of the BOM structure root.
Key of a given fare family, made of a fare family code.
Key of a given flight-date, made of a flight number and a departure date.
Key of a given inventory, made of the airline code.
Key of a given leg-cabin, made of a cabin code (only).
Key of a given segment-cabin, made of a cabin code (only).
Key of a given segment-date, made of an origin and a destination airports.