1 #ifndef __TRAVELCCM_SVC_TRAVELCCM_SERVICE_HPP 2 #define __TRAVELCCM_SVC_TRAVELCCM_SERVICE_HPP 8 #include <stdair/basic/PassengerChoiceModel.hpp> 9 #include <stdair/stdair_basic_types.hpp> 10 #include <stdair/stdair_service_types.hpp> 11 #include <stdair/bom/TravelSolutionTypes.hpp> 21 struct BookingRequestStruct;
27 class TRAVELCCM_ServiceContext;
94 void buildSampleBom();
99 void clonePersistentBom ();
105 void buildComplementaryLinks (stdair::BomRoot&);
125 void buildSampleTravelSolutions (stdair::TravelSolutionList_T&);
155 stdair::BookingRequestStruct
156 buildSampleBookingRequest (
const bool isForCRS =
false);
172 const stdair::TravelSolutionStruct*
173 chooseTravelSolution (stdair::TravelSolutionList_T&,
174 const stdair::BookingRequestStruct&,
175 const stdair::PassengerChoiceModel::EN_PassengerChoiceModel& iPassengerChoiceModel =
176 stdair::PassengerChoiceModel::PRICE_ORIENTED);
188 std::string csvDisplay()
const;
197 std::string csvDisplay (
const stdair::TravelSolutionList_T&)
const;
220 stdair::STDAIR_ServicePtr_T initStdAirService (
const stdair::BasLogParams&,
221 const stdair::BasDBParams&);
231 stdair::STDAIR_ServicePtr_T initStdAirService (
const stdair::BasLogParams&);
241 void addStdAirService (stdair::STDAIR_ServicePtr_T ioSTDAIR_ServicePtr,
242 const bool iOwnStdairService);
248 void initServiceContext();
256 void initTravelCCMService();
271 #endif // __TRAVELCCM_SVC_TRAVELCCM_SERVICE_HPP Inner class holding the context for the TravelCCM Service object.