KiCad PCB EDA Suite
DRC_RULE Class Reference

#include <drc_rule.h>

Classes

struct  MINOPTMAX
 

Public Member Functions

 DRC_RULE ()
 

Public Attributes

wxString m_Name
 
int m_ConstraintFlags
 
int m_DisallowFlags
 
MINOPTMAX m_Clearance
 
int m_MinAnnulusWidth
 
MINOPTMAX m_TrackConstraint
 
int m_MinHole
 
wxString m_Condition
 

Detailed Description

Definition at line 53 of file pcbnew/drc/drc_rule.h.

Constructor & Destructor Documentation

◆ DRC_RULE()

DRC_RULE::DRC_RULE ( )
inline

Definition at line 56 of file pcbnew/drc/drc_rule.h.

56  :
57  m_ConstraintFlags( 0 ),
58  m_DisallowFlags( 0 ),
59  m_Clearance( { 0, 0, INT_MAX / 2 } ),
60  m_MinAnnulusWidth( 0 ),
61  m_TrackConstraint( { 0, 0, INT_MAX / 2 } ),
62  m_MinHole( 0 )
63  { }
MINOPTMAX m_TrackConstraint
MINOPTMAX m_Clearance

Member Data Documentation

◆ m_Clearance

◆ m_Condition

wxString DRC_RULE::m_Condition

Definition at line 84 of file pcbnew/drc/drc_rule.h.

Referenced by DRC_RULES_PARSER::parseDRC_RULE().

◆ m_ConstraintFlags

int DRC_RULE::m_ConstraintFlags

◆ m_DisallowFlags

int DRC_RULE::m_DisallowFlags

◆ m_MinAnnulusWidth

int DRC_RULE::m_MinAnnulusWidth

Definition at line 80 of file pcbnew/drc/drc_rule.h.

Referenced by VIA::GetMinAnnulus(), and DRC_RULES_PARSER::parseConstraint().

◆ m_MinHole

◆ m_Name

◆ m_TrackConstraint

MINOPTMAX DRC_RULE::m_TrackConstraint

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