A wrapper for matching a List of wordRe. More...
Public Member Functions | |
wordReListMatcher (const UList< wordRe > &) | |
Construct from a List of wordRe. More... | |
label | size () const |
bool | empty () const |
const UList< wordRe > & | operator() () const |
Return underlying list of wordRe. More... | |
bool | match (const string &, bool literalMatch=false) const |
Return true if string matches any of the regular expressions. More... | |
Private Attributes | |
const UList< wordRe > & | reList_ |
Reference to underlying list. More... | |
A wrapper for matching a List of wordRe.
Definition at line 53 of file wordReListMatcher.H.
|
inline |
Construct from a List of wordRe.
Definition at line 30 of file wordReListMatcherI.H.
|
inline |
Definition at line 40 of file wordReListMatcherI.H.
References wordReListMatcher::reList_.
|
inline |
Definition at line 46 of file wordReListMatcherI.H.
|
inline |
Return underlying list of wordRe.
Definition at line 53 of file wordReListMatcherI.H.
|
inline |
Return true if string matches any of the regular expressions.
Smart match as regular expression or as a string. Optionally specify a literal match only.
Definition at line 60 of file wordReListMatcherI.H.
Referenced by Foam::findStrings(), and IOobjectList::lookup().
Reference to underlying list.
Definition at line 58 of file wordReListMatcher.H.
Referenced by wordReListMatcher::size().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.