AirRAC Logo  1.00.0
C++ Simulated Revenue Accounting (RAC) System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
YieldManager.hpp
Go to the documentation of this file.
1 #ifndef __AIRRAC_CMD_YIELDMANAGER_HPP
2 #define __AIRRAC_CMD_YIELDMANAGER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // StdAir
8 #include <stdair/stdair_basic_types.hpp>
9 #include <stdair/bom/TravelSolutionTypes.hpp>
10 
12 namespace stdair {
13  class BomRoot;
14  class SegmentDate;
15  class TimePeriod;
16 }
17 
18 namespace AIRRAC {
19 
23  class YieldManager {
27  friend class AIRRAC_Service;
28 
29  private:
33  static void calculateYield (stdair::TravelSolutionList_T&,
34  const stdair::BomRoot&);
35 
39  static void calculateYield (stdair::TravelSolutionStruct&,
40  const stdair::BomRoot&);
41 
45  static void updateYields (const stdair::BomRoot&);
46  static void updateYields (const stdair::SegmentDate&,
47  const stdair::TimePeriod&,
48  const stdair::AirlineCode_T&);
49 
50  private:
54  YieldManager();
55 
59  YieldManager(const YieldManager&);
60 
64  ~YieldManager();
65  };
66 
67 }
68 #endif // __AIRRAC_CMD_YIELDMANAGER_HPP