|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
Exact string matching. More...
#include <IFilterStrategy.hpp>


Public Member Functions | |
| ExactMatchStrategy ()=default | |
| bool | matches (const std::string &value, const std::string &pattern, bool caseSensitive) const override |
| Match a value against the pattern. | |
| bool | isValidPattern (const std::string &) const override |
| Validate pattern syntax. | |
| std::string | getName () const override |
| Get strategy name for serialization/debugging. | |
| std::unique_ptr< IFilterStrategy > | clone () const override |
| Clone this strategy (for copy semantics) | |
Exact string matching.
Fast exact comparison, case-sensitive or insensitive. Much faster than regex for exact matches.
|
default |
|
inlineoverridevirtual |
Clone this strategy (for copy semantics)
Implements filters::IFilterStrategy.
|
inlineoverridevirtual |
Get strategy name for serialization/debugging.
Implements filters::IFilterStrategy.
|
inlineoverridevirtual |
Validate pattern syntax.
| pattern | The pattern to validate |
Used to provide early feedback when constructing filters.
Implements filters::IFilterStrategy.
|
overridevirtual |
Match a value against the pattern.
| value | The string to test |
| pattern | The pattern to match against |
| caseSensitive | Whether matching should be case-sensitive |
Implements filters::IFilterStrategy.