LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ui::qt::GenericStatisticsStrategy Class Referencefinal

#include <GenericStatisticsStrategy.hpp>

Inheritance diagram for ui::qt::GenericStatisticsStrategy:
Inheritance graph
Collaboration diagram for ui::qt::GenericStatisticsStrategy:
Collaboration graph

Public Member Functions

bool Matches (db::EventsContainer &) const override
 Returns true if this strategy is applicable to the current event data.
 
std::vector< StatsSection > Compute (db::EventsContainer &, const std::vector< unsigned long > &) const override
 Compute format-specific statistics for the given visible event indices.
 

Detailed Description

Fallback strategy for formats without dedicated statistics (XML, CSV, etc.). Returns no format-specific sections; the panel hides the extra section entirely.

Member Function Documentation

◆ Compute()

std::vector< StatsSection > ui::qt::GenericStatisticsStrategy::Compute ( db::EventsContainer &  events,
const std::vector< unsigned long > &  indices 
) const
inlineoverridevirtual

Compute format-specific statistics for the given visible event indices.

Implements ui::qt::IStatisticsStrategy.

◆ Matches()

bool ui::qt::GenericStatisticsStrategy::Matches ( db::EventsContainer &  events) const
inlineoverridevirtual

Returns true if this strategy is applicable to the current event data.

Implements ui::qt::IStatisticsStrategy.


The documentation for this class was generated from the following file: