38namespace functionEntries
60 const wordRes patterns(functionEntry::readStringList<wordRe>(is));
62 for (
const wordRe& key : patterns)
71 finder.context().remove(finder.ptr()->keyword());
80 for (
const auto idx : indices)
82 parentDict.
remove(dictKeys[idx]);
Macros for easy insertion into member function selection tables.
#define addNamedToMemberFunctionSelectionTable(baseType, thisType, funcName, argNames, lookupName)
Add to hash-table of functions with 'lookupName' as the key.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool remove(const word &keyword)
Remove an entry specified by keyword.
wordList toc() const
Return the table of contents.
const_searcher searchScoped(const word &keyword, enum keyType::option matchOpt) const
Search using dot or slash scoping.
Remove a dictionary entry.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
virtual bool execute()
Calculate the output fields.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
A List of wordRe with additional matching capabilities.
labelList findStrings(const regExp &matcher, const UList< StringType > &input, const bool invert=false)
Return list indices for strings matching the regular expression.
Operations on lists of strings.