RMOL Logo  0.25.3
C++ library of Revenue Management and Optimisation classes and functions
RMOL::GuillotineBlockHelper Class Reference

#include <rmol/bom/GuillotineBlockHelper.hpp>

List of all members.

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 &)

Detailed Description

Class representing the actual business functions for an airline guillotine block.

Definition at line 23 of file GuillotineBlockHelper.hpp.


Member Function Documentation

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().


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