32 inline void Foam::prefixOSstream::checkWritePrefix()
34 if (printPrefix_ && prefix_.size())
63 os <<
"prefixOSstream ";
87 size_t len = strlen(str);
120 const std::string& val,
181 std::streamsize
count
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
virtual void indent()
Add indentation characters.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string with optional double quotes.
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
virtual Ostream & write(const char)
Write character.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
virtual Ostream & write(const char)
Write character.
A class for handling verbatimStrings, derived from string.
A class for handling words, derived from string.
const dimensionedScalar c
Speed of light in a vacuum.
word name(const bool)
Return a word representation of a bool.
double doubleScalar
Double precision floating point scalar type.
float floatScalar
Float precision floating point scalar type.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
long double longDoubleScalar
Lang double precision floating point scalar type.
word format(conversionProperties.lookup("format"))