65 #ifndef functionObjects_writeLocalObjects_H
66 #define functionObjects_writeLocalObjects_H
81 namespace functionObjects
88 class writeLocalObjects
90 public writeObjectsBase
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
FunctionObject base class for managing a list of objects on behalf of the inheriting function object,...
virtual ~writeLocalObjects()
Destructor.
const wordList & localObjectNames() const
Return const access to the local object names.
wordList localObjectNames_
Object names that are handled on behalf of the inheritor.
virtual wordList objectNames()
Get the list of field names to be written.
void resetLocalObjectNames(const wordList &names)
Reset the list of local object names from a wordList.
writeLocalObjects(const objectRegistry &obr, const Switch &logRef=logFalse)
Construct from objectRegistry and inheriting function object.
void operator=(const writeLocalObjects &)=delete
Disallow default bitwise assignment.
void resetLocalObjectName(const word &name)
Reset the list of local object names from a single word.
virtual bool read(const dictionary &)
Read the list of objects to be written.
static const Switch logFalse
False switch to which log_ defaults.
Registry of regIOobjects.
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.