Class representing the actual business functions for an airline segment-cabin. More...
#include <airinv/bom/SegmentCabinHelper.hpp>
Static Public Member Functions | |
static void | updateFromReservation (const stdair::FlightDate &, stdair::SegmentCabin &, const stdair::PartySize_T &) |
static void | buildPseudoBidPriceVector (stdair::SegmentCabin &) |
static void | updateBookingControlsUsingPseudoBidPriceVector (const stdair::SegmentCabin &) |
static void | updateAUs (const stdair::SegmentCabin &) |
static void | updateAvailabilities (const stdair::SegmentCabin &) |
static void | initialiseAU (stdair::SegmentCabin &) |
Class representing the actual business functions for an airline segment-cabin.
void AIRINV::SegmentCabinHelper::updateFromReservation | ( | const stdair::FlightDate & | iFlightDate, |
stdair::SegmentCabin & | ioSegmentCabin, | ||
const stdair::PartySize_T & | iNbOfBookings | ||
) | [static] |
Update the segment-cabin with the reservation.
Definition at line 57 of file SegmentCabinHelper.cpp.
References AIRINV::FlightDateHelper::updateAvailablityPool().
Referenced by AIRINV::InventoryHelper::sell(), and AIRINV::InventoryHelper::cancel().
void AIRINV::SegmentCabinHelper::buildPseudoBidPriceVector | ( | stdair::SegmentCabin & | ioSegmentCabin | ) | [static] |
Build the pseudo bid price vector from the vectors of the leg-cabins.
Definition at line 82 of file SegmentCabinHelper.cpp.
Referenced by AIRINV::FlightDateHelper::updateBookingControls().
void AIRINV::SegmentCabinHelper::updateBookingControlsUsingPseudoBidPriceVector | ( | const stdair::SegmentCabin & | iSegmentCabin | ) | [static] |
Update the booking controls using the pseudo bid price vector.
Definition at line 126 of file SegmentCabinHelper.cpp.
References updateAUs().
Referenced by AIRINV::FlightDateHelper::updateBookingControls().
void AIRINV::SegmentCabinHelper::updateAUs | ( | const stdair::SegmentCabin & | iSegmentCabin | ) | [static] |
Update the authorisation levels using the booking limits.
Definition at line 158 of file SegmentCabinHelper.cpp.
Referenced by updateBookingControlsUsingPseudoBidPriceVector().
void AIRINV::SegmentCabinHelper::updateAvailabilities | ( | const stdair::SegmentCabin & | iSegmentCabin | ) | [static] |
Update the availability of the booking classes.
Definition at line 190 of file SegmentCabinHelper.cpp.
Referenced by AIRINV::GuillotineBlockHelper::takeSnapshots(), and AIRINV::InventoryHelper::calculateAvailability().
void AIRINV::SegmentCabinHelper::initialiseAU | ( | stdair::SegmentCabin & | iSegmentCabin | ) | [static] |
Initialise the AU for the booking classes.
Definition at line 21 of file SegmentCabinHelper.cpp.
Referenced by AIRINV::SegmentDateHelper::fillFromRouting().