$treeview $search $mathjax
StdAir Logo  1.00.2
$projectbrief
$projectbrief
$searchbox

stdair::OptimisationNotificationStruct Struct Reference

#include <stdair/bom/OptimisationNotificationStruct.hpp>

Inheritance diagram for stdair::OptimisationNotificationStruct:

stdair::StructAbstract List of all members.

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 ()

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 &   ) 

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: