1.00.8
C++ Simulation-Oriented Discrete Event Management Library
Loading...
Searching...
No Matches
EventQueueKey.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <sstream>
6
// SEvMgr
7
#include <
sevmgr/bom/EventQueueKey.hpp
>
8
9
namespace
SEVMGR
{
10
11
// ////////////////////////////////////////////////////////////////////
12
EventQueueKey::EventQueueKey (
const
EventQueueID_T
& iEventQueueID)
13
: _eventQueueID (iEventQueueID) {
14
}
15
// ////////////////////////////////////////////////////////////////////
16
EventQueueKey::EventQueueKey (
const
EventQueueKey
& iKey)
17
: _eventQueueID (iKey._eventQueueID) {
18
}
19
20
// ////////////////////////////////////////////////////////////////////
21
EventQueueKey::~EventQueueKey
() {
22
}
23
24
// ////////////////////////////////////////////////////////////////////
25
void
EventQueueKey::toStream
(std::ostream& ioOut)
const
{
26
ioOut <<
"EventQueueKey: "
<<
toString
() << std::endl;
27
}
28
29
// ////////////////////////////////////////////////////////////////////
30
void
EventQueueKey::fromStream
(std::istream& ioIn) {
31
}
32
33
// ////////////////////////////////////////////////////////////////////
34
const
std::string
EventQueueKey::toString
()
const
{
35
std::ostringstream oStr;
36
oStr << _eventQueueID;
37
return
oStr.str();
38
}
39
40
}
EventQueueKey.hpp
SEVMGR
Definition
BasConst.cpp:10
SEVMGR::EventQueueID_T
std::string EventQueueID_T
Definition
SEVMGR_Types.hpp:27
SEVMGR::EventQueueKey
Definition
EventQueueKey.hpp:17
SEVMGR::EventQueueKey::fromStream
void fromStream(std::istream &ioIn)
Definition
EventQueueKey.cpp:30
SEVMGR::EventQueueKey::toStream
void toStream(std::ostream &ioOut) const
Definition
EventQueueKey.cpp:25
SEVMGR::EventQueueKey::~EventQueueKey
~EventQueueKey()
Definition
EventQueueKey.cpp:21
SEVMGR::EventQueueKey::toString
const std::string toString() const
Definition
EventQueueKey.cpp:34
Generated on Wed Dec 6 2023 00:00:00 for SEvMgr by
1.9.8