AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::SegmentCabinHelper Class Reference

Class representing the actual business functions for an airline segment-cabin. More...

#include <airinv/bom/SegmentCabinHelper.hpp>

List of all members.

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 &)
static void initYieldBasedNestingStructure (stdair::SegmentCabin &)
static void initListOfUsablePolicies (stdair::SegmentCabin &)

Detailed Description

Class representing the actual business functions for an airline segment-cabin.

Definition at line 25 of file SegmentCabinHelper.hpp.


Member Function Documentation

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 64 of file SegmentCabinHelper.cpp.

References AIRINV::FlightDateHelper::updateAvailability().

void AIRINV::SegmentCabinHelper::buildPseudoBidPriceVector ( stdair::SegmentCabin &  ioSegmentCabin)
static

Build the pseudo bid price vector from the vectors of the leg-cabins.

Definition at line 77 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 128 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 186 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 240 of file SegmentCabinHelper.cpp.

Referenced by AIRINV::FlightDateHelper::recalculateAvailability(), and AIRINV::SegmentSnapshotTableHelper::takeSnapshots().

void AIRINV::SegmentCabinHelper::initialiseAU ( stdair::SegmentCabin &  iSegmentCabin)
static

Initialise the AU for the booking classes.

Definition at line 28 of file SegmentCabinHelper.cpp.

Referenced by AIRINV::SegmentDateHelper::fillFromRouting().

void AIRINV::SegmentCabinHelper::initYieldBasedNestingStructure ( stdair::SegmentCabin &  ioSegmentCabin)
static

Yield-based nesting structure initialisation.

Definition at line 333 of file SegmentCabinHelper.cpp.

Referenced by AIRINV::InventoryManager::initialiseYieldBasedNestingStructures().

void AIRINV::SegmentCabinHelper::initListOfUsablePolicies ( stdair::SegmentCabin &  ioSegmentCabin)
static

List of usable policies initialisation.

Definition at line 385 of file SegmentCabinHelper.cpp.

Referenced by AIRINV::InventoryManager::initialiseListsOfUsablePolicies().


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