35 cerr<<
"Ostream::decrIndent() : attempt to decrement 0 indent level"
129 check(
"Ostream& Ostream::write(const token&)");
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual Ostream & write(const token &)
Write token.
virtual Ostream & writeCompoundTag(const word &typeName)
Write the compound token tag if the name is a compound token.
void decrIndent()
Decrememt the indent level.
unsigned short indentLevel_
Current indent level.
A class for handling keywords in dictionaries.
static bool isCompound(const word &name)
Return true if name is a compound type.
A token holds items read from Istream.
longDoubleScalar longDoubleScalarToken() const
const variable & variableToken() const
int32_t integer32Token() const
const functionName & functionNameToken() const
floatScalar floatScalarToken() const
const string & stringToken() const
punctuationToken pToken() const
uint32_t unsignedInteger32Token() const
int64_t integer64Token() const
const compound & compoundToken() const
uint64_t unsignedInteger64Token() const
doubleScalar doubleScalarToken() const
const word & wordToken() const
const verbatimString & verbatimStringToken() const
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
#define WarningInFunction
Report a warning using Foam::Warning.
#define SeriousErrorInFunction
Report an error message using Foam::SeriousError.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.