#include <stdair/bom/OptimisationNotificationStruct.hpp>
Structure holding the elements of a optimisation notification.
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.
const AirportCode_T& stdair::OptimisationNotificationStruct::getOrigin | ( | ) | const [inline] |
Get the notificationed origin.
Definition at line 23 of file OptimisationNotificationStruct.hpp.
const AirportCode_T& stdair::OptimisationNotificationStruct::getDestination | ( | ) | const [inline] |
Get the notificationed destination.
Definition at line 28 of file OptimisationNotificationStruct.hpp.
const CityCode_T& stdair::OptimisationNotificationStruct::getPOS | ( | ) | const [inline] |
Get the point-of-sale.
Definition at line 33 of file OptimisationNotificationStruct.hpp.
const Date_T& stdair::OptimisationNotificationStruct::getPreferedDepartureDate | ( | ) | const [inline] |
Get the notificationed departure date.
Definition at line 38 of file OptimisationNotificationStruct.hpp.
const DateTime_T& stdair::OptimisationNotificationStruct::getNotificationDateTime | ( | ) | const [inline] |
Get the notification datetime.
Definition at line 43 of file OptimisationNotificationStruct.hpp.
const CabinCode_T& stdair::OptimisationNotificationStruct::getPreferredCabin | ( | ) | const [inline] |
Get the preferred cabin.
Definition at line 48 of file OptimisationNotificationStruct.hpp.
const NbOfSeats_T& stdair::OptimisationNotificationStruct::getPartySize | ( | ) | const [inline] |
Get the party size.
Definition at line 53 of file OptimisationNotificationStruct.hpp.
const ChannelLabel_T& stdair::OptimisationNotificationStruct::getOptimisationChannel | ( | ) | const [inline] |
Get the reservation channel.
Definition at line 58 of file OptimisationNotificationStruct.hpp.
const TripType_T& stdair::OptimisationNotificationStruct::getTripType | ( | ) | const [inline] |
Get the trip type.
Definition at line 63 of file OptimisationNotificationStruct.hpp.
const DayDuration_T& stdair::OptimisationNotificationStruct::getStayDuration | ( | ) | const [inline] |
Get the duration of stay.
Definition at line 68 of file OptimisationNotificationStruct.hpp.
const FrequentFlyer_T& stdair::OptimisationNotificationStruct::getFrequentFlyerType | ( | ) | const [inline] |
Get the frequent flyer type.
Definition at line 73 of file OptimisationNotificationStruct.hpp.
const Duration_T& stdair::OptimisationNotificationStruct::getPreferredDepartureTime | ( | ) | const [inline] |
Get the preferred departure time.
Definition at line 78 of file OptimisationNotificationStruct.hpp.
const WTP_T& stdair::OptimisationNotificationStruct::getWTP | ( | ) | const [inline] |
Get the willingness-to-pay.
Definition at line 83 of file OptimisationNotificationStruct.hpp.
const PriceValue_T& stdair::OptimisationNotificationStruct::getValueOfTime | ( | ) | const [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. |
Reimplemented from stdair::StructAbstract.
Definition at line 68 of file OptimisationNotificationStruct.cpp.
References describe().
void stdair::OptimisationNotificationStruct::fromStream | ( | std::istream & | ioIn | ) | [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.
const std::string stdair::OptimisationNotificationStruct::describe | ( | ) | const [virtual] |
Display of the structure.
Implements stdair::StructAbstract.
Definition at line 77 of file OptimisationNotificationStruct.cpp.
Referenced by toStream().