#include <rmol/bom/GuillotineBlockHelper.hpp>
Static Public Member Functions | |
static stdair::NbOfSegments_T | getNbOfSegmentAlreadyPassedThisDTD (const stdair::GuillotineBlock &, 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.
stdair::NbOfSegments_T RMOL::GuillotineBlockHelper::getNbOfSegmentAlreadyPassedThisDTD | ( | const stdair::GuillotineBlock & | 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 GuillotineBlockHelper.cpp.
References hasPassedThisDTD().
Referenced by RMOL::Utilities::getNbOfDepartedSimilarSegments(), RMOL::Detruncator::unconstrainUsingAdditivePickUp(), and RMOL::Detruncator::unconstrainUsingMultiplicativePickUp().
bool RMOL::GuillotineBlockHelper::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 GuillotineBlockHelper.cpp.
Referenced by getNbOfSegmentAlreadyPassedThisDTD().