$treeview $search $mathjax
#include <rmol/bom/SegmentSnapshotTableHelper.hpp>
Static Public Member Functions | |
static stdair::NbOfSegments_T | getNbOfSegmentAlreadyPassedThisDTD (const stdair::SegmentSnapshotTable &, const stdair::DTD_T &, const stdair::Date_T &) |
static bool | hasPassedThisDTD (const stdair::SegmentCabin &, const stdair::DTD_T &, const stdair::Date_T &) |
Class representing the actual business functions for an airline guillotine block.
Definition at line 23 of file SegmentSnapshotTableHelper.hpp.
stdair::NbOfSegments_T RMOL::SegmentSnapshotTableHelper::getNbOfSegmentAlreadyPassedThisDTD | ( | const stdair::SegmentSnapshotTable & | iGB, | |
const stdair::DTD_T & | iDTD, | |||
const stdair::Date_T & | iCurrentDate | |||
) | [static] |
Retrieve the number of similar segments which already passed the given DTD.
Definition at line 20 of file SegmentSnapshotTableHelper.cpp.
References hasPassedThisDTD().
Referenced by RMOL::QForecasting::forecast(), RMOL::OldQFF::forecast(), RMOL::HybridForecasting::forecast(), RMOL::BasedForecasting::forecast(), and RMOL::Utilities::getNbOfDepartedSimilarSegments().
bool RMOL::SegmentSnapshotTableHelper::hasPassedThisDTD | ( | const stdair::SegmentCabin & | iSegmentCabin, | |
const stdair::DTD_T & | iDTD, | |||
const stdair::Date_T & | iCurrentDate | |||
) | [static] |
Check if the given segment has passed the given DTD.
Definition at line 42 of file SegmentSnapshotTableHelper.cpp.
Referenced by getNbOfSegmentAlreadyPassedThisDTD().