35inline void Foam::prefixOSstream::checkWritePrefix()
37 if (printPrefix_ && !prefix_.empty())
50 const string& streamName,
64 os <<
"prefixOSstream ";
94 const size_t len = strlen(str);
120 const std::string& val,
160 std::streamsize count
The IOstreamOption is a simple container for options an IOstream can normally have.
Generic output stream using a standard (STL) stream.
virtual void indent()
Add indentation characters.
virtual Ostream & writeQuoted(const std::string &str, const bool quoted=true)
Write std::string surrounded by quotes.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write()
Write the output fields.
scalar print()
Print to screen.
Version of OSstream that prints a prefix on each line.
virtual Ostream & writeQuoted(const std::string &val, const bool quoted=true)
Write std::string surrounded by quotes.
virtual void indent()
Add indentation characters.
A token holds an item read from Istream.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
double doubleScalar
A typedef for double.
float floatScalar
A typedef for float.