KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRC_PANEL_CLAIM Struct Reference

Defines which constraint types a panel can claim. More...

#include <drc_re_panel_matcher.h>

Public Member Functions

 DRC_PANEL_CLAIM (DRC_RULE_EDITOR_CONSTRAINT_NAME aPanel, std::set< DRC_CONSTRAINT_T > aRequired, std::set< DRC_CONSTRAINT_T > aOptional, int aPriority)
 

Public Attributes

DRC_RULE_EDITOR_CONSTRAINT_NAME panelType
 
std::set< DRC_CONSTRAINT_TrequiredConstraints
 
std::set< DRC_CONSTRAINT_ToptionalConstraints
 
int priority
 

Detailed Description

Defines which constraint types a panel can claim.

The matcher uses these claims to determine which panel should handle a given set of constraints from a DRC rule file.

Definition at line 40 of file drc_re_panel_matcher.h.

Constructor & Destructor Documentation

◆ DRC_PANEL_CLAIM()

DRC_PANEL_CLAIM::DRC_PANEL_CLAIM ( DRC_RULE_EDITOR_CONSTRAINT_NAME aPanel,
std::set< DRC_CONSTRAINT_T > aRequired,
std::set< DRC_CONSTRAINT_T > aOptional,
int aPriority )
inline

Definition at line 47 of file drc_re_panel_matcher.h.

References move, optionalConstraints, panelType, priority, and requiredConstraints.

Member Data Documentation

◆ optionalConstraints

std::set<DRC_CONSTRAINT_T> DRC_PANEL_CLAIM::optionalConstraints

Definition at line 44 of file drc_re_panel_matcher.h.

Referenced by DRC_PANEL_CLAIM(), and DRC_PANEL_MATCHER::matchesClaim().

◆ panelType

DRC_RULE_EDITOR_CONSTRAINT_NAME DRC_PANEL_CLAIM::panelType

Definition at line 42 of file drc_re_panel_matcher.h.

Referenced by DRC_PANEL_CLAIM().

◆ priority

int DRC_PANEL_CLAIM::priority

Definition at line 45 of file drc_re_panel_matcher.h.

Referenced by DRC_PANEL_CLAIM().

◆ requiredConstraints

std::set<DRC_CONSTRAINT_T> DRC_PANEL_CLAIM::requiredConstraints

Definition at line 43 of file drc_re_panel_matcher.h.

Referenced by DRC_PANEL_CLAIM(), and DRC_PANEL_MATCHER::matchesClaim().


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