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