35 #ifndef OStringStream_H
36 #define OStringStream_H
68 *(new std::ostringstream()),
69 "OStringStream.sinkFile",
81 new std::ostringstream
83 dynamic_cast<const std::ostringstream&>
99 delete &
dynamic_cast<std::ostringstream&
>(
stdStream());
110 return dynamic_cast<const std::ostringstream&
>
static const versionNumber currentVersion
Current version number.
streamFormat format() const
Return current stream format.
streamFormat
Enumeration for the format of data in the stream.
versionNumber version() const
Return the stream version.
virtual const fileName & name() const
Return the name of the stream.
virtual ostream & stdStream()
Access to underlying std::ostream.
Output to memory buffer stream.
OStringStream(streamFormat format=ASCII, versionNumber version=currentVersion)
Construct and set stream status.
~OStringStream()
Destructor.
void print(Ostream &) const
Print description to Ostream.
void rewind()
Rewind the OStringStream.
string str() const
Return the string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...