StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
CmdBomManager.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_CMD_CMDBOMMANAGER_HPP
2 #define __STDAIR_CMD_CMDBOMMANAGER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 // StdAir
14 
15 namespace stdair {
16 
18  class BomRoot;
19  struct BookingRequestStruct;
20 
25  class CmdBomManager : public CmdAbstract {
26  //
27  friend class STDAIR_Service;
28  private:
29 
30  // //////////////// BOM initialisation support methods /////////////////
42  static void buildSampleBom (BomRoot&);
43 
55  static void buildSampleInventorySchedule (BomRoot&);
56 
67  static void buildSampleInventoryScheduleForFareFamilies (BomRoot&);
68 
82  static void buildCompleteDummyInventory (BomRoot&);
83 
97  static void buildCompleteDummyInventoryForFareFamilies (BomRoot&);
98 
99 
117  static void buildDummyInventory (BomRoot&, const CabinCapacity_T&);
118 
131  static void buildDummyLegSegmentAccesses (BomRoot&);
132 
140  static void buildSamplePricing (BomRoot&);
141 
150  static void buildSamplePricingForFareFamilies (BomRoot&);
151 
166  static void buildSampleTravelSolutionForPricing (TravelSolutionList_T&);
167 
185  static void buildSampleTravelSolutions (TravelSolutionList_T&);
186 
203  static BookingRequestStruct buildSampleBookingRequest();
204 
221  static BookingRequestStruct buildSampleBookingRequestForCRS();
222 
233  static void buildPartnershipsSampleInventoryAndRM (BomRoot&);
234 
242  static void buildPartnershipsSamplePricing (BomRoot&);
243 
244  };
245 }
246 #endif // ___STDAIR_CMD_CMDBOMMANAGER_HPP
Handle on the StdAir library context.
std::list< TravelSolutionStruct > TravelSolutionList_T
Class representing the actual attributes for the Bom root.
Definition: BomRoot.hpp:32
Structure holding the elements of a booking request.
Interface for the STDAIR Services.