48 for (
const fieldInfo& fi : selection_)
50 values.push_uniq(fi.name());
A HashTable with keys but without contents that is similar to std::unordered_set. ...
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)
List of names generated by calling name() for each list item and filtered for matches.
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
wordList selectionNames() const
Return the current field selection, in sorted order.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
void sort(UList< T > &list)
Sort the list.
HashSet< wordRe > filters() const
Return the current filters.
label size() const noexcept
The number of elements in the container.
List< word > wordList
List of word.
const wordRe & name() const noexcept
Return the selector pattern for the field name(s)