$treeview $search $mathjax
00001 #ifndef __AIRINV_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP 00002 #define __AIRINV_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // StdAir 00010 #include <stdair/stdair_basic_types.hpp> 00011 00012 // Forward declarations 00013 namespace stdair { 00014 class SegmentSnapshotTable; 00015 class SegmentCabin; 00016 } 00017 00018 namespace AIRINV { 00019 00022 class SegmentSnapshotTableHelper { 00023 public: 00024 // ////////// Business Methods ///////// 00026 static void takeSnapshots (stdair::SegmentSnapshotTable&, 00027 const stdair::DateTime_T&); 00028 private: 00029 // ////////// Helpers for business methods. ////////// 00031 static void takeSnapshots (stdair::SegmentSnapshotTable&, 00032 const stdair::DTD_T&, 00033 const stdair::SegmentCabin&, 00034 const stdair::SegmentDataID_T); 00035 00037 static void registerProductAndPriceOrientedBookings 00038 (stdair::SegmentSnapshotTable&, const stdair::DTD_T&, 00039 const stdair::SegmentCabin&, const stdair::SegmentDataID_T); 00040 }; 00041 00042 } 00043 #endif // __AIRINV_BOM_SEGMENTSNAPSHOTTABLEHELPER_HPP