RMOL Logo  0.25.3
C++ library of Revenue Management and Optimisation classes and functions
GuillotineBlockHelper.hpp
Go to the documentation of this file.
00001 #ifndef __RMOL_BOM_GUILLOTINEBLOCKHELPER_HPP
00002 #define __RMOL_BOM_GUILLOTINEBLOCKHELPER_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 // StdAir
00010 #include <stdair/stdair_inventory_types.hpp>
00011 #include <stdair/stdair_date_time_types.hpp>
00012 
00013 // Forward declarations
00014 namespace stdair {
00015   class GuillotineBlock;
00016   class SegmentCabin;
00017 }
00018 
00019 namespace RMOL {
00020   
00023   class GuillotineBlockHelper {
00024   public:
00025     // ////////// Business Methods /////////
00030     static stdair::NbOfSegments_T getNbOfSegmentAlreadyPassedThisDTD (const stdair::GuillotineBlock&, const stdair::DTD_T&, const stdair::Date_T&);
00031 
00035     static bool hasPassedThisDTD (const stdair::SegmentCabin&,
00036                                   const stdair::DTD_T&, const stdair::Date_T&);
00037   };
00038 
00039 }
00040 #endif // __RMOL_BOM_GUILLOTINEBLOCKHELPER_HPP