1 #ifndef __AIRINV_SVC_AIRINV_MASTER_SERVICE_HPP
2 #define __AIRINV_SVC_AIRINV_MASTER_SERVICE_HPP
10 #include <stdair/stdair_basic_types.hpp>
11 #include <stdair/stdair_file.hpp>
12 #include <stdair/stdair_service_types.hpp>
13 #include <stdair/stdair_inventory_types.hpp>
14 #include <stdair/stdair_maths_types.hpp>
15 #include <stdair/bom/BomIDTypes.hpp>
17 #include <airrac/AIRRAC_Types.hpp>
19 #include <sevmgr/SEVMGR_Types.hpp>
27 class AirlineFeatureSet;
33 struct SnapshotStruct;
35 struct TravelSolutionStruct;
66 const stdair::BasDBParams&);
115 SEVMGR::SEVMGR_ServicePtr_T);
140 const stdair::ODFilePath&,
141 const stdair::FRAT5FilePath&,
142 const stdair::FFDisutilityFilePath&,
143 const AIRRAC::YieldFilePath&);
192 bool sell (
const std::string& iSegmentDateKey,
const stdair::ClassCode_T&,
193 const stdair::PartySize_T&);
202 bool sell (
const stdair::BookingClassID_T&,
const stdair::PartySize_T&);
213 bool cancel (
const std::string& iSegmentDateKey,
const stdair::ClassCode_T&,
214 const stdair::PartySize_T&);
223 bool cancel (
const stdair::BookingClassID_T&,
const stdair::PartySize_T&);
233 void optimise (
const stdair::RMEventStruct&);
248 std::string
jsonHandler (
const stdair::JSONString&)
const;
263 const stdair::FlightNumber_T& iFlightNumber = 0)
const;
276 const stdair::FlightNumber_T&,
277 const stdair::Date_T& iDepartureDate)
const;
295 std::string
list (
const stdair::AirlineCode_T& iAirlineCode =
"all",
296 const stdair::FlightNumber_T& iFlightNumber = 0)
const;
307 bool check (
const stdair::AirlineCode_T&,
const stdair::FlightNumber_T&,
308 const stdair::Date_T& iDepartureDate)
const;
330 std::string
csvDisplay (
const stdair::AirlineCode_T&,
331 const stdair::FlightNumber_T&,
332 const stdair::Date_T& iDepartureDate)
const;
356 stdair::STDAIR_ServicePtr_T initStdAirService (
const stdair::BasLogParams&,
357 const stdair::BasDBParams&);
367 stdair::STDAIR_ServicePtr_T initStdAirService (
const stdair::BasLogParams&);
377 void addStdAirService (stdair::STDAIR_ServicePtr_T,
378 const bool iOwnStdairService);
385 void addSEVMGRService (SEVMGR::SEVMGR_ServicePtr_T ioSEVMGR_ServicePtr,
386 const bool iOwnSEVMGRService);
393 void initServiceContext();
401 void initSlaveAirinvService();
417 #endif // __AIRINV_SVC_AIRINV_MASTER_SERVICE_HPP