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.
bool empty() const noexcept
True if List is empty (ie, size() is zero)
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
void addRegistered(DynamicList< fieldInfo > &set) const
Add registered objects of a given type.
bool found() const noexcept
Return the found state.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from Foam::string.
wordList sortedNames() const
The sorted names of all objects.
const objectRegistry & obr_
Reference to the database.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
const wordRe & name() const noexcept
Return the selector pattern for the field name(s)
label component() const noexcept
Return the component.