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 00071 static void buildCompleteDummyInventory (BomRoot&); 00072 00090 static void buildDummyInventory (BomRoot&, const CabinCapacity_T&); 00091 00099 static void buildSamplePricing (BomRoot&); 00100 00115 static void buildSampleTravelSolutionForPricing (TravelSolutionList_T&); 00116 00134 static void buildSampleTravelSolutions (TravelSolutionList_T&); 00135 00152 static BookingRequestStruct buildSampleBookingRequest(); 00153 00170 static BookingRequestStruct buildSampleBookingRequestForCRS(); 00171 00182 static void buildPartnershipsSampleInventoryAndRM (BomRoot&); 00183 00191 static void buildPartnershipsSamplePricing (BomRoot&); 00192 00193 }; 00194 } 00195 #endif // ___STDAIR_CMD_CMDBOMMANAGER_HPP