#include <stdair/bom/OptimisationNotificationStruct.hpp>
Public Member Functions | |
const AirportCode_T & | getOrigin () const |
const AirportCode_T & | getDestination () const |
const CityCode_T & | getPOS () const |
const Date_T & | getPreferedDepartureDate () const |
const DateTime_T & | getNotificationDateTime () const |
const CabinCode_T & | getPreferredCabin () const |
const NbOfSeats_T & | getPartySize () const |
const ChannelLabel_T & | getOptimisationChannel () const |
const TripType_T & | getTripType () const |
const DayDuration_T & | getStayDuration () const |
const FrequentFlyer_T & | getFrequentFlyerType () const |
const Duration_T & | getPreferredDepartureTime () const |
const WTP_T & | getWTP () const |
const PriceValue_T & | getValueOfTime () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | describe () const |
OptimisationNotificationStruct (const AirportCode_T &iOrigin, const AirportCode_T &iDestination, const CityCode_T &iPOS, const Date_T &iDepartureDate, const DateTime_T &iNotificationDateTime, const CabinCode_T &iPreferredCabin, const NbOfSeats_T &iPartySize, const ChannelLabel_T &iChannel, const TripType_T &iTripType, const DayDuration_T &iStayDuration, const FrequentFlyer_T &iFrequentFlyerType, const Duration_T &iPreferredDepartureTime, const WTP_T &iWTP, const PriceValue_T &iValueOfTime) | |
OptimisationNotificationStruct (const OptimisationNotificationStruct &) | |
~OptimisationNotificationStruct () | |
Structure holding the elements of a optimisation notification.
Definition at line 19 of file OptimisationNotificationStruct.hpp.
stdair::OptimisationNotificationStruct::OptimisationNotificationStruct | ( | const AirportCode_T & | iOrigin, |
const AirportCode_T & | iDestination, | ||
const CityCode_T & | iPOS, | ||
const Date_T & | iDepartureDate, | ||
const DateTime_T & | iNotificationDateTime, | ||
const CabinCode_T & | iPreferredCabin, | ||
const NbOfSeats_T & | iPartySize, | ||
const ChannelLabel_T & | iChannel, | ||
const TripType_T & | iTripType, | ||
const DayDuration_T & | iStayDuration, | ||
const FrequentFlyer_T & | iFrequentFlyerType, | ||
const Duration_T & | iPreferredDepartureTime, | ||
const WTP_T & | iWTP, | ||
const PriceValue_T & | iValueOfTime | ||
) |
Constructor.
Definition at line 39 of file OptimisationNotificationStruct.cpp.
stdair::OptimisationNotificationStruct::OptimisationNotificationStruct | ( | const OptimisationNotificationStruct & | iOptimisationNotification | ) |
Copy constructor.
Definition at line 20 of file OptimisationNotificationStruct.cpp.
stdair::OptimisationNotificationStruct::~OptimisationNotificationStruct | ( | ) |
Destructor.
Definition at line 64 of file OptimisationNotificationStruct.cpp.
|
inline |
Get the notificationed origin.
Definition at line 23 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the notificationed destination.
Definition at line 28 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the point-of-sale.
Definition at line 33 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the notificationed departure date.
Definition at line 38 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the notification datetime.
Definition at line 43 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the preferred cabin.
Definition at line 48 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the party size.
Definition at line 53 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the reservation channel.
Definition at line 58 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the trip type.
Definition at line 63 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the duration of stay.
Definition at line 68 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the frequent flyer type.
Definition at line 73 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the preferred departure time.
Definition at line 78 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the willingness-to-pay.
Definition at line 83 of file OptimisationNotificationStruct.hpp.
|
inline |
Get the value of time.
Definition at line 88 of file OptimisationNotificationStruct.hpp.
void stdair::OptimisationNotificationStruct::toStream | ( | std::ostream & | ioOut | ) | const |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Definition at line 68 of file OptimisationNotificationStruct.cpp.
References describe().
|
virtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Reimplemented from stdair::StructAbstract.
Definition at line 73 of file OptimisationNotificationStruct.cpp.
|
virtual |
Display of the structure.
Implements stdair::StructAbstract.
Definition at line 77 of file OptimisationNotificationStruct.cpp.
Referenced by toStream().