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::FlightDateHelper Class Reference

#include <airinv/bom/FlightDateHelper.hpp>

List of all members.

Static Public Member Functions

static void fillFromRouting (const stdair::FlightDate &)
static void updateAvailability (const stdair::FlightDate &, const stdair::SegmentCabin &, const stdair::PartySize_T &iNbOfBookings)
static void updateAvailabilityPool (const stdair::FlightDate &, const stdair::CabinCode_T &)
static void recalculateAvailability (const stdair::FlightDate &, const stdair::CabinCode_T &)
static void updateBookingControls (stdair::FlightDate &)
static void recalculateAvailability (const stdair::FlightDate &)

Detailed Description

Class representing the actual business functions for an airline flight-date.

Definition at line 19 of file FlightDateHelper.hpp.


Member Function Documentation

void AIRINV::FlightDateHelper::fillFromRouting ( const stdair::FlightDate &  iFlightDate)
static

Fill the attributes derived from the routing legs (e.g., board and off dates).

Definition at line 51 of file FlightDateHelper.cpp.

void AIRINV::FlightDateHelper::updateAvailability ( const stdair::FlightDate &  iFlightDate,
const stdair::SegmentCabin &  iSegmentCabin,
const stdair::PartySize_T &  iNbOfBookings 
)
static

Update the availability of all classes after a reservation.

Definition at line 67 of file FlightDateHelper.cpp.

References recalculateAvailability(), and updateAvailabilityPool().

Referenced by AIRINV::SegmentCabinHelper::updateFromReservation().

void AIRINV::FlightDateHelper::updateAvailabilityPool ( const stdair::FlightDate &  iFlightDate,
const stdair::CabinCode_T &  iCabinCode 
)
static

Update the availability pool of all the segment-cabins after a reservation.

Definition at line 92 of file FlightDateHelper.cpp.

Referenced by updateAvailability().

void AIRINV::FlightDateHelper::recalculateAvailability ( const stdair::FlightDate &  iFlightDate,
const stdair::CabinCode_T &  iCabinCode 
)
static

Recalculate the availability of all the segment-cabins after a reservation.

Definition at line 127 of file FlightDateHelper.cpp.

References AIRINV::SegmentCabinHelper::updateAvailabilities().

Referenced by updateAvailability().

void AIRINV::FlightDateHelper::updateBookingControls ( stdair::FlightDate &  ioFlightDate)
static
void AIRINV::FlightDateHelper::recalculateAvailability ( const stdair::FlightDate &  iFlightDate)
static

Recalculate the availability of all the segment-cabins after an optimisation.

Definition at line 145 of file FlightDateHelper.cpp.

References AIRINV::SegmentCabinHelper::updateAvailabilities().


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