1.00.8
C++ Standard Airline IT Object Library
|
|
Go to the documentation of this file.
12 #ifndef __STDAIR_STDAIR_HPP
13 #define __STDAIR_STDAIR_HPP
36 struct ProgressStatusSet;
37 struct BookingRequestStruct;
248 const Date_T& iDepartureDate)
const;
314 const Date_T& iDepartureDate)
const;
329 const Date_T& iDepartureDate)
const;
368 const Date_T& iDepartureDate)
const;
390 const Date_T& iDepartureDate)
const;
455 void initServiceContext();
523 const std::string& iPath);
533 template <
typename ValueType>
551 template <
typename ValueType>
553 const std::string& iPath) {
556 assert (_stdairServiceContext != NULL);
558 *_stdairServiceContext;
562 lSTDAIR_ServiceContext.getConfigHolder();
565 return lConfigHolder.
exportValue <ValueType> (ioValue, iPath);
570 #endif // __STDAIR_STDAIR_HPP
void clonePersistentBom()
Clone the persistent Bom.
void buildSampleTravelSolutions(TravelSolutionList_T &)
BomRoot & getBomRoot() const
Get a reference on the BomRoot object.
void buildDummyInventory(const CabinCapacity_T &iCabinCapacity)
void buildDummyLegSegmentAccesses(BomRoot &)
std::string AirlineCode_T
Structure holding parameters for logging.
bool exportConfigValue(ValueType &ioValue, const std::string &iPath)
void importConfigValue(const std::string &iValue, const std::string &iPath)
bool check(const AirlineCode_T &, const FlightNumber_T &, const Date_T &iDepartureDate) const
std::string jsonExportFlightDateList(const AirlineCode_T &iAirlineCode="all", const FlightNumber_T &iFlightNumber=0) const
Class representing the actual attributes for the Bom root.
std::string jsonExportFlightDateObjects(const AirlineCode_T &, const FlightNumber_T &, const Date_T &iDepartureDate) const
std::string jsonExportEventObject(const EventStruct &) const
void importINIConfig(const ConfigINIFile &)
Import the configuration INI input file (format cfg).
Enumeration of service initialisation types.
LocationCode_T AirportCode_T
std::string listAirportPairDateRange() const
std::string configDisplay() const
std::string jsonExportConfiguration() const
Handle on the StdAir library context.
~STDAIR_Service()
Destructor.
STDAIR_Service()
Default constructor.
Structure holding the elements of a booking request.
bool jsonImportConfiguration(const JSONString &) const
BomRoot & getPersistentBomRoot() const
Get a reference on the BomRoot object.
Interface for the STDAIR Services.
BasLogParams getLogParams() const
bool exportValue(ValueType &ioValue, const std::string &iPath) const
Structure holding the parameters for connection to a database.
std::list< TravelSolutionStruct > TravelSolutionList_T
void updateAirlineFeatures()
Update the airline features objects thanks to the configuration holder.
unsigned short FlightNumber_T
void buildSampleTravelSolutionForPricing(TravelSolutionList_T &)
std::string csvDisplay() const
std::string list(const AirlineCode_T &iAirlineCode="all", const FlightNumber_T &iFlightNumber=0) const
BookingRequestStruct buildSampleBookingRequest(const bool isForCRS=false)
const BasDBParams & getDBParams() const
Class holding the context of the Stdair services.
const ServiceInitialisationType & getServiceInitialisationType() const
boost::gregorian::date Date_T