48 if (!std::isspace(c) && std::isprint(c))
60 const word nonWhiteChars(string::validate<word>(str));
62 if (nonWhiteChars.size() == 1)
65 write(nonWhiteChars[0]);
67 else if (nonWhiteChars.size())
95 const std::string& str,
103 else if (!str.empty())
149 <<
"stream format not binary"
162 std::streamsize count
179 <<
"stream format not binary"
191 os <<
"OTstream : " <<
name().c_str() <<
", " << size() <<
" tokens, ";
void append(const token &val)
Copy append an element to the end of this list.
virtual Ostream & writeRaw(const char *data, std::streamsize count)
Low-level raw binary output.
virtual bool beginRawWrite(std::streamsize count)
Begin marker for low-level raw binary output.
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,...
Database for solution data, solver performance and other reduced data.
virtual bool write()
Write the output fields.
scalar print()
Print to screen.
A token holds an item read from Istream.
punctuationToken
Standard punctuation tokens (a character)
bool good() const noexcept
True if token is not UNDEFINED or ERROR.
A class for handling words, derived from Foam::string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
double doubleScalar
A typedef for double.
float floatScalar
A typedef for float.
errorManip< error > abort(error &err)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
word format(conversionProperties.get< word >("format"))