StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TravelSolutionTypes.hpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 #ifndef __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP
3 #define __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP
4 
5 // //////////////////////////////////////////////////////////////////////
6 // Import section
7 // //////////////////////////////////////////////////////////////////////
8 // STL
9 #include <list>
10 #include <map>
11 // StdAir
13 #include <stdair/bom/key_types.hpp>
14 #include <stdair/stdair_inventory_types.hpp> // bid price related types.
16 
17 namespace stdair {
18 
19  // Forward declarations.
21 
23  typedef std::list<TravelSolutionStruct> TravelSolutionList_T;
24 
27 
29  typedef std::list<SegmentPath_T> SegmentPathList_T;
30 
32  typedef std::map<const ClassCode_T, Availability_T> ClassAvailabilityMap_T;
33 
35  typedef std::list<ClassAvailabilityMap_T> ClassAvailabilityMapHolder_T;
36 
38  typedef std::map<const ClassCode_T, BookingClassID_T> ClassObjectIDMap_T;
39 
41  typedef std::list<ClassObjectIDMap_T> ClassObjectIDMapHolder_T;
42 
44  typedef std::map<const ClassCode_T, YieldValue_T> ClassYieldMap_T;
45 
47  typedef std::list<ClassYieldMap_T> ClassYieldMapHolder_T;
48 
50  typedef std::list<BidPriceVector_T> BidPriceVectorHolder_T;
51 
53  typedef std::map<const ClassCode_T, const BidPriceVector_T*> ClassBpvMap_T;
54 
56  typedef std::list<ClassBpvMap_T> ClassBpvMapHolder_T;
57 }
58 #endif // __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP
59