38 #ifndef prefixOSstream_H
39 #define prefixOSstream_H
64 inline void checkWritePrefix();
87 const string&
prefix()
const
121 const bool quoted=
true
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.
compressionType compression() const
Return the stream compression.
compressionType
Enumeration for the format of data in the stream.
virtual const fileName & name() const
Return the name of the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Version of OSstream which prints a prefix on each line.
prefixOSstream(ostream &os, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Set stream status.
virtual void indent()
Add indentation characters.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
const string & prefix() const
Return the prefix of the stream.
virtual Ostream & write(const char)
Write character.
A class for handling verbatimStrings, derived from string.
A class for handling words, derived from string.
double doubleScalar
Double precision floating point scalar type.
float floatScalar
Float precision floating point scalar type.
long double longDoubleScalar
Lang double precision floating point scalar type.