StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
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
static void csvLegCabinDisplay(std::ostream &, const FlightDate &)
static void csvDateDisplay(std::ostream &, const DatePeriod &)
static void csvSegmentCabinDisplay(std::ostream &, const FlightDate &)
Class representing the actual attributes for an airport-pair.
Definition: AirportPair.hpp:18
unsigned short FlightNumber_T
Handle on the StdAir library context.
std::list< DatePeriod * > DatePeriodList_T
Utility class to display StdAir objects with a pretty format.
Definition: BomDisplay.hpp:38
Class representing the actual attributes for an airline flight-date.
Definition: OnDDate.hpp:33
std::string AirlineCode_T
static void csvLegDateDisplay(std::ostream &, const FlightDate &)
static void csvSimFQTAirRACDisplay(std::ostream &, const BomRoot &)
static void csvTimeDisplay(std::ostream &, const TimePeriod &)
static void csvBookingClassDisplay(std::ostream &, const BookingClass &, const std::string &iLeadingString)
Class representing the actual attributes for a fare point of sale.
Definition: PosChannel.hpp:19
static void csvSegmentDateDisplay(std::ostream &, const FlightDate &)
static void listAirportPairDateRange(std::ostream &, const BomRoot &)
std::list< TravelSolutionStruct > TravelSolutionList_T
static void list(std::ostream &, const BomRoot &, const AirlineCode_T &iAirlineCode="all", const FlightNumber_T &iFlightNumber=0)
static void csvFeaturesDisplay(std::ostream &oStream, const FEATURE_TYPE &)
static void csvPosChannelDisplay(std::ostream &, const PosChannel &)
static void csvFareFamilyDisplay(std::ostream &, const FlightDate &)
Class representing the actual attributes for an airline inventory.
Definition: Inventory.hpp:34
static void csvAirportPairDisplay(std::ostream &, const AirportPair &)
Class representing the actual attributes for the Bom root.
Definition: BomRoot.hpp:32
static void csvAirlineClassDisplay(std::ostream &, const AirlineClassList &)
static void csvDisplay(std::ostream &, const BomRoot &)
static void csvBucketDisplay(std::ostream &, const FlightDate &)
Class representing the actual attributes for an airline flight-date.
Definition: FlightDate.hpp:35
Class representing the actual attributes for a segment-features.
Class representing the actual attributes for a fare date-period.
Definition: DatePeriod.hpp:18
static void csvFeatureListDisplay(std::ostream &oStream, const TimePeriod &)
Class representing the actual attributes for a fare time-period.
Definition: TimePeriod.hpp:18