37 localObjectNames_.clear();
38 localObjectNames_.append(name);
47 localObjectNames_.clear();
48 localObjectNames_.append(names);
93 if (dict.
found(
"objects"))
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void resetLocalObjectName(const word &name)
Reset the list of local object names from a single word.
virtual wordList objectNames()
Get the list of field names to be written.
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/any.
writeLocalObjects(const objectRegistry &obr, const Switch &logRef)
Construct from objectRegistry and inheriting function object.
Operations on lists of strings.
wordList localObjectNames_
Object names that are handled on behalf of the inheritor.
A class for handling words, derived from string.
const wordList & localObjectNames() const
Return const access to the local object names.
void resetLocalObjectNames(const wordList &names)
Reset the list of local object names from a wordList.
void resetWriteObjectName(const wordRe &name)
Reset the list of object names to be written to a single regular.
detect if the string contains meta-characters
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.
A wrapper for matching a List of wordRe.
virtual ~writeLocalObjects()
Destructor.
virtual bool read(const dictionary &)
Read the list of objects to be written.
StringListType subsetStrings(const regExp &re, const StringListType &lst, const bool invert=false)
Extract elements of StringList when regular expression matches.
writeObjectsBase(const objectRegistry &obr, const Switch &logRef)
Construct from objectRegistry and inheriting function object.
Registry of regIOobjects.
virtual bool read(const dictionary &)
Read the list of objects to be written.