Switch active_
Source active flag.
void write(Ostream &, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
const word name_
Source name.
A class for handling words, derived from string.
const word modelType_
Model type.
virtual void writeFooter(Ostream &) const
Write the source footer information.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
virtual bool read(const dictionary &dict)
Read source dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
virtual void writeData(Ostream &) const
Write the source properties.
virtual void writeHeader(Ostream &) const
Write the source header information.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
dictionary coeffs_
Dictionary containing source coefficients.