LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
filters Namespace Reference

Namespaces

namespace  anonymous_namespace{IFilterStrategy.cpp}
 

Classes

class  ExactMatchStrategy
 Exact string matching. More...
 
class  Filter
 Composable log event filter with pluggable matching strategies and multi-condition support. More...
 
struct  FilterCondition
 Represents a single matching condition within a filter structure. More...
 
class  FilterManager
 Owns all user-defined filters, handles persistence, and provides helpers to apply filters against the events container. More...
 
class  FilterOptimizer
 Performance tracking and optimization for filter operations. More...
 
class  FilterSerializer
 Serializes and deserializes filter configurations. More...
 
class  FuzzyMatchStrategy
 Fuzzy matching using Levenshtein distance. More...
 
class  IFilterStrategy
 Abstract strategy interface for filter matching. More...
 
class  RegexFilterStrategy
 Regex-based matching using std::regex. More...
 
class  WildcardStrategy
 Wildcard pattern matching (* and ?) More...
 

Typedefs

using FilterPtr = std::shared_ptr< Filter >
 
using FilterList = std::vector< FilterPtr >
 
using FilterResult = util::Result< std::monostate, error::Error >
 

Functions

std::unique_ptr< IFilterStrategy > createStrategy (const std::string &strategyName)
 Strategy factory for creating strategies from names.
 

Typedef Documentation

◆ FilterList

using filters::FilterList = typedef std::vector<FilterPtr>

◆ FilterPtr

using filters::FilterPtr = typedef std::shared_ptr<Filter>

◆ FilterResult

using filters::FilterResult = typedef util::Result<std::monostate, error::Error>

Function Documentation

◆ createStrategy()

std::unique_ptr< IFilterStrategy > filters::createStrategy ( const std::string &  strategyName)

Strategy factory for creating strategies from names.

Usage:

auto strategy = createStrategy("fuzzy");
auto filter = Filter(...);
filter.setStrategy(std::move(strategy));
Composable log event filter with pluggable matching strategies and multi-condition support.
Definition Filter.hpp:182
std::unique_ptr< IFilterStrategy > createStrategy(const std::string &strategyName)
Strategy factory for creating strategies from names.
Definition IFilterStrategy.cpp:206
Here is the call graph for this function:
Here is the caller graph for this function: