$treeview $search $mathjax
00001 #ifndef __AIRINV_BOM_FLIGHTDATEHELPER_HPP 00002 #define __AIRINV_BOM_FLIGHTDATEHELPER_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 } 00014 00015 namespace AIRINV { 00016 00019 class FlightDateHelper { 00020 public: 00021 // ////////// Business Methods ///////// 00024 static void fillFromRouting (const stdair::FlightDate&); 00025 00027 static void updateAvailability (const stdair::FlightDate&, 00028 const stdair::SegmentCabin&, 00029 const stdair::PartySize_T& iNbOfBookings); 00030 00033 static void updateAvailabilityPool (const stdair::FlightDate&, 00034 const stdair::CabinCode_T&); 00035 00038 static void recalculateAvailability (const stdair::FlightDate&, 00039 const stdair::CabinCode_T&); 00040 00042 static void updateBookingControls (stdair::FlightDate&); 00043 00046 static void recalculateAvailability (const stdair::FlightDate&); 00047 }; 00048 00049 } 00050 #endif // __AIRINV_BOM_FLIGHTDATEHELPER_HPP