AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SegmentCabinHelper.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_BOM_SEGMENTCABINHELPER_HPP
2 #define __AIRINV_BOM_SEGMENTCABINHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // StdAir
8 #include <stdair/stdair_basic_types.hpp>
9 
10 // Forward declarations
11 namespace stdair {
12  class FlightDate;
13  class SegmentCabin;
14  class FareFamily;
15 }
16 
17 namespace AIRINV {
18 
24  public:
25  // ////////// Business Methods /////////
29  static void updateFromReservation (const stdair::FlightDate&,
30  stdair::SegmentCabin&,
31  const stdair::PartySize_T&);
32 
36  static void buildPseudoBidPriceVector (stdair::SegmentCabin&);
37 
41  static void updateBookingControlsUsingPseudoBidPriceVector (const stdair::SegmentCabin&);
42 
45  static void updateAUs (const stdair::SegmentCabin&);
46 
49  static void updateAvailabilities (const stdair::SegmentCabin&);
50 
54  static void initialiseAU (stdair::SegmentCabin&);
55  };
56 
57 }
58 #endif // __AIRINV_BOM_SEGMENTCABINHELPER_HPP