84 for (string::const_iterator iter = str.begin(); iter != str.end(); ++iter)
126 const std::string& str,
137 string::const_iterator iter = str.begin();
223 <<
"stream format not binary" 228 os_.write(buf, count);
287 return os_.precision();
293 return os_.precision(p);
size_type count(const char) const
Count and return the number of a given character in the string.
unsigned short indentLevel_
Current indent level.
streamFormat format() const
Return current stream format.
A token holds items read from Istream.
virtual void endl()
Add newline and flush stream.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
virtual void indent()
Add indentation characters.
virtual int precision() const
Get precision of output field.
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.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual Ostream & write(const token &)
Write next token to stream.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const dimensionedScalar c
Speed of light in a vacuum.
virtual ios_base::fmtflags flags() const
Return flags of output stream.
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.
const string & stringToken() const
virtual int width() const
Get width of output field.