RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
RMOL::SegmentSnapshotTableHelper Class Reference

#include <rmol/bom/SegmentSnapshotTableHelper.hpp>

List of all members.

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

Detailed Description

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

Definition at line 23 of file SegmentSnapshotTableHelper.hpp.


Member Function Documentation

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::HybridForecasting::forecast(), RMOL::OldQFF::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().


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