$treeview $search $mathjax
#include <airinv/bom/InventoryHelper.hpp>
Static Public Member Functions | |
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 &) |
Definition at line 23 of file InventoryHelper.hpp.
void AIRINV::InventoryHelper::fillFromRouting | ( | const stdair::Inventory & | ) | [static] |
Fill the attributes derived from the routing legs (e.g., board and off dates).
Definition at line 28 of file InventoryHelper.cpp.
References AIRINV::FlightDateHelper::fillFromRouting().
Referenced by AIRINV::BomRootHelper::fillFromRouting().
void AIRINV::InventoryHelper::calculateAvailability | ( | const stdair::Inventory & | , | |
const std::string & | , | |||
stdair::TravelSolutionStruct & | ||||
) | [static] |
Compute the availability for the given travel solution.
Definition at line 44 of file InventoryHelper.cpp.
void AIRINV::InventoryHelper::getYieldAndBidPrice | ( | const stdair::Inventory & | , | |
const std::string & | , | |||
stdair::TravelSolutionStruct & | ||||
) | [static] |
Get yield and bid price information for the given travel solution.
Definition at line 107 of file InventoryHelper.cpp.
bool AIRINV::InventoryHelper::sell | ( | stdair::Inventory & | , | |
const std::string & | iSegmentDateKey, | |||
const stdair::ClassCode_T & | , | |||
const stdair::PartySize_T & | ||||
) | [static] |
bool AIRINV::InventoryHelper::sell | ( | const stdair::BookingClassID_T & | , | |
const stdair::PartySize_T & | ||||
) | [static] |
bool AIRINV::InventoryHelper::cancel | ( | stdair::Inventory & | , | |
const std::string & | iSegmentDateKey, | |||
const stdair::ClassCode_T & | , | |||
const stdair::PartySize_T & | ||||
) | [static] |
bool AIRINV::InventoryHelper::cancel | ( | const stdair::BookingClassID_T & | , | |
const stdair::PartySize_T & | ||||
) | [static] |
void AIRINV::InventoryHelper::takeSnapshots | ( | const stdair::Inventory & | , | |
const stdair::DateTime_T & | ||||
) | [static] |
Take inventory snapshots.
Definition at line 407 of file InventoryHelper.cpp.
References AIRINV::SegmentSnapshotTableHelper::takeSnapshots().