TvlSim Logo  1.01.6
C++ Simulated Travel-Oriented Distribution System Library
Loading...
Searching...
No Matches
RDSParameters.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// STL
5#include <sstream>
6#include <cassert>
7// TVLSIM
9
10namespace TVLSIM {
11
12 // ////////////////////////////////////////////////////////////////////
15
16 // ////////////////////////////////////////////////////////////////////
18 : _scheduleInputFilename (iRDSParameters._scheduleInputFilename) {
19 }
20
21 // ////////////////////////////////////////////////////////////////////
24
25 // ////////////////////////////////////////////////////////////////////
26 void RDSParameters::toStream (std::ostream& ioOut) const {
27 ioOut << describe();
28 }
29
30 // ////////////////////////////////////////////////////////////////////
31 void RDSParameters::fromStream (std::istream& ioIn) {
32 }
33
34
35 // ////////////////////////////////////////////////////////////////////
36 const std::string RDSParameters::describe() const {
37 std::ostringstream ostr;
38
39 ostr << "RDS Parameters: " << std::endl;
40
41 ostr << " Schedule file: " << _scheduleInputFilename;
42 ostr << std::endl;
43
44 return ostr.str();
45 }
46
47}
const std::string describe() const
std::string _scheduleInputFilename
void toStream(std::ostream &ioOut) const
void fromStream(std::istream &ioIn)