$treeview $search $mathjax
StdAir Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

stdair/bom/BomDisplay.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_BOM_BOMDISPLAY_HPP
00002 #define __STDAIR_BOM_BOMDISPLAY_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <iosfwd>
00009 // StdAir
00010 #include <stdair/bom/TravelSolutionTypes.hpp>
00011 #include <stdair/bom/DatePeriodTypes.hpp>
00012 
00013 namespace stdair {
00014 
00016   class BomRoot;
00017   class Inventory;
00018   class FlightDate;
00019   class LegDate;
00020   class SegmentDate;
00021   class LegCabin;
00022   class SegmentCabin;
00023   class FareFamily;
00024   class BookingClass;
00025   class AirportPair;
00026   class PosChannel;
00027   class DatePeriod;
00028   class TimePeriod;
00029   class FareFeatures;
00030   class YieldFeatures;
00031   class AirlineClassList;
00032   class OnDDate;
00033 
00038   class BomDisplay {
00039   public:
00040     // //////////////// Display support methods /////////////////
00041 
00056     static void list (std::ostream&, const BomRoot&,
00057                       const AirlineCode_T& iAirlineCode = "all",
00058                       const FlightNumber_T& iFlightNumber = 0);
00059 
00073     static void list (std::ostream&, const Inventory&,
00074                       const unsigned short iInventoryIndex = 0,
00075                       const FlightNumber_T& iFlightNumber = 0);
00076 
00085     static void listAirportPairDateRange (std::ostream&,
00086                                           const BomRoot&);
00087 
00096     static void csvDisplay (std::ostream&, const BomRoot&);
00097 
00106     static void csvDisplay (std::ostream&, const Inventory&);
00107 
00115     static void csvDisplay (std::ostream&, const OnDDate&);
00116 
00125     static void csvDisplay (std::ostream&, const FlightDate&);
00126 
00135     static void csvLegDateDisplay (std::ostream&, const FlightDate&);
00136 
00145     static void csvSegmentDateDisplay (std::ostream&, const FlightDate&);
00146 
00155     static void csvLegCabinDisplay (std::ostream&, const FlightDate&);
00156 
00165     static void csvSegmentCabinDisplay (std::ostream&, const FlightDate&);
00166 
00175     static void csvFareFamilyDisplay (std::ostream&, const FlightDate&);
00176 
00185     static void csvBucketDisplay (std::ostream&, const FlightDate&);
00186 
00196     static void csvBookingClassDisplay (std::ostream&, const BookingClass&,
00197                                         const std::string& iLeadingString);
00206     static void csvBookingClassDisplay (std::ostream&, const FlightDate&);
00207 
00216     static void csvDisplay (std::ostream&, const TravelSolutionList_T&);
00217 
00226     static void csvDisplay (std::ostream&, const DatePeriodList_T&);
00227 
00236     static void csvSimFQTAirRACDisplay (std::ostream&, const BomRoot&);
00237 
00247     static void csvAirportPairDisplay (std::ostream&, const AirportPair&);
00248 
00258     static void csvDateDisplay (std::ostream&, const DatePeriod&);
00259 
00269     static void csvPosChannelDisplay (std::ostream&, const PosChannel&);
00270 
00280     static void csvTimeDisplay (std::ostream&, const TimePeriod&);
00281 
00290     template <typename FEATURE_TYPE>
00291     static void csvFeatureListDisplay (std::ostream& oStream, const TimePeriod&);
00292 
00301     template <typename FEATURE_TYPE>
00302     static void csvFeaturesDisplay (std::ostream& oStream, const FEATURE_TYPE&);
00303 
00312     static void csvAirlineClassDisplay (std::ostream&, const AirlineClassList&);
00313   };
00314   
00315 }
00316 #endif // __STDAIR_BOM_BOMDISPLAY_HPP