38 namespace functionEntries
60 const wordRes patterns(functionEntry::readStringList<wordRe>(is));
64 if (
key.isLiteral() &&
key.contains(
'/'))
71 finder.context().remove(finder.ptr()->keyword());
80 for (
const auto idx : indices)
82 parentDict.
remove(dictKeys[idx]);
static bool execute(dictionary &parentDict, Istream &is)
Remove single or multiple entries. Local or scoped entries.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
wordList toc() const
Return the table of contents.
bool remove(const word &keyword)
Remove an entry specified by keyword.
static labelList matching(const wordRe &select, const UList< StringType > &input, const bool invert=false)
Determine the list indices for all matches.
A List of wordRe with additional matching capabilities.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
const_searcher searchScoped(const word &keyword, enum keyType::option matchOpt) const
Search using dot or slash scoping.
List< word > wordList
List of word.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Macros for easy insertion into member function selection tables.
addNamedToMemberFunctionSelectionTable(functionEntry, calcEntry, execute, dictionaryIstream, calc)
List< label > labelList
A List of labels.