64 #ifndef functionObjects_writeObjectsBase_H 65 #define functionObjects_writeObjectsBase_H 80 namespace functionObjects
87 class writeObjectsBase
156 virtual bool write();
virtual bool write()
Write function.
const objectRegistry & writeObr_
Reference to the region objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
void resetWriteObjectNames(const wordReList &names)
Reset the list of object names to be written.
void resetWriteObjectName(const wordRe &name)
Reset the list of object names to be written to a single regular.
const Switch & log_
Reference to the inheriting function object's log variable.
wordReList writeObjectNames_
Object names requested by the user to be written.
A wordRe is a word, but can also have a regular expression for matching words.
virtual void writeObject(const regIOobject &obj)
Write the requested registered IO object.
const wordReList & writeObjectNames() const
Return const access to the object names requested to be written.
virtual ~writeObjectsBase()
Destructor.
word name(const complex &)
Return a string representation of a complex.
FunctionObject base class for writing a list of objects registered to the database, on behalf of the inheriting function object, on when those should be written to disk.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual wordList objectNames()
Get the list of field names to be written.
Registry of regIOobjects.
virtual bool read(const dictionary &)
Read the list of objects to be written.