StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
stdair::OptimisationNotificationStruct Struct Reference

#include <stdair/bom/OptimisationNotificationStruct.hpp>

+ Inheritance diagram for stdair::OptimisationNotificationStruct:

List of all members.

Public Member Functions

const AirportCode_TgetOrigin () const
const AirportCode_TgetDestination () const
const CityCode_TgetPOS () const
const Date_TgetPreferedDepartureDate () const
const DateTime_TgetNotificationDateTime () const
const CabinCode_TgetPreferredCabin () const
const NbOfSeats_TgetPartySize () const
const ChannelLabel_TgetOptimisationChannel () const
const TripType_TgetTripType () const
const DayDuration_TgetStayDuration () const
const FrequentFlyer_TgetFrequentFlyerType () const
const Duration_TgetPreferredDepartureTime () const
const WTP_TgetWTP () const
const PriceValue_TgetValueOfTime () 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 ()

Detailed Description

Structure holding the elements of a optimisation notification.

Definition at line 19 of file OptimisationNotificationStruct.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

Get the notificationed origin.

Definition at line 23 of file OptimisationNotificationStruct.hpp.

Get the notificationed destination.

Definition at line 28 of file OptimisationNotificationStruct.hpp.

Get the point-of-sale.

Definition at line 33 of file OptimisationNotificationStruct.hpp.

Get the notificationed departure date.

Definition at line 38 of file OptimisationNotificationStruct.hpp.

Get the notification datetime.

Definition at line 43 of file OptimisationNotificationStruct.hpp.

Get the preferred cabin.

Definition at line 48 of file OptimisationNotificationStruct.hpp.

Get the party size.

Definition at line 53 of file OptimisationNotificationStruct.hpp.

Get the reservation channel.

Definition at line 58 of file OptimisationNotificationStruct.hpp.

Get the trip type.

Definition at line 63 of file OptimisationNotificationStruct.hpp.

Get the duration of stay.

Definition at line 68 of file OptimisationNotificationStruct.hpp.

Get the frequent flyer type.

Definition at line 73 of file OptimisationNotificationStruct.hpp.

Get the preferred departure time.

Definition at line 78 of file OptimisationNotificationStruct.hpp.

Get the willingness-to-pay.

Definition at line 83 of file OptimisationNotificationStruct.hpp.

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.

Parameters:
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.

Parameters:
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().


The documentation for this struct was generated from the following files: