wordRes::matcher Struct Reference

Functor wrapper of a list of wordRe for matching. More...

Public Member Functions

 matcher (const UList< wordRe > &allow)
 Construct with 'allow' matcher. More...
 
bool empty () const noexcept
 Nothing defined. More...
 
bool operator() (const std::string &text) const
 True if text matches ANY of the entries. More...
 

Detailed Description

Functor wrapper of a list of wordRe for matching.

Definition at line 142 of file wordRes.H.

Constructor & Destructor Documentation

◆ matcher()

matcher ( const UList< wordRe > &  allow)
inline

Construct with 'allow' matcher.

Definition at line 140 of file wordResI.H.

Member Function Documentation

◆ empty()

bool empty ( ) const
inlinenoexcept

Nothing defined.

Definition at line 160 of file wordResI.H.

◆ 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 171 of file wordResI.H.


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