1.01.12
C++ Simulated Travel-Oriented Distribution System Library
Toggle main menu visibility
Loading...
Searching...
No Matches
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 //////////
26
const
SimulatorID_T
&
getSimulationStatusID
()
const
{
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
63
SimulationStatusKey
(
const
SimulationStatusKey
&);
64
68
~SimulationStatusKey
();
69
70
71
private
:
75
SimulationStatusKey
();
76
77
78
private
:
79
// //////////// Attributes ////////////////
83
SimulatorID_T
_simulatorID;
84
85
};
86
87
}
88
#endif
// __TVLSIM_BOM_EVENTQUEUEKEY_HPP
TVLSIM_Types.hpp
TVLSIM
Definition
BasConst.cpp:7
TVLSIM::SimulatorID_T
std::string SimulatorID_T
Definition
TVLSIM_Types.hpp:35
TVLSIM::SimulationStatusKey
Definition
SimulationStatusKey.hpp:19
TVLSIM::SimulationStatusKey::toStream
void toStream(std::ostream &ioOut) const
Definition
SimulationStatusKey.cpp:33
TVLSIM::SimulationStatusKey::SimulationStatusKey
SimulationStatusKey(const SimulatorID_T &iSimulatorID)
Definition
SimulationStatusKey.cpp:13
TVLSIM::SimulationStatusKey::fromStream
void fromStream(std::istream &ioIn)
Definition
SimulationStatusKey.cpp:38
TVLSIM::SimulationStatusKey::~SimulationStatusKey
~SimulationStatusKey()
Definition
SimulationStatusKey.cpp:29
TVLSIM::SimulationStatusKey::getSimulationStatusID
const SimulatorID_T & getSimulationStatusID() const
Definition
SimulationStatusKey.hpp:26
TVLSIM::SimulationStatusKey::toString
const std::string toString() const
Definition
SimulationStatusKey.cpp:42
Generated on
for TvlSim by
1.17.0