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

#include <crules/overrides.hpp>

Public Types

enum class  Kind : std::uint8_t { Disable , Assert , Deny , Set }

Public Attributes

Kind kind = Kind::Disable
std::string rule
 Disable (one rule) and Set: the rule id.
std::string category
 the category id (for rule entries: the rule's category)
std::string ref
 anchor reference; empty = every instance (Disable, Set)
std::string param
 Set: parameter name.
nlohmann::ordered_json value
 Set: new value.
std::string text
 the entry as the report shows it, e.g. "disable XTAL-04\@Y1"

Detailed Description

Definition at line 31 of file overrides.hpp.

Member Enumeration Documentation

◆ Kind

enum class tmk::crules::OverrideEntry::Kind : std::uint8_t
strong
Enumerator
Disable 
Assert 
Deny 
Set 

Definition at line 32 of file overrides.hpp.

Member Data Documentation

◆ category

std::string tmk::crules::OverrideEntry::category

the category id (for rule entries: the rule's category)

Definition at line 35 of file overrides.hpp.

◆ kind

Kind tmk::crules::OverrideEntry::kind = Kind::Disable

Definition at line 33 of file overrides.hpp.

◆ param

std::string tmk::crules::OverrideEntry::param

Set: parameter name.

Definition at line 37 of file overrides.hpp.

◆ ref

std::string tmk::crules::OverrideEntry::ref

anchor reference; empty = every instance (Disable, Set)

Definition at line 36 of file overrides.hpp.

◆ rule

std::string tmk::crules::OverrideEntry::rule

Disable (one rule) and Set: the rule id.

Definition at line 34 of file overrides.hpp.

◆ text

std::string tmk::crules::OverrideEntry::text

the entry as the report shows it, e.g. "disable XTAL-04\@Y1"

Definition at line 39 of file overrides.hpp.

◆ value

nlohmann::ordered_json tmk::crules::OverrideEntry::value

Set: new value.

Definition at line 38 of file overrides.hpp.


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