StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 Inventory;
18  class FlightDate;
19  class LegDate;
20  class SegmentDate;
21  class LegCabin;
22  class SegmentCabin;
23  class FareFamily;
24  class BookingClass;
25  class AirportPair;
26  class PosChannel;
27  class DatePeriod;
28  class TimePeriod;
29  class FareFeatures;
30  class YieldFeatures;
31  class AirlineClassList;
32  class OnDDate;
33 
38  class BomDisplay {
39  public:
40  // //////////////// Display support methods /////////////////
41 
56  static void list (std::ostream&, const BomRoot&,
57  const AirlineCode_T& iAirlineCode = "all",
58  const FlightNumber_T& iFlightNumber = 0);
59 
73  static void list (std::ostream&, const Inventory&,
74  const unsigned short iInventoryIndex = 0,
75  const FlightNumber_T& iFlightNumber = 0);
76 
85  static void listAirportPairDateRange (std::ostream&,
86  const BomRoot&);
87 
96  static void csvDisplay (std::ostream&, const BomRoot&);
97 
106  static void csvDisplay (std::ostream&, const Inventory&);
107 
115  static void csvDisplay (std::ostream&, const OnDDate&);
116 
125  static void csvDisplay (std::ostream&, const FlightDate&);
126 
135  static void csvLegDateDisplay (std::ostream&, const FlightDate&);
136 
145  static void csvSegmentDateDisplay (std::ostream&, const FlightDate&);
146 
155  static void csvLegCabinDisplay (std::ostream&, const FlightDate&);
156 
165  static void csvSegmentCabinDisplay (std::ostream&, const FlightDate&);
166 
175  static void csvFareFamilyDisplay (std::ostream&, const FlightDate&);
176 
185  static void csvBucketDisplay (std::ostream&, const FlightDate&);
186 
196  static void csvBookingClassDisplay (std::ostream&, const BookingClass&,
197  const std::string& iLeadingString);
206  static void csvBookingClassDisplay (std::ostream&, const FlightDate&);
207 
216  static void csvDisplay (std::ostream&, const TravelSolutionList_T&);
217 
226  static void csvDisplay (std::ostream&, const DatePeriodList_T&);
227 
236  static void csvSimFQTAirRACDisplay (std::ostream&, const BomRoot&);
237 
247  static void csvAirportPairDisplay (std::ostream&, const AirportPair&);
248 
258  static void csvDateDisplay (std::ostream&, const DatePeriod&);
259 
269  static void csvPosChannelDisplay (std::ostream&, const PosChannel&);
270 
280  static void csvTimeDisplay (std::ostream&, const TimePeriod&);
281 
290  template <typename FEATURE_TYPE>
291  static void csvFeatureListDisplay (std::ostream& oStream, const TimePeriod&);
292 
301  template <typename FEATURE_TYPE>
302  static void csvFeaturesDisplay (std::ostream& oStream, const FEATURE_TYPE&);
303 
312  static void csvAirlineClassDisplay (std::ostream&, const AirlineClassList&);
313  };
314 
315 }
316 #endif // __STDAIR_BOM_BOMDISPLAY_HPP