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

What the user override file (doc 15 §6.3) changed for one rule of one instance. More...

#include <crules/detect.hpp>

Public Attributes

std::string rule
 rule id
bool disabled = false
bool has_params = false
nlohmann::ordered_json params
 the rule's parameters after set entries (valid when has_params)
std::vector< std::string > notes
 "disabled (disable XTAL-04\@Y1)", "max_mm = 5 (catalogue 2; set XTAL-02 ...)"

Detailed Description

What the user override file (doc 15 §6.3) changed for one rule of one instance.

Definition at line 29 of file detect.hpp.

Member Data Documentation

◆ disabled

bool tmk::crules::RuleOverride::disabled = false

Definition at line 31 of file detect.hpp.

◆ has_params

bool tmk::crules::RuleOverride::has_params = false

Definition at line 32 of file detect.hpp.

◆ notes

std::vector<std::string> tmk::crules::RuleOverride::notes

"disabled (disable XTAL-04\@Y1)", "max_mm = 5 (catalogue 2; set XTAL-02 ...)"

Definition at line 34 of file detect.hpp.

◆ params

nlohmann::ordered_json tmk::crules::RuleOverride::params

the rule's parameters after set entries (valid when has_params)

Definition at line 33 of file detect.hpp.

◆ rule

std::string tmk::crules::RuleOverride::rule

rule id

Definition at line 30 of file detect.hpp.


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