Go to the documentation of this file.
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, ";
virtual bool write(const token &tok)
double doubleScalar
Floating-point double precision scalar type.
virtual Ostream & writeQuoted(const std::string &str, const bool quoted=true)
A class for handling words, derived from Foam::string.
bool isspace(char c) noexcept
float floatScalar
Floating-point single precision scalar type.
virtual void print(Ostream &os) const
void print(Ostream &os) const
A token holds an item read from Istream.
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
word format(conversionProperties.get< word >("format"))
virtual Ostream & writeRaw(const char *data, std::streamsize count)
DynamicList< T, SizeMin > & append(const T &val)
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
bool good() const noexcept
#define FatalErrorInFunction
unsigned int count(const UList< bool > &bools, const bool val=true)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
const dimensionedScalar c
word name(const expressions::valueTypeCode typeCode)
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 beginRawWrite(std::streamsize count)