StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BomDisplay.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BOM_BOMDISPLAY_HPP
2 #define __STDAIR_BOM_BOMDISPLAY_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 // StdAir
12 
13 namespace stdair {
14 
16  class BomRoot;
17  class EventQueue;
18  class Inventory;
19  class FlightDate;
20  class LegDate;
21  class SegmentDate;
22  class LegCabin;
23  class SegmentCabin;
24  class FareFamily;
25  class BookingClass;
26  class AirportPair;
27  class PosChannel;
28  class DatePeriod;
29  class TimePeriod;
30  class FareFeatures;
31  class YieldFeatures;
32  class AirlineClassList;
33  class OnDDate;
34 
39  class BomDisplay {
40  public:
41  // //////////////// Display support methods /////////////////
50  static std::string csvDisplay (const EventQueue&);
51 
66  static void list (std::ostream&, const BomRoot&,
67  const AirlineCode_T& iAirlineCode = "all",
68  const FlightNumber_T& iFlightNumber = 0);
69 
83  static void list (std::ostream&, const Inventory&,
84  const unsigned short iInventoryIndex = 0,
85  const FlightNumber_T& iFlightNumber = 0);
86 
95  static void listAirportPairDateRange (std::ostream&,
96  const BomRoot&);
97 
106  static void csvDisplay (std::ostream&, const BomRoot&);
107 
116  static void csvDisplay (std::ostream&, const Inventory&);
117 
125  static void csvDisplay (std::ostream&, const OnDDate&);
126 
135  static void csvDisplay (std::ostream&, const FlightDate&);
136 
145  static void csvLegDateDisplay (std::ostream&, const FlightDate&);
146 
155  static void csvSegmentDateDisplay (std::ostream&, const FlightDate&);
156 
165  static void csvLegCabinDisplay (std::ostream&, const FlightDate&);
166 
175  static void csvSegmentCabinDisplay (std::ostream&, const FlightDate&);
176 
185  static void csvFareFamilyDisplay (std::ostream&, const FlightDate&);
186 
195  static void csvBucketDisplay (std::ostream&, const FlightDate&);
196 
206  static void csvBookingClassDisplay (std::ostream&, const BookingClass&,
207  const std::string& iLeadingString);
216  static void csvBookingClassDisplay (std::ostream&, const FlightDate&);
217 
226  static void csvDisplay (std::ostream&, const TravelSolutionList_T&);
227 
236  static void csvDisplay (std::ostream&, const DatePeriodList_T&);
237 
246  static void csvSimFQTAirRACDisplay (std::ostream&, const BomRoot&);
247 
257  static void csvAirportPairDisplay (std::ostream&, const AirportPair&);
258 
268  static void csvDateDisplay (std::ostream&, const DatePeriod&);
269 
279  static void csvPosChannelDisplay (std::ostream&, const PosChannel&);
280 
290  static void csvTimeDisplay (std::ostream&, const TimePeriod&);
291 
300  template <typename FEATURE_TYPE>
301  static void csvFeatureListDisplay (std::ostream& oStream, const TimePeriod&);
302 
311  template <typename FEATURE_TYPE>
312  static void csvFeaturesDisplay (std::ostream& oStream, const FEATURE_TYPE&);
313 
322  static void csvAirlineClassDisplay (std::ostream&, const AirlineClassList&);
323  };
324 
325 }
326 #endif // __STDAIR_BOM_BOMDISPLAY_HPP