AirInv Logo  1.00.8
C++ Simulated Airline Inventory Management System Library
Loading...
Searching...
No Matches
AIRINV::SegmentCabinHelper Class Reference

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

◆ updateFromReservation()

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

References AIRINV::FlightDateHelper::updateAvailability().

◆ buildPseudoBidPriceVector()

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

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

Definition at line 76 of file SegmentCabinHelper.cpp.

Referenced by AIRINV::FlightDateHelper::updateBookingControls().

◆ updateBookingControlsUsingPseudoBidPriceVector()

void AIRINV::SegmentCabinHelper::updateBookingControlsUsingPseudoBidPriceVector ( const stdair::SegmentCabin &  iSegmentCabin)
static

Update the booking controls using the pseudo bid price vector.

Definition at line 127 of file SegmentCabinHelper.cpp.

References updateAUs().

Referenced by AIRINV::FlightDateHelper::updateBookingControls().

◆ updateAUs()

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

◆ updateAvailabilities()

void AIRINV::SegmentCabinHelper::updateAvailabilities ( const stdair::SegmentCabin &  iSegmentCabin)
static

◆ initialiseAU()

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

◆ initYieldBasedNestingStructure()

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

Yield-based nesting structure initialisation.

Definition at line 332 of file SegmentCabinHelper.cpp.

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

◆ initListOfUsablePolicies()

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

List of usable policies initialisation.

Definition at line 384 of file SegmentCabinHelper.cpp.

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


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