strusAnalyzer  0.17
Classes | Public Member Functions | List of all members
strus::analyzer::PatternMatcherStatistics Class Reference

Object descriping the statistics of a token pattern match run for runtime analysis. More...

#include <patternMatcherStatistics.hpp>

Classes

class  Item
 Statistics item. More...
 

Public Member Functions

 PatternMatcherStatistics ()
 Constructor. More...
 
 PatternMatcherStatistics (const PatternMatcherStatistics &o)
 Copy constructor. More...
 
void define (const char *name, double value)
 Define statistics item. More...
 
const std::vector< Item > & items () const
 Get all statistics items defined. More...
 

Detailed Description

Object descriping the statistics of a token pattern match run for runtime analysis.

Constructor & Destructor Documentation

strus::analyzer::PatternMatcherStatistics::PatternMatcherStatistics ( )
inline

Constructor.

strus::analyzer::PatternMatcherStatistics::PatternMatcherStatistics ( const PatternMatcherStatistics o)
inline

Copy constructor.

Member Function Documentation

void strus::analyzer::PatternMatcherStatistics::define ( const char *  name,
double  value 
)
inline

Define statistics item.

Parameters
[in]namename of the statistics item
[in]valuevalue of the statistics item
const std::vector<Item>& strus::analyzer::PatternMatcherStatistics::items ( ) const
inline

Get all statistics items defined.

Returns
the statistics items

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