RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
SegmentSnapshotTableHelper.hpp
Go to the documentation of this file.
1 #ifndef __RMOL_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP
2 #define __RMOL_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
10 #include <stdair/stdair_inventory_types.hpp>
11 #include <stdair/stdair_date_time_types.hpp>
12 
13 // Forward declarations
14 namespace stdair {
15  class SegmentSnapshotTable;
16  class SegmentCabin;
17 }
18 
19 namespace RMOL {
20 
24  public:
25  // ////////// Business Methods /////////
30  static stdair::NbOfSegments_T getNbOfSegmentAlreadyPassedThisDTD (const stdair::SegmentSnapshotTable&, const stdair::DTD_T&, const stdair::Date_T&);
31 
35  static bool hasPassedThisDTD (const stdair::SegmentCabin&,
36  const stdair::DTD_T&, const stdair::Date_T&);
37  };
38 
39 }
40 #endif // __RMOL_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP