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&
> virtual const fileName & name() const
Return the name of the stream.
void rewind()
Rewind the OStringStream.
versionNumber version() const
Return the stream version.
~OStringStream()
Destructor.
streamFormat
Enumeration for the format of data in the stream.
OStringStream(streamFormat format=ASCII, versionNumber version=currentVersion)
Construct and set stream status.
streamFormat format() const
Return current stream format.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ostream & stdStream()
Access to underlying std::ostream.
static const versionNumber currentVersion
Current version number.
string str() const
Return the string.
Output to memory buffer stream.
void print(Ostream &) const
Print description to Ostream.