45 const bool loadFromFiles
49 exclusiveWriting_(
false),
67 dict.
lookup(
"objectNames") >> objectNames_;
92 Info<<
type() <<
" " << name_ <<
" output:" <<
nl;
101 allNames.append(names);
105 WarningIn(
"Foam::writeRegisteredObject::write()")
106 <<
"Object " << objectNames_[i] <<
" not found in " 107 <<
"database. Available objects:" << nl << obr_.sortedToc()
120 if (exclusiveWriting_)
virtual ~writeRegisteredObject()
Destructor.
virtual void write()
Write the writeRegisteredObject.
writeRegisteredObject(const writeRegisteredObject &)
Disallow default bitwise copy construct.
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void read(const dictionary &)
Read the writeRegisteredObject data.
virtual bool write() const
Write using setting from DB.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
writeOption writeOpt() const
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
const word & name() const
Return name.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Registry of regIOobjects.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
bool read(const char *, int32_t &)
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void execute()
Execute, currently does nothing.
defineTypeNameAndDebug(combustionModel, 0)