7 #if !defined(_GlobMatcher_h_) 8 #define _GlobMatcher_h_ 10 #include "StringMatcher.h" 48 virtual bool match(
const std::string &testValue);
54 bool globMatch(
const char *str,
const char *p);
59 #endif // _GlobMatcher_h_ Definition: BlfwkErrors.h:16
std::string m_pattern
The glob pattern to match against.
Definition: src/blfwk/GlobMatcher.h:51
bool globMatch(const char *str, const char *p)
Glob implementation.
Definition: src/blfwk/src/GlobMatcher.cpp:29
GlobMatcher(const std::string &pattern)
Constructor.
Definition: src/blfwk/GlobMatcher.h:41
Abstract interface class used to select strings by name.
Definition: src/blfwk/StringMatcher.h:40
virtual bool match(const std::string &testValue)
Returns whether testValue matches the glob pattern.
Definition: src/blfwk/src/GlobMatcher.cpp:22
This class uses glob pattern matching to match strings.
Definition: src/blfwk/GlobMatcher.h:37