79 const std::string& str,
90 string::const_iterator iter = str.begin();
184 <<
"stream format not binary" 189 os_.write(buf, count);
248 return os_.precision();
254 return os_.precision(p);
A class for handling verbatimStrings, derived from string.
unsigned short indentLevel_
Current indent level.
size_type count(const char) const
Count and return the number of a given character in the string.
virtual ios_base::fmtflags flags() const
Return flags of output stream.
virtual int precision() const
Get precision of output field.
virtual void endl()
Add newline and flush stream.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string with optional double quotes.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
virtual void indent()
Add indentation characters.
const dimensionedScalar c
Speed of light in a vacuum.
A class for handling words, derived from string.
virtual void flush()
Flush stream.
float floatScalar
Float precision floating point scalar type.
double doubleScalar
Double precision floating point scalar type.
streamFormat format() const
Return current stream format.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual Ostream & write(const char)
Write character.
long double longDoubleScalar
Lang double precision floating point scalar type.
virtual int width() const
Get width of output field.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static const unsigned short indentSize_
Number of spaces per indent level.
void setState(ios_base::iostate state)
Set stream state.
A class for handling character strings derived from std::string.