|
KiCad PCB EDA Suite
|
Glob-like pattern matcher for strings, supporting '*' and '? More...
Public Member Functions | |
| STRING_PATTERN_MATCHER (const std::string &aPattern) | |
| void | Test (const std::string &aStr) const |
Static Public Member Functions | |
| static bool | matchPredicate (const std::string &aStr, const std::string &aPattern) |
Private Attributes | |
| std::string | m_pattern |
Glob-like pattern matcher for strings, supporting '*' and '?
' wildcards
Definition at line 124 of file board_expectations.cpp.
|
inlineexplicit |
Definition at line 127 of file board_expectations.cpp.
References m_pattern.
|
inlinestatic |
Definition at line 132 of file board_expectations.cpp.
Referenced by Test().
|
inline |
Definition at line 137 of file board_expectations.cpp.
References BOOST_CHECK_PREDICATE(), m_pattern, and matchPredicate().
|
private |
Definition at line 140 of file board_expectations.cpp.
Referenced by STRING_PATTERN_MATCHER(), and Test().