|
KiCad PCB EDA Suite
|
Represents a rule loaded from a .kicad_dru file and mapped to a panel. More...
#include <drc_re_loaded_rule.h>
Public Member Functions | |
| DRC_RE_LOADED_PANEL_ENTRY ()=default | |
| DRC_RE_LOADED_PANEL_ENTRY (DRC_RULE_EDITOR_CONSTRAINT_NAME aPanel, std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > aData, const wxString &aRuleName, const wxString &aCondition, SEVERITY aSeverity, const LSET &aLayers) | |
Public Attributes | |
| DRC_RULE_EDITOR_CONSTRAINT_NAME | panelType = CUSTOM_RULE |
| std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > | constraintData |
| wxString | ruleName |
| wxString | condition |
| SEVERITY | severity = RPT_SEVERITY_UNDEFINED |
| LSET | layerCondition |
| wxString | originalRuleText |
| bool | wasEdited = false |
Represents a rule loaded from a .kicad_dru file and mapped to a panel.
When loading DRC rules, a single rule may be split across multiple panel entries if it contains more constraints than any one panel can handle. This struct captures all the information needed to display the rule in a panel and preserve round-trip fidelity when saving.
Definition at line 45 of file drc_re_loaded_rule.h.
|
default |
|
inline |
Definition at line 59 of file drc_re_loaded_rule.h.
References condition, constraintData, layerCondition, move, panelType, ruleName, and severity.
| wxString DRC_RE_LOADED_PANEL_ENTRY::condition |
Definition at line 50 of file drc_re_loaded_rule.h.
Referenced by BOOST_AUTO_TEST_CASE(), DRC_RE_LOADED_PANEL_ENTRY(), DRC_RULE_SAVER::generateRuleText(), and DIALOG_DRC_RULE_EDITOR::SaveRulesToFile().
| std::shared_ptr<DRC_RE_BASE_CONSTRAINT_DATA> DRC_RE_LOADED_PANEL_ENTRY::constraintData |
Definition at line 48 of file drc_re_loaded_rule.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DRC_RE_LOADED_PANEL_ENTRY(), DRC_RULE_SAVER::generateRuleText(), and DIALOG_DRC_RULE_EDITOR::SaveRulesToFile().
| LSET DRC_RE_LOADED_PANEL_ENTRY::layerCondition |
Definition at line 52 of file drc_re_loaded_rule.h.
Referenced by DRC_RE_LOADED_PANEL_ENTRY(), and DRC_RULE_SAVER::generateRuleText().
| wxString DRC_RE_LOADED_PANEL_ENTRY::originalRuleText |
Definition at line 54 of file drc_re_loaded_rule.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DRC_RULE_SAVER::generateRuleText(), DRC_RULE_LOADER::LoadRule(), and DIALOG_DRC_RULE_EDITOR::SaveRulesToFile().
| DRC_RULE_EDITOR_CONSTRAINT_NAME DRC_RE_LOADED_PANEL_ENTRY::panelType = CUSTOM_RULE |
Definition at line 47 of file drc_re_loaded_rule.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DRC_RE_LOADED_PANEL_ENTRY(), and DIALOG_DRC_RULE_EDITOR::SaveRulesToFile().
| wxString DRC_RE_LOADED_PANEL_ENTRY::ruleName |
Definition at line 49 of file drc_re_loaded_rule.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DRC_RE_LOADED_PANEL_ENTRY(), DRC_RULE_SAVER::generateRuleText(), and DIALOG_DRC_RULE_EDITOR::SaveRulesToFile().
| SEVERITY DRC_RE_LOADED_PANEL_ENTRY::severity = RPT_SEVERITY_UNDEFINED |
Definition at line 51 of file drc_re_loaded_rule.h.
Referenced by DRC_RE_LOADED_PANEL_ENTRY(), and DRC_RULE_SAVER::generateRuleText().
| bool DRC_RE_LOADED_PANEL_ENTRY::wasEdited = false |
Definition at line 55 of file drc_re_loaded_rule.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DRC_RULE_SAVER::generateRuleText(), and DIALOG_DRC_RULE_EDITOR::SaveRulesToFile().