 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef OutputDevice_String_h
18 #define OutputDevice_String_h
An output device that encapsulates an ofstream.
Static storage of an output device and its base (abstract) implementation.
std::ostream & getOStream()
Returns the associated ostream.
std::ostringstream myStream
The wrapped ofstream.
~OutputDevice_String()
Destructor.
std::string getString() const
Returns the current content as a string.
OutputDevice_String(const bool binary=false, const int defaultIndentation=0)
Constructor.