wordRes::matcher Struct Reference

Functor wrapper for matching against a List of wordRe. More...

Collaboration diagram for wordRes::matcher:
[legend]

Public Member Functions

 matcher (const UList< wordRe > &selectors)
 
bool operator() (const std::string &text) const
 True if text matches ANY of the entries. More...
 

Public Attributes

const UList< wordRe > & values
 

Detailed Description

Functor wrapper for matching against a List of wordRe.

Definition at line 83 of file wordRes.H.

Constructor & Destructor Documentation

◆ matcher()

matcher ( const UList< wordRe > &  selectors)
inline

Definition at line 87 of file wordRes.H.

Member Function Documentation

◆ operator()()

bool operator() ( const std::string &  text) const
inline

True if text matches ANY of the entries.

Allows use as a predicate.

Definition at line 138 of file wordResI.H.

References Foam::HashTableOps::values().

Here is the call graph for this function:

Member Data Documentation

◆ values

const UList<wordRe>& values

Definition at line 85 of file wordRes.H.


The documentation for this struct was generated from the following files: