Go to the documentation of this file.
57 setState(os_.rdstate());
66 setState(os_.rdstate());
74 setState(os_.rdstate());
84 for (string::const_iterator iter = str.begin(); iter != str.end(); ++iter)
119 setState(os_.rdstate());
126 const std::string& str,
137 string::const_iterator iter = str.begin();
181 setState(os_.rdstate());
189 setState(os_.rdstate());
197 setState(os_.rdstate());
205 setState(os_.rdstate());
213 setState(os_.rdstate());
223 <<
"stream format not binary"
228 os_.write(buf, count);
231 setState(os_.rdstate());
239 for (
unsigned short i = 0; i < indentLevel_*indentSize_; i++)
292 return os_.precision();
298 return os_.precision(
p);
word format(conversionProperties.lookup("format"))
double doubleScalar
Double precision floating point scalar type.
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
float floatScalar
Float precision floating point scalar type.
virtual int width() const
Get width of output field.
virtual Ostream & write(const token &)
Write next token to stream.
A token holds items read from Istream.
A class for handling character strings derived from std::string.
const string & stringToken() const
virtual ios_base::fmtflags flags() const
Return flags of output stream.
errorManip< error > abort(error &err)
virtual int precision() const
Get precision of output field.
virtual void indent()
Add indentation characters.
virtual void endl()
Add newline and flush stream.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
const dimensionedScalar c
Speed of light in a vacuum.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
size_type count(const char) const
Count and return the number of a given character in the string.
virtual void flush()
Flush stream.