1 #ifndef __AIRTSP_SVC_AIRTSP_SERVICE_HPP 2 #define __AIRTSP_SVC_AIRTSP_SERVICE_HPP 8 #include <stdair/stdair_basic_types.hpp> 9 #include <stdair/stdair_service_types.hpp> 10 #include <stdair/stdair_file.hpp> 11 #include <stdair/bom/TravelSolutionTypes.hpp> 19 struct BookingRequestStruct;
20 struct TravelSolutionStruct;
50 AIRTSP_Service (
const stdair::BasLogParams&,
const stdair::BasDBParams&);
90 void parseAndLoad (
const stdair::ScheduleFilePath&);
101 void parseAndLoad (
const stdair::ScheduleFilePath&,
102 const stdair::ODFilePath&);
119 void buildSampleBom();
124 void clonePersistentBom ();
129 void buildComplementaryLinks (stdair::BomRoot&);
135 void buildSegmentPathList (stdair::TravelSolutionList_T&,
136 const stdair::BookingRequestStruct&);
159 std::string jsonExportFlightDateObjects (
const stdair::AirlineCode_T&,
160 const stdair::FlightNumber_T&,
161 const stdair::Date_T& iDepartureDate)
const;
173 std::string csvDisplay()
const;
188 std::string csvDisplay (
const stdair::AirlineCode_T&,
189 const stdair::FlightNumber_T&,
190 const stdair::Date_T& iDepartureDate)
const;
214 stdair::STDAIR_ServicePtr_T initStdAirService (
const stdair::BasLogParams&,
215 const stdair::BasDBParams&);
225 stdair::STDAIR_ServicePtr_T initStdAirService (
const stdair::BasLogParams&);
235 void addStdAirService (stdair::STDAIR_ServicePtr_T,
236 const bool iOwnStdairService);
242 void initServiceContext();
250 void initAirtspService();
266 #endif // __AIRTSP_SVC_AIRTSP_SERVICE_HPP Interface for the Airtsp Services.
Class holding the context of the Airtsp services.