AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SegmentPathGenerator.hpp
Go to the documentation of this file.
1 #ifndef __AIRTSP_CMD_SEGMENTPATHGENERATOR_HPP
2 #define __AIRTSP_CMD_SEGMENTPATHGENERATOR_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <vector>
9 // StdAir
10 #include <stdair/stdair_basic_types.hpp>
11 #include <stdair/command/CmdAbstract.hpp>
12 // AirTSP
13 #include <airtsp/AIRTSP_Types.hpp>
14 
16 namespace stdair {
17  class BomRoot;
18  class Inventory;
19  class FlightPeriod;
20  class SegmentPeriod;
21 }
22 
23 namespace AIRTSP {
24 
26  class ReachableUniverse;
27  class OriginDestinationSet;
28  class SegmentPathPeriod;
29 
30 
34  class SegmentPathGenerator : public stdair::CmdAbstract {
35  public:
39  static void createSegmentPathNetwork (const stdair::BomRoot&);
40 
41  private:
46  static void createSinglePaths (const stdair::Inventory&);
47  static void createSinglePaths (const stdair::FlightPeriod&);
48 
53  static void createSinglePath (stdair::SegmentPeriod&);
54  static void createSinglePath (ReachableUniverse&, stdair::SegmentPeriod&);
55 
59  static void buildSegmentPathNetwork (const stdair::BomRoot&,
60  const stdair::NbOfSegments_T&);
61  static void buildSegmentPathNetwork (ReachableUniverse&,
62  const stdair::NbOfSegments_T&);
63 
67  static void addSegmentPathPeriod (ReachableUniverse&,
68  const SegmentPathPeriod&);
69  };
70 
71 }
72 #endif // __AIRTSP_CMD_SEGMENTPATHGENERATOR_HPP