StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

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.


Member Function Documentation

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.

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: