SEvMgr Logo  1.00.10
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
8
9namespace 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 // ////////////////////////////////////////////////////////////////////
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}
std::string EventQueueID_T
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const
const std::string toString() const