00001 // ////////////////////////////////////////////////////////////////////// 00002 #ifndef __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP 00003 #define __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP 00004 00005 // ////////////////////////////////////////////////////////////////////// 00006 // Import section 00007 // ////////////////////////////////////////////////////////////////////// 00008 // STL 00009 #include <list> 00010 #include <map> 00011 // StdAir 00012 #include <stdair/stdair_basic_types.hpp> 00013 #include <stdair/bom/key_types.hpp> 00014 #include <stdair/stdair_inventory_types.hpp> // bid price related types. 00015 00016 namespace stdair { 00017 00018 // Forward declarations. 00019 struct TravelSolutionStruct; 00020 00022 typedef std::list<TravelSolutionStruct> TravelSolutionList_T; 00023 00025 typedef KeyList_T SegmentPath_T; 00026 00028 typedef std::list<SegmentPath_T> SegmentPathList_T; 00029 00031 typedef std::map<const ClassCode_T, Availability_T> ClassAvailabilityMap_T; 00032 00034 typedef std::list<ClassAvailabilityMap_T> ClassAvailabilityMapHolder_T; 00035 00037 typedef std::map<const ClassCode_T, YieldValue_T> ClassYieldMap_T; 00038 00040 typedef std::list<ClassYieldMap_T> ClassYieldMapHolder_T; 00041 00043 typedef std::list<BidPriceVector_T> BidPriceVectorHolder_T; 00044 00046 typedef std::map<const ClassCode_T, const BidPriceVector_T*> ClassBpvMap_T; 00047 00049 typedef std::list<ClassBpvMap_T> ClassBpvMapHolder_T; 00050 } 00051 #endif // __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP 00052