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 > &list)
 
bool operator() (const std::string &text) const
 Return true if string matches ANY of the regular expressions. More...
 

Public Attributes

const UList< wordRe > & values
 

Detailed Description

Functor wrapper for matching against a List of wordRe.

Definition at line 82 of file wordRes.H.

Constructor & Destructor Documentation

◆ matcher()

matcher ( const UList< wordRe > &  list)
inline

Definition at line 86 of file wordRes.H.

Member Function Documentation

◆ operator()()

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

Return true if string matches ANY of the regular expressions.

Allows use as a predicate.

Definition at line 93 of file wordRes.H.

Member Data Documentation

◆ values

const UList<wordRe>& values

Definition at line 84 of file wordRes.H.


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