#include <DQMStore.h>
Public Member Functions | |
fastmatch (std::string _fastString) | |
bool | match (std::string const &s) const |
Private Types | |
enum | MatchingHeuristicEnum { UseFull, OneStarStart, OneStarEnd, TwoStar } |
Private Member Functions | |
bool | compare_strings (std::string const &pattern, std::string const &input) const |
bool | compare_strings_reverse (std::string const &pattern, std::string const &input) const |
Private Attributes | |
std::string | fastString_ |
MatchingHeuristicEnum | matching_ |
std::unique_ptr< lat::Regexp > | regexp_ {nullptr} |
Implements RegEx patterns which occur often in a high-performant mattern. For all other expressions, the full RegEx engine is used. Note: this class can only be used for lat::Regexp::Wildcard-like patterns.
Definition at line 55 of file DQMStore.h.
|
private |
Enumerator | |
---|---|
UseFull | |
OneStarStart | |
OneStarEnd | |
TwoStar |
Definition at line 58 of file DQMStore.h.
fastmatch::fastmatch | ( | std::string | _fastString | ) |
Definition at line 137 of file DQMStore.cc.
References MillePedeFileConverter_cfg::e, fastString_, matching_, OneStarEnd, OneStarStart, raiseDQMError(), regexp_, and TwoStar.
|
private |
|
private |
bool fastmatch::match | ( | std::string const & | s | ) | const |
Definition at line 247 of file DQMStore.cc.
References compare_strings(), compare_strings_reverse(), fastString_, matching_, OneStarEnd, OneStarStart, regexp_, and TwoStar.
|
private |
Definition at line 74 of file DQMStore.h.
Referenced by fastmatch(), and match().
|
private |
Definition at line 75 of file DQMStore.h.
Referenced by fastmatch(), and match().
|
private |
Definition at line 73 of file DQMStore.h.
Referenced by fastmatch(), and match().