Loading...
Searching...
No Matches
foundOp< StringType > Struct Template Reference

Functor to determine if a string exists in a list of strings. More...

#include <stringListOps.H>

Collaboration diagram for foundOp< StringType >:

Public Member Functions

 foundOp (const UList< StringType > &list) noexcept
bool operator() (const std::string &text) const

Public Attributes

const UList< StringType > & values

Detailed Description

template<class StringType>
struct Foam::stringListOps::foundOp< StringType >

Functor to determine if a string exists in a list of strings.

Definition at line 395 of file stringListOps.H.

Constructor & Destructor Documentation

◆ foundOp()

template<class StringType>
foundOp ( const UList< StringType > & list)
inlinenoexcept

Definition at line 399 of file stringListOps.H.

References Foam::noexcept.

Member Function Documentation

◆ operator()()

template<class StringType>
bool operator() ( const std::string & text) const
inline

Definition at line 404 of file stringListOps.H.

References values.

Member Data Documentation

◆ values

template<class StringType>
const UList<StringType>& values

Definition at line 397 of file stringListOps.H.

Referenced by operator()().


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