TvlSim Logo  1.00.0
C++ Simulated Travel-Oriented Distribution System Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SimulationStatusKey.hpp
Go to the documentation of this file.
1 #ifndef __TVLSIM_BOM_EVENTQUEUEKEY_HPP
2 #define __TVLSIM_BOM_EVENTQUEUEKEY_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // StdAir
8 #include <stdair/stdair_basic_types.hpp>
9 #include <stdair/stdair_date_time_types.hpp>
10 #include <stdair/bom/KeyAbstract.hpp>
11 // TvlSim
12 #include <tvlsim/TVLSIM_Types.hpp>
13 
14 namespace TVLSIM {
15 
19  struct SimulationStatusKey : public stdair::KeyAbstract {
20 
21  public:
22  // /////////// Getters //////////
27  return _simulatorID;
28  }
29 
30  // /////////// Display support methods /////////
35  void toStream (std::ostream& ioOut) const;
36 
41  void fromStream (std::istream& ioIn);
42 
50  const std::string toString() const;
51 
52 
53  public:
54  // /////////// Construction ///////////
58  SimulationStatusKey (const SimulatorID_T& iSimulatorID);
59 
64 
69 
70 
71  private:
76 
77 
78  private:
79  // //////////// Attributes ////////////////
83  SimulatorID_T _simulatorID;
84 
85  };
86 
87 }
88 #endif // __TVLSIM_BOM_EVENTQUEUEKEY_HPP