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

#include <crules/engine.hpp>

Public Attributes

int instance = -1
 index into Detection::instances
const RuleSpec * spec = nullptr
Severity severity = Severity::Soft
 after confidence demotion (doc 15 §3.2)
Status status = Status::NotApplied
std::string detail
 what was applied, or why not
std::optional< Measure > measure
std::optional< ImpedancePlan > impedance
 impedance rules: widths/gaps from the stackup (P4, report only)
std::optional< CurrentPlan > current
 width_for_current rules that name a current (IPC-2221, report only)

Detailed Description

Definition at line 40 of file engine.hpp.

Member Data Documentation

◆ current

std::optional<CurrentPlan> tmk::crules::EffectiveRule::current

width_for_current rules that name a current (IPC-2221, report only)

Definition at line 48 of file engine.hpp.

◆ detail

std::string tmk::crules::EffectiveRule::detail

what was applied, or why not

Definition at line 45 of file engine.hpp.

◆ impedance

std::optional<ImpedancePlan> tmk::crules::EffectiveRule::impedance

impedance rules: widths/gaps from the stackup (P4, report only)

Definition at line 47 of file engine.hpp.

◆ instance

int tmk::crules::EffectiveRule::instance = -1

index into Detection::instances

Definition at line 41 of file engine.hpp.

◆ measure

std::optional<Measure> tmk::crules::EffectiveRule::measure

Definition at line 46 of file engine.hpp.

◆ severity

Severity tmk::crules::EffectiveRule::severity = Severity::Soft

after confidence demotion (doc 15 §3.2)

Definition at line 43 of file engine.hpp.

◆ spec

const RuleSpec* tmk::crules::EffectiveRule::spec = nullptr

Definition at line 42 of file engine.hpp.

◆ status

Status tmk::crules::EffectiveRule::status = Status::NotApplied

Definition at line 44 of file engine.hpp.


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