47 localObjectNames_.clear();
48 localObjectNames_.append(names);
87 return localObjectNames_;
93 if (
dict.found(
"objects"))
void append(const T &)
Append an element at the end of the list.
void clear()
Clear the list, i.e. set size to zero.
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....
Calculates the natural logarithm of the specified scalar field.
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 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.
FunctionObject base class for writing a list of objects registered to the database,...
virtual bool read(const dictionary &)
Read the list of objects to be written.
Registry of regIOobjects.
A wrapper for matching a List of wordRe.
A wordRe is a word, but can also have a regular expression for matching words.
@ detect
detect if the string contains meta-characters
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.
StringListType subsetStrings(const regExp &re, const StringListType &lst, const bool invert=false)
Extract elements of StringList when regular expression matches.
Operations on lists of strings.