AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
SegmentCabinHelper.hpp
Go to the documentation of this file.
00001 #ifndef __AIRINV_BOM_SEGMENTCABINHELPER_HPP
00002 #define __AIRINV_BOM_SEGMENTCABINHELPER_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // StdAir
00008 #include <stdair/stdair_basic_types.hpp>
00009 
00010 // Forward declarations
00011 namespace stdair {
00012   class FlightDate;
00013   class SegmentCabin;
00014   class FareFamily;
00015 }
00016 
00017 namespace AIRINV {
00018 
00023   class SegmentCabinHelper {
00024   public:
00025     // ////////// Business Methods /////////
00029     static void updateFromReservation (const stdair::FlightDate&,
00030                                        stdair::SegmentCabin&,
00031                                        const stdair::PartySize_T&);
00032 
00036     static void buildPseudoBidPriceVector (stdair::SegmentCabin&);
00037 
00041     static void updateBookingControlsUsingPseudoBidPriceVector (const stdair::SegmentCabin&);
00042 
00045     static void updateAUs (const stdair::SegmentCabin&);
00046 
00049     static void updateAvailabilities (const stdair::SegmentCabin&);
00050     
00054     static void initialiseAU (stdair::SegmentCabin&);
00055   };
00056 
00057 }
00058 #endif // __AIRINV_BOM_SEGMENTCABINHELPER_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines