Go to the documentation of this file.
102 virtual ios_base::fmtflags
flags()
const;
130 const bool quoted=
true
155 virtual ios_base::fmtflags
flags(
const ios_base::fmtflags
flags);
158 virtual void flush();
164 virtual int width()
const;
167 virtual int width(
const int);
streamFormat format() const
Return current stream format.
double doubleScalar
Double precision floating point scalar type.
A class for handling words, derived from string.
A class for handling file names.
compressionType
Enumeration for the format of data in the stream.
float floatScalar
Float precision floating point scalar type.
compressionType compression() const
Return the stream compression.
virtual int width() const
Get width of output field.
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
virtual Ostream & write(const token &)
Write next token to stream.
virtual ostream & stdStream()
Access to underlying std::ostream.
A token holds items read from Istream.
static const versionNumber currentVersion
Current version number.
virtual const fileName & name() const
Return the name of the stream.
virtual ios_base::fmtflags flags() const
Return flags of output stream.
Ostream(streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Set stream status.
virtual int precision() const
Get precision of output field.
virtual void indent()
Add indentation characters.
virtual const ostream & stdStream() const
Const access to underlying std::ostream.
virtual void endl()
Add newline and flush stream.
versionNumber version() const
Return the stream version.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
void operator=(const OSstream &)
Disallow default bitwise assignment.
OSstream(ostream &os, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Set stream status.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void flush()
Flush stream.
streamFormat
Enumeration for the format of data in the stream.