![]() |
KiCad PCB EDA Suite
|
#include <drc_rule.h>
Public Member Functions | |
DRC_CONSTRAINT (DRC_CONSTRAINT_T aType=NULL_CONSTRAINT, const wxString &aName=wxEmptyString) | |
bool | IsNull () const |
const MINOPTMAX< int > & | GetValue () const |
MINOPTMAX< int > & | Value () |
void | SetParentRule (DRC_RULE *aParentRule) |
DRC_RULE * | GetParentRule () const |
wxString | GetName () const |
Public Attributes | |
DRC_CONSTRAINT_T | m_Type |
MINOPTMAX< int > | m_Value |
int | m_DisallowFlags |
Private Attributes | |
wxString | m_name |
DRC_RULE * | m_parentRule |
Definition at line 104 of file drc_rule.h.
|
inline |
Definition at line 107 of file drc_rule.h.
|
inline |
Definition at line 127 of file drc_rule.h.
References _, Format(), DRC_RULE::m_Implicit, DRC_RULE::m_Name, m_name, and m_parentRule.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkewViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCountViolations(), VIA::GetMinAnnulus(), BOARD_CONNECTED_ITEM::GetOwnClearance(), TRACK::GetWidthConstraints(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackAgainstItem().
|
inline |
Definition at line 125 of file drc_rule.h.
References m_parentRule.
Referenced by DRC_TEST_PROVIDER::accountCheck(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkewViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCountViolations(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackAgainstItem().
|
inline |
Definition at line 121 of file drc_rule.h.
References m_Value.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkewViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCountViolations(), DRAWING_TOOL::DrawVia(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::Run(), DRC_TEST_PROVIDER_SILK_TO_MASK::Run(), DRC_TEST_PROVIDER_HOLE_CLEARANCE::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::Run(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances(), DRC_TEST_PROVIDER_HOLE_CLEARANCE::testHoleAgainstHole(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackAgainstItem(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZones().
|
inline |
Definition at line 116 of file drc_rule.h.
References m_Type, and NULL_CONSTRAINT.
Referenced by ROUTER_TOOL::handleLayerSwitch(), and PNS_PCBNEW_RULE_RESOLVER::QueryConstraint().
|
inline |
Definition at line 124 of file drc_rule.h.
References m_parentRule.
Referenced by DRC_RULE::AddConstraint().
|
inline |
Definition at line 122 of file drc_rule.h.
References m_Value.
Referenced by ZONE::BuildSmoothedPoly(), DRC_TEST_PROVIDER_HOLE_SIZE::checkPad(), DRC_TEST_PROVIDER_HOLE_SIZE::checkVia(), BOARD_DESIGN_SETTINGS::GetBiggestClearanceValue(), VIA::GetMinAnnulus(), BOARD_CONNECTED_ITEM::GetOwnClearance(), TRACK::GetWidthConstraints(), DRC_ENGINE::loadImplicitRules(), DRC_TEST_PROVIDER_TRACK_WIDTH::Run(), and DRC_TEST_PROVIDER_ANNULUS::Run().
int DRC_CONSTRAINT::m_DisallowFlags |
Definition at line 143 of file drc_rule.h.
Referenced by DRC_ENGINE::EvalRules(), DRC_ENGINE::loadImplicitRules(), and DRC_RULES_PARSER::parseConstraint().
|
private |
Definition at line 146 of file drc_rule.h.
Referenced by GetName().
|
private |
Definition at line 147 of file drc_rule.h.
Referenced by GetName(), GetParentRule(), and SetParentRule().
DRC_CONSTRAINT_T DRC_CONSTRAINT::m_Type |
Definition at line 141 of file drc_rule.h.
Referenced by DRC_ENGINE::compileRules(), formatConstraint(), IsNull(), and DRC_RULES_PARSER::parseConstraint().
MINOPTMAX<int> DRC_CONSTRAINT::m_Value |
Definition at line 142 of file drc_rule.h.
Referenced by DRC_ENGINE::EvalRules(), GetValue(), ROUTER_TOOL::handleLayerSwitch(), DRC_RULES_PARSER::parseConstraint(), DRC_TEST_PROVIDER_SILK_TO_MASK::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), and Value().