$treeview $search $mathjax
StdAir Logo  1.00.2
$projectbrief
$projectbrief
$searchbox

stdair/bom/TravelSolutionTypes.hpp

Go to the documentation of this file.
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 #include <stdair/bom/BomIDTypes.hpp>
00016 
00017 namespace stdair {
00018 
00019   // Forward declarations.
00020   struct TravelSolutionStruct;
00021   
00023   typedef std::list<TravelSolutionStruct> TravelSolutionList_T;
00024 
00026   typedef KeyList_T SegmentPath_T;
00027 
00029   typedef std::list<SegmentPath_T> SegmentPathList_T;
00030 
00032   typedef std::map<const ClassCode_T, Availability_T> ClassAvailabilityMap_T;
00033 
00035   typedef std::list<ClassAvailabilityMap_T> ClassAvailabilityMapHolder_T;
00036 
00038   typedef std::map<const ClassCode_T, BookingClassID_T> ClassObjectIDMap_T;
00039 
00041   typedef std::list<ClassObjectIDMap_T> ClassObjectIDMapHolder_T;
00042   
00044   typedef std::map<const ClassCode_T, YieldValue_T> ClassYieldMap_T;
00045 
00047   typedef std::list<ClassYieldMap_T> ClassYieldMapHolder_T;
00048 
00050   typedef std::list<BidPriceVector_T> BidPriceVectorHolder_T;
00051 
00053   typedef std::map<const ClassCode_T, const BidPriceVector_T*> ClassBpvMap_T;
00054 
00056   typedef std::list<ClassBpvMap_T> ClassBpvMapHolder_T;
00057 }
00058 #endif // __STDAIR_BOM_TRAVELSOLUTIONTYPES_HPP
00059