TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::crules::Detector Struct Reference

#include <crules/catalogue.hpp>

Public Attributes

Signal signal = Signal::RefPrefix
std::string pattern
 ECMAScript regex (case-insensitive), or a topology name for Signal::Topology.
int weight = 0
 0..100; confidence = min(100, sum of matching weights)
std::regex re
 compiled pattern (unused for topology)

Detailed Description

Definition at line 25 of file catalogue.hpp.

Member Data Documentation

◆ pattern

std::string tmk::crules::Detector::pattern

ECMAScript regex (case-insensitive), or a topology name for Signal::Topology.

Definition at line 27 of file catalogue.hpp.

◆ re

std::regex tmk::crules::Detector::re

compiled pattern (unused for topology)

Definition at line 29 of file catalogue.hpp.

◆ signal

Signal tmk::crules::Detector::signal = Signal::RefPrefix

Definition at line 26 of file catalogue.hpp.

◆ weight

int tmk::crules::Detector::weight = 0

0..100; confidence = min(100, sum of matching weights)

Definition at line 28 of file catalogue.hpp.


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