AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GuillotineBlockHelper.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_BOM_GUILLOTINEBLOCKHELPER_HPP
2 #define __AIRINV_BOM_GUILLOTINEBLOCKHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
10 #include <stdair/stdair_basic_types.hpp>
11 
12 // Forward declarations
13 namespace stdair {
14  class GuillotineBlock;
15  class SegmentCabin;
16 }
17 
18 namespace AIRINV {
19 
23  public:
24  // ////////// Business Methods /////////
26  static void takeSnapshots (stdair::GuillotineBlock&,
27  const stdair::DateTime_T&);
28  private:
29  // ////////// Helpers for business methods. //////////
31  static void takeSnapshots (stdair::GuillotineBlock&, const stdair::DTD_T&,
32  const stdair::SegmentCabin&,
33  const stdair::BlockNumber_T);
34 
36  static void registerProductAndPriceOrientedBookings
37  (stdair::GuillotineBlock&, const stdair::DTD_T&,
38  const stdair::SegmentCabin&, const stdair::BlockNumber_T);
39 
41  static double getFRAT5Coefficient (const stdair::DTD_T&);
42  };
43 
44 }
45 #endif // __AIRINV_BOM_GUILLOTINEBLOCKHELPER_HPP