00001 #ifndef __STDAIR_CMD_CMDBOMMANAGER_HPP 00002 #define __STDAIR_CMD_CMDBOMMANAGER_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <iosfwd> 00009 // StdAir 00010 #include <stdair/stdair_inventory_types.hpp> 00011 #include <stdair/basic/SampleType.hpp> 00012 #include <stdair/bom/TravelSolutionTypes.hpp> 00013 #include <stdair/command/CmdAbstract.hpp> 00014 00015 namespace stdair { 00016 00018 class BomRoot; 00019 struct BookingRequestStruct; 00020 00025 class CmdBomManager : public CmdAbstract { 00026 // 00027 friend class STDAIR_Service; 00028 private: 00029 00030 // //////////////// BOM initialisation support methods ///////////////// 00043 static void buildSampleBom (BomRoot&); 00044 00056 static void buildSampleInventorySchedule (BomRoot&); 00057 00070 static void buildDummyInventory (BomRoot&, const CabinCapacity_T&); 00071 00079 static void buildSamplePricing (BomRoot&); 00080 00095 static void buildSampleTravelSolutionForPricing (TravelSolutionList_T&); 00096 00114 static void buildSampleTravelSolutions (TravelSolutionList_T&); 00115 00132 static BookingRequestStruct buildSampleBookingRequest(); 00133 00150 static BookingRequestStruct buildSampleBookingRequestForCRS(); 00151 00162 static void buildPartnershipsSampleInventoryAndRM (BomRoot&); 00163 00171 static void buildPartnershipsSamplePricing (BomRoot&); 00172 00173 }; 00174 } 00175 #endif // ___STDAIR_CMD_CMDBOMMANAGER_HPP