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

One constraint on a Design Rules page: its board default, the net class values that apply to it, and the rules that override it. More...

#include <panel_setup_constraint_rules.h>

Public Attributes

wxString title
 
std::vector< CONSTRAINT_DEFAULT_FIELD > defaults
 
std::optional< DRC_RULE_EDITOR_CONSTRAINT_NAME > ruleType
 
std::function< std::optional< int >(const NETCLASS &)> netclassValue
 
wxString settingsPage = wxEmptyString
 The group this section's defaults are imported with.
 
NETCLASS_CONSTRAINT_PART netclassPart = NETCLASS_CONSTRAINT_PART::MINIMUM
 What a net class value does to this constraint, where a class can set one.
 

Detailed Description

One constraint on a Design Rules page: its board default, the net class values that apply to it, and the rules that override it.

Definition at line 88 of file panel_setup_constraint_rules.h.

Member Data Documentation

◆ defaults

std::vector<CONSTRAINT_DEFAULT_FIELD> CONSTRAINT_SECTION::defaults

Definition at line 91 of file panel_setup_constraint_rules.h.

◆ netclassPart

NETCLASS_CONSTRAINT_PART CONSTRAINT_SECTION::netclassPart = NETCLASS_CONSTRAINT_PART::MINIMUM

What a net class value does to this constraint, where a class can set one.

Definition at line 99 of file panel_setup_constraint_rules.h.

◆ netclassValue

std::function<std::optional<int>( const NETCLASS& )> CONSTRAINT_SECTION::netclassValue

Definition at line 93 of file panel_setup_constraint_rules.h.

◆ ruleType

std::optional<DRC_RULE_EDITOR_CONSTRAINT_NAME> CONSTRAINT_SECTION::ruleType

Definition at line 92 of file panel_setup_constraint_rules.h.

◆ settingsPage

wxString CONSTRAINT_SECTION::settingsPage = wxEmptyString

The group this section's defaults are imported with.

Definition at line 96 of file panel_setup_constraint_rules.h.

Referenced by importGroup().

◆ title

wxString CONSTRAINT_SECTION::title

Definition at line 90 of file panel_setup_constraint_rules.h.


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