#include <airinv/bom/InventoryHelper.hpp>
|
static void | fillFromRouting (const stdair::Inventory &) |
static void | calculateAvailability (const stdair::Inventory &, const std::string &, stdair::TravelSolutionStruct &) |
static void | getYieldAndBidPrice (const stdair::Inventory &, const std::string &, stdair::TravelSolutionStruct &) |
static bool | sell (stdair::Inventory &, const std::string &iSegmentDateKey, const stdair::ClassCode_T &, const stdair::PartySize_T &) |
static bool | sell (const stdair::BookingClassID_T &, const stdair::PartySize_T &) |
static bool | cancel (stdair::Inventory &, const std::string &iSegmentDateKey, const stdair::ClassCode_T &, const stdair::PartySize_T &) |
static bool | cancel (const stdair::BookingClassID_T &, const stdair::PartySize_T &) |
static void | takeSnapshots (const stdair::Inventory &, const stdair::DateTime_T &) |
Class representing the actual business functions for an airline inventory.
Definition at line 23 of file InventoryHelper.hpp.
◆ fillFromRouting()
void AIRINV::InventoryHelper::fillFromRouting |
( |
const stdair::Inventory & | iInventory | ) |
|
|
static |
◆ calculateAvailability()
void AIRINV::InventoryHelper::calculateAvailability |
( |
const stdair::Inventory & | iInventory, |
|
|
const std::string & | iFullSegmentDateKey, |
|
|
stdair::TravelSolutionStruct & | ioTravelSolution ) |
|
static |
Compute the availability for the given travel solution.
Definition at line 43 of file InventoryHelper.cpp.
◆ getYieldAndBidPrice()
void AIRINV::InventoryHelper::getYieldAndBidPrice |
( |
const stdair::Inventory & | iInventory, |
|
|
const std::string & | iFullSegmentDateKey, |
|
|
stdair::TravelSolutionStruct & | ioTravelSolution ) |
|
static |
Get yield and bid price information for the given travel solution.
Definition at line 106 of file InventoryHelper.cpp.
◆ sell() [1/2]
bool AIRINV::InventoryHelper::sell |
( |
stdair::Inventory & | ioInventory, |
|
|
const std::string & | iSegmentDateKey, |
|
|
const stdair::ClassCode_T & | iClassCode, |
|
|
const stdair::PartySize_T & | iPartySize ) |
|
static |
◆ sell() [2/2]
bool AIRINV::InventoryHelper::sell |
( |
const stdair::BookingClassID_T & | iClassID, |
|
|
const stdair::PartySize_T & | iPartySize ) |
|
static |
◆ cancel() [1/2]
bool AIRINV::InventoryHelper::cancel |
( |
stdair::Inventory & | ioInventory, |
|
|
const std::string & | iSegmentDateKey, |
|
|
const stdair::ClassCode_T & | iClassCode, |
|
|
const stdair::PartySize_T & | iPartySize ) |
|
static |
◆ cancel() [2/2]
bool AIRINV::InventoryHelper::cancel |
( |
const stdair::BookingClassID_T & | iClassID, |
|
|
const stdair::PartySize_T & | iPartySize ) |
|
static |
◆ takeSnapshots()
void AIRINV::InventoryHelper::takeSnapshots |
( |
const stdair::Inventory & | iInventory, |
|
|
const stdair::DateTime_T & | iSnapshotTime ) |
|
static |
The documentation for this class was generated from the following files: