AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SegmentSnapshotTableHelper.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP
2 #define __AIRINV_BOM_SEGMENTSNAPSHOTTABLEHELPER_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 SegmentSnapshotTable;
15  class SegmentCabin;
16 }
17 
18 namespace AIRINV {
19 
23  public:
24  // ////////// Business Methods /////////
26  static void takeSnapshots (stdair::SegmentSnapshotTable&,
27  const stdair::DateTime_T&);
28  private:
29  // ////////// Helpers for business methods. //////////
31  static void takeSnapshots (stdair::SegmentSnapshotTable&,
32  const stdair::DTD_T&,
33  const stdair::SegmentCabin&,
34  const stdair::SegmentDataID_T);
35 
37  static void registerProductAndPriceOrientedBookings
38  (stdair::SegmentSnapshotTable&, const stdair::DTD_T&,
39  const stdair::SegmentCabin&, const stdair::SegmentDataID_T);
40  };
41 
42 }
43 #endif // __AIRINV_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP