KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRC_ITEM Class Reference

#include <drc_item.h>

Inheritance diagram for DRC_ITEM:
RC_ITEM

Public Types

typedef std::vector< KIIDKIIDS
 

Public Member Functions

void SetViolatingRule (DRC_RULE *aRule)
 
DRC_RULEGetViolatingRule () const
 
wxString GetViolatingRuleDesc (bool aTranslate) const override
 
void SetViolatingTest (DRC_TEST_PROVIDER *aProvider)
 
DRC_TEST_PROVIDERGetViolatingTest () const
 
KIID GetAuxItem2ID () const override
 
KIID GetAuxItem3ID () const override
 
void SetErrorMessage (const wxString &aMessage)
 
void SetErrorDetail (const wxString &aMsg)
 
void SetItems (const KIIDS &aIds)
 
void SetItems (const EDA_ITEM *aItem, const EDA_ITEM *bItem=nullptr, const EDA_ITEM *cItem=nullptr, const EDA_ITEM *dItem=nullptr)
 
void SetItems (const KIID &aItem, const KIID &bItem=niluuid, const KIID &cItem=niluuid, const KIID &dItem=niluuid)
 
void AddItem (EDA_ITEM *aItem)
 
virtual KIID GetMainItemID () const
 
virtual KIID GetAuxItemID () const
 
std::vector< KIIDGetIDs () const
 
void SetParent (MARKER_BASE *aMarker)
 
MARKER_BASEGetParent () const
 
virtual wxString ShowReport (UNITS_PROVIDER *aUnitsProvider, SEVERITY aSeverity, const std::map< KIID, EDA_ITEM * > &aItemMap) const
 Translate this object into a text string suitable for saving to disk in a report.
 
virtual void GetJsonViolation (RC_JSON::VIOLATION &aViolation, UNITS_PROVIDER *aUnitsProvider, SEVERITY aSeverity, const std::map< KIID, EDA_ITEM * > &aItemMap) const
 Translate this object into an RC_JSON::VIOLATION object.
 
int GetErrorCode () const
 
void SetErrorCode (int aCode)
 
virtual wxString GetErrorMessage (bool aTranslate) const
 
wxString GetErrorText (bool aTranslate) const
 
wxString GetSettingsKey () const
 

Static Public Member Functions

static std::shared_ptr< DRC_ITEMCreate (int aErrorCode)
 Constructs a DRC_ITEM for the given error code.
 
static std::shared_ptr< DRC_ITEMCreate (const wxString &aErrorKey)
 Constructs a DRC item from a given error settings key.
 
static std::vector< std::reference_wrapper< RC_ITEM > > GetItemsWithSeverities ()
 

Static Protected Member Functions

static wxString getSeverityString (SEVERITY aSeverity)
 

Protected Attributes

int m_errorCode
 The error code's numeric value.
 
wxString m_errorMessage
 A message describing the details of this specific error.
 
wxString m_errorTitle
 The string describing the type of error.
 
wxString m_settingsKey
 The key used to describe this type of error in settings.
 
MARKER_BASEm_parent
 The marker this item belongs to, if any.
 
KIIDS m_ids
 

Private Member Functions

 DRC_ITEM (int aErrorCode=0, const wxString &aTitle="", const wxString &aSettingsKey="")
 

Private Attributes

DRC_RULEm_violatingRule = nullptr
 
DRC_TEST_PROVIDERm_violatingTest = nullptr
 

Static Private Attributes

static std::vector< std::reference_wrapper< RC_ITEM > > allItemTypes
 A list of all DRC_ITEM types which are valid error codes.
 
static DRC_ITEM heading_electrical
 
static DRC_ITEM heading_DFM
 
static DRC_ITEM heading_schematic_parity
 
static DRC_ITEM heading_signal_integrity
 
static DRC_ITEM heading_readability
 
static DRC_ITEM heading_misc
 
static DRC_ITEM heading_internal
 
static DRC_ITEM heading_deprecated
 
static DRC_ITEM unconnectedItems
 
static DRC_ITEM shortingItems
 
static DRC_ITEM itemsNotAllowed
 
static DRC_ITEM textOnEdgeCuts
 
static DRC_ITEM clearance
 
static DRC_ITEM creepage
 
static DRC_ITEM tracksCrossing
 
static DRC_ITEM edgeClearance
 
static DRC_ITEM zonesIntersect
 
static DRC_ITEM isolatedCopper
 
static DRC_ITEM starvedThermal
 
static DRC_ITEM viaDangling
 
static DRC_ITEM trackDangling
 
static DRC_ITEM holeNearHole
 
static DRC_ITEM holesCoLocated
 
static DRC_ITEM holeClearance
 
static DRC_ITEM connectionWidth
 
static DRC_ITEM trackWidth
 
static DRC_ITEM trackAngle
 
static DRC_ITEM trackSegmentLength
 
static DRC_ITEM annularWidth
 
static DRC_ITEM drillTooSmall
 
static DRC_ITEM viaDiameter
 
static DRC_ITEM padstack
 
static DRC_ITEM padstackInvalid
 
static DRC_ITEM microviaDrillTooSmall
 
static DRC_ITEM courtyardsOverlap
 
static DRC_ITEM missingCourtyard
 
static DRC_ITEM malformedCourtyard
 
static DRC_ITEM pthInsideCourtyard
 
static DRC_ITEM npthInsideCourtyard
 
static DRC_ITEM itemOnDisabledLayer
 
static DRC_ITEM invalidOutline
 
static DRC_ITEM duplicateFootprints
 
static DRC_ITEM missingFootprint
 
static DRC_ITEM extraFootprint
 
static DRC_ITEM netConflict
 
static DRC_ITEM schematicParity
 
static DRC_ITEM footprintFilters
 
static DRC_ITEM libFootprintIssues
 
static DRC_ITEM libFootprintMismatch
 
static DRC_ITEM unresolvedVariable
 
static DRC_ITEM assertionFailure
 
static DRC_ITEM genericWarning
 
static DRC_ITEM genericError
 
static DRC_ITEM copperSliver
 
static DRC_ITEM silkMaskClearance
 
static DRC_ITEM silkEdgeClearance
 
static DRC_ITEM solderMaskBridge
 
static DRC_ITEM silkClearance
 
static DRC_ITEM textHeightOutOfRange
 
static DRC_ITEM textThicknessOutOfRange
 
static DRC_ITEM lengthOutOfRange
 
static DRC_ITEM skewOutOfRange
 
static DRC_ITEM viaCountOutOfRange
 
static DRC_ITEM diffPairGapOutOfRange
 
static DRC_ITEM diffPairUncoupledLengthTooLong
 
static DRC_ITEM footprint
 
static DRC_ITEM footprintTypeMismatch
 
static DRC_ITEM footprintTHPadhasNoHole
 
static DRC_ITEM mirroredTextOnFrontLayer
 
static DRC_ITEM nonMirroredTextOnBackLayer
 
static DRC_ITEM missingTuningProfile
 
static DRC_ITEM tuningProfileImplicitRules
 
static DRC_ITEM trackOnPostMachinedLayer
 
static DRC_ITEM schematicFieldsParity
 

Detailed Description

Definition at line 124 of file drc_item.h.

Member Typedef Documentation

◆ KIIDS

typedef std::vector<KIID> RC_ITEM::KIIDS
inherited

Definition at line 83 of file rc_item.h.

Constructor & Destructor Documentation

◆ DRC_ITEM()

DRC_ITEM::DRC_ITEM ( int aErrorCode = 0,
const wxString & aTitle = "",
const wxString & aSettingsKey = "" )
inlineprivate

Definition at line 171 of file drc_item.h.

References RC_ITEM::m_errorCode, RC_ITEM::m_errorTitle, RC_ITEM::m_parent, and RC_ITEM::m_settingsKey.

Referenced by Create().

Member Function Documentation

◆ AddItem()

void RC_ITEM::AddItem ( EDA_ITEM * aItem)
inherited

Definition at line 56 of file rc_item.cpp.

References m_ids, and EDA_ITEM::m_Uuid.

◆ Create() [1/2]

std::shared_ptr< DRC_ITEM > DRC_ITEM::Create ( const wxString & aErrorKey)
static

Constructs a DRC item from a given error settings key.

Parameters
aErrorKeyis a settings key for an error code (the untranslated string that is used to represent a given error code in settings files and for storing ignored DRC items)
Returns
the created item

Definition at line 476 of file drc_item.cpp.

References allItemTypes, DRC_ITEM(), and RC_ITEM::RC_ITEM().

◆ Create() [2/2]

std::shared_ptr< DRC_ITEM > DRC_ITEM::Create ( int aErrorCode)
static

Constructs a DRC_ITEM for the given error code.

See also
DRCE_T

Definition at line 400 of file drc_item.cpp.

References annularWidth, assertionFailure, clearance, connectionWidth, copperSliver, courtyardsOverlap, creepage, diffPairGapOutOfRange, diffPairUncoupledLengthTooLong, DRCE_ALLOWED_ITEMS, DRCE_ANNULAR_WIDTH, DRCE_ASSERTION_FAILURE, DRCE_CLEARANCE, DRCE_CONNECTION_WIDTH, DRCE_COPPER_SLIVER, DRCE_CREEPAGE, DRCE_DANGLING_TRACK, DRCE_DANGLING_VIA, DRCE_DIFF_PAIR_GAP_OUT_OF_RANGE, DRCE_DIFF_PAIR_UNCOUPLED_LENGTH_TOO_LONG, DRCE_DISABLED_LAYER_ITEM, DRCE_DRILL_OUT_OF_RANGE, DRCE_DRILLED_HOLES_COLOCATED, DRCE_DRILLED_HOLES_TOO_CLOSE, DRCE_DUPLICATE_FOOTPRINT, DRCE_EDGE_CLEARANCE, DRCE_EXTRA_FOOTPRINT, DRCE_FOOTPRINT, DRCE_FOOTPRINT_FILTERS, DRCE_FOOTPRINT_TYPE_MISMATCH, DRCE_GENERIC_ERROR, DRCE_GENERIC_WARNING, DRCE_HOLE_CLEARANCE, DRCE_INVALID_OUTLINE, DRCE_ISOLATED_COPPER, DRCE_LENGTH_OUT_OF_RANGE, DRCE_LIB_FOOTPRINT_ISSUES, DRCE_LIB_FOOTPRINT_MISMATCH, DRCE_MALFORMED_COURTYARD, DRCE_MICROVIA_DRILL_OUT_OF_RANGE, DRCE_MIRRORED_TEXT_ON_FRONT_LAYER, DRCE_MISSING_COURTYARD, DRCE_MISSING_FOOTPRINT, DRCE_MISSING_TUNING_PROFILE, DRCE_NET_CONFLICT, DRCE_NONMIRRORED_TEXT_ON_BACK_LAYER, DRCE_NPTH_IN_COURTYARD, DRCE_OVERLAPPING_FOOTPRINTS, DRCE_PAD_TH_WITH_NO_HOLE, DRCE_PADSTACK, DRCE_PADSTACK_INVALID, DRCE_PTH_IN_COURTYARD, DRCE_SCHEMATIC_FIELDS_PARITY, DRCE_SCHEMATIC_PARITY, DRCE_SHORTING_ITEMS, DRCE_SILK_CLEARANCE, DRCE_SILK_EDGE_CLEARANCE, DRCE_SILK_MASK_CLEARANCE, DRCE_SKEW_OUT_OF_RANGE, DRCE_SOLDERMASK_BRIDGE, DRCE_STARVED_THERMAL, DRCE_TEXT_HEIGHT, DRCE_TEXT_ON_EDGECUTS, DRCE_TEXT_THICKNESS, DRCE_TRACK_ANGLE, DRCE_TRACK_ON_POST_MACHINED_LAYER, DRCE_TRACK_SEGMENT_LENGTH, DRCE_TRACK_WIDTH, DRCE_TRACKS_CROSSING, DRCE_UNCONNECTED_ITEMS, DRCE_UNRESOLVED_VARIABLE, DRCE_VIA_COUNT_OUT_OF_RANGE, DRCE_VIA_DIAMETER, DRCE_ZONES_INTERSECT, drillTooSmall, duplicateFootprints, edgeClearance, extraFootprint, footprint, footprintFilters, footprintTHPadhasNoHole, footprintTypeMismatch, genericError, genericWarning, holeClearance, holeNearHole, holesCoLocated, invalidOutline, isolatedCopper, itemOnDisabledLayer, itemsNotAllowed, lengthOutOfRange, libFootprintIssues, libFootprintMismatch, malformedCourtyard, microviaDrillTooSmall, mirroredTextOnFrontLayer, missingCourtyard, missingFootprint, missingTuningProfile, netConflict, nonMirroredTextOnBackLayer, npthInsideCourtyard, padstack, padstackInvalid, pthInsideCourtyard, schematicFieldsParity, schematicParity, shortingItems, silkClearance, silkEdgeClearance, silkMaskClearance, skewOutOfRange, solderMaskBridge, starvedThermal, textHeightOutOfRange, textOnEdgeCuts, textThicknessOutOfRange, trackAngle, trackDangling, trackOnPostMachinedLayer, tracksCrossing, trackSegmentLength, trackWidth, unconnectedItems, unresolvedVariable, viaCountOutOfRange, viaDangling, viaDiameter, and zonesIntersect.

Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengths(), DRC_TEST_PROVIDER_HOLE_SIZE::checkPadHole(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkews(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCounts(), DRC_TEST_PROVIDER_HOLE_SIZE::checkViaHole(), DRC_BASE_FIXTURE::createAndVerifyAdditionalUnconnectedExclusions(), PCB_MARKER::DeserializeFromString(), API_HANDLER_PCB::handleInjectDrcError(), BOARD_DESIGN_SETTINGS::LoadFromFile(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::resolveSilkDisposition(), DRC_TEST_PROVIDER_ANNULAR_WIDTH::Run(), DRC_TEST_PROVIDER_CONNECTION_WIDTH::Run(), DRC_TEST_PROVIDER_CONNECTIVITY::Run(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_FOOTPRINT_CHECKS::Run(), DRC_TEST_PROVIDER_LIBRARY_PARITY::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), DRC_TEST_PROVIDER_TEXT_MIRRORING::Run(), DRC_TEST_PROVIDER_TRACK_ANGLE::Run(), DRC_TEST_PROVIDER_TRACK_SEGMENT_LENGTH::Run(), DRC_TEST_PROVIDER_TRACK_WIDTH::Run(), DRC_TEST_PROVIDER_VIA_DIAMETER::Run(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), DIALOG_FOOTPRINT_CHECKER::runChecks(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge(), DRC_TEST_PROVIDER_MISC::testAssertions(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances(), DRC_TEST_PROVIDER_CREEPAGE::testCreepage(), DRC_TEST_PROVIDER_MISC::testDisabledLayers(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testFootprintCourtyardDefinitions(), DRC_TEST_PROVIDER_HOLE_TO_HOLE::testHoleAgainstHole(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DRC_TEST_PROVIDER_SOLDER_MASK::testItemAgainstItems(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testKnockoutTextAgainstZone(), DRC_TEST_PROVIDER_SOLDER_MASK::testMaskItemAgainstZones(), DRC_TEST_PROVIDER_MISC::testMissingTuningProfiles(), DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist(), DRC_TEST_PROVIDER_MISC::testOutline(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testShapeLineChain(), DRC_TEST_PROVIDER_SOLDER_MASK::testSilkToMaskClearance(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testSingleLayerItemAgainstItem(), DRC_TEST_PROVIDER_MISC::testTextVars(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testZoneLayer(), DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZonesToZones().

◆ GetAuxItem2ID()

KIID DRC_ITEM::GetAuxItem2ID ( ) const
overridevirtual

Reimplemented from RC_ITEM.

Definition at line 489 of file drc_item.cpp.

References DRCE_DIFF_PAIR_UNCOUPLED_LENGTH_TOO_LONG, RC_ITEM::m_errorCode, RC_ITEM::m_ids, and niluuid.

◆ GetAuxItem3ID()

KIID DRC_ITEM::GetAuxItem3ID ( ) const
overridevirtual

Reimplemented from RC_ITEM.

Definition at line 501 of file drc_item.cpp.

References DRCE_DIFF_PAIR_UNCOUPLED_LENGTH_TOO_LONG, RC_ITEM::m_errorCode, RC_ITEM::m_ids, and niluuid.

◆ GetAuxItemID()

virtual KIID RC_ITEM::GetAuxItemID ( ) const
inlinevirtualinherited

Definition at line 126 of file rc_item.h.

References m_ids, and niluuid.

Referenced by GetJsonViolation(), and ShowReport().

◆ GetErrorCode()

◆ GetErrorMessage()

wxString RC_ITEM::GetErrorMessage ( bool aTranslate) const
virtualinherited
Returns
the error message describing the specific details of a RC_ITEM. For instance, "Clearance violation (netclass '100ohm' clearance 0.4000mm; actual 0.3200mm)"

Definition at line 39 of file rc_item.cpp.

References GetErrorText(), and m_errorMessage.

Referenced by BOOST_FIXTURE_TEST_CASE(), GetJsonViolation(), and ShowReport().

◆ GetErrorText()

wxString RC_ITEM::GetErrorText ( bool aTranslate) const
inlineinherited
Returns
the error text for the class of error of this RC_ITEM represents. For instance, "Clearance violation".

Definition at line 171 of file rc_item.h.

References m_errorTitle.

Referenced by GetErrorMessage(), and SetErrorDetail().

◆ GetIDs()

std::vector< KIID > RC_ITEM::GetIDs ( ) const
inlineinherited

Definition at line 130 of file rc_item.h.

References m_ids.

Referenced by BOARD::ResolveDRCExclusions().

◆ GetItemsWithSeverities()

static std::vector< std::reference_wrapper< RC_ITEM > > DRC_ITEM::GetItemsWithSeverities ( )
inlinestatic

◆ GetJsonViolation()

void RC_ITEM::GetJsonViolation ( RC_JSON::VIOLATION & aViolation,
UNITS_PROVIDER * aUnitsProvider,
SEVERITY aSeverity,
const std::map< KIID, EDA_ITEM * > & aItemMap ) const
virtualinherited

◆ GetMainItemID()

virtual KIID RC_ITEM::GetMainItemID ( ) const
inlinevirtualinherited

Definition at line 125 of file rc_item.h.

References m_ids, and niluuid.

Referenced by GetJsonViolation(), and ShowReport().

◆ GetParent()

MARKER_BASE * RC_ITEM::GetParent ( ) const
inlineinherited

◆ GetSettingsKey()

wxString RC_ITEM::GetSettingsKey ( ) const
inlineinherited

Definition at line 179 of file rc_item.h.

References m_settingsKey.

Referenced by GetJsonViolation(), SCHEMATIC::ResolveERCExclusions(), and ShowReport().

◆ getSeverityString()

wxString RC_ITEM::getSeverityString ( SEVERITY aSeverity)
staticprotectedinherited

◆ GetViolatingRule()

DRC_RULE * DRC_ITEM::GetViolatingRule ( ) const
inline

Definition at line 160 of file drc_item.h.

References m_violatingRule.

Referenced by PCB_MARKER::GetSeverity(), and DIALOG_DRC::OnDRCItemRClick().

◆ GetViolatingRuleDesc()

wxString DRC_ITEM::GetViolatingRuleDesc ( bool aTranslate) const
overridevirtual

Reimplemented from RC_ITEM.

Definition at line 513 of file drc_item.cpp.

References _, and m_violatingRule.

◆ GetViolatingTest()

DRC_TEST_PROVIDER * DRC_ITEM::GetViolatingTest ( ) const
inline

Definition at line 165 of file drc_item.h.

References m_violatingTest.

◆ SetErrorCode()

void RC_ITEM::SetErrorCode ( int aCode)
inlineinherited

Definition at line 159 of file rc_item.h.

References m_errorCode.

◆ SetErrorDetail()

void RC_ITEM::SetErrorDetail ( const wxString & aMsg)
inlineinherited

Definition at line 105 of file rc_item.h.

References GetErrorText(), and SetErrorMessage().

◆ SetErrorMessage()

void RC_ITEM::SetErrorMessage ( const wxString & aMessage)
inlineinherited

Definition at line 103 of file rc_item.h.

References m_errorMessage.

Referenced by SetErrorDetail().

◆ SetItems() [1/3]

void RC_ITEM::SetItems ( const EDA_ITEM * aItem,
const EDA_ITEM * bItem = nullptr,
const EDA_ITEM * cItem = nullptr,
const EDA_ITEM * dItem = nullptr )
inherited

Definition at line 62 of file rc_item.cpp.

References m_ids, and EDA_ITEM::m_Uuid.

◆ SetItems() [2/3]

void RC_ITEM::SetItems ( const KIID & aItem,
const KIID & bItem = niluuid,
const KIID & cItem = niluuid,
const KIID & dItem = niluuid )
inlineinherited

Definition at line 114 of file rc_item.h.

References m_ids, and niluuid.

◆ SetItems() [3/3]

void RC_ITEM::SetItems ( const KIIDS & aIds)
inlineinherited

Definition at line 107 of file rc_item.h.

References m_ids.

◆ SetParent()

void RC_ITEM::SetParent ( MARKER_BASE * aMarker)
inlineinherited

Definition at line 132 of file rc_item.h.

References m_parent.

◆ SetViolatingRule()

void DRC_ITEM::SetViolatingRule ( DRC_RULE * aRule)
inline

Definition at line 159 of file drc_item.h.

References m_violatingRule.

◆ SetViolatingTest()

void DRC_ITEM::SetViolatingTest ( DRC_TEST_PROVIDER * aProvider)
inline

Definition at line 164 of file drc_item.h.

References m_violatingTest.

◆ ShowReport()

wxString RC_ITEM::ShowReport ( UNITS_PROVIDER * aUnitsProvider,
SEVERITY aSeverity,
const std::map< KIID, EDA_ITEM * > & aItemMap ) const
virtualinherited

Translate this object into a text string suitable for saving to disk in a report.

Returns
wxString - the simple multi-line report text.

Definition at line 100 of file rc_item.cpp.

References GetAuxItemID(), GetErrorMessage(), EDA_ITEM::GetItemDescription(), GetMainItemID(), EDA_ITEM::GetPosition(), GetSettingsKey(), getSeverityString(), GetViolatingRuleDesc(), m_parent, and showCoord().

Referenced by BOOST_DATA_TEST_CASE_F().

Member Data Documentation

◆ allItemTypes

std::vector< std::reference_wrapper< RC_ITEM > > DRC_ITEM::allItemTypes
staticprivate

A list of all DRC_ITEM types which are valid error codes.

Definition at line 180 of file drc_item.h.

Referenced by Create(), and GetItemsWithSeverities().

◆ annularWidth

DRC_ITEM DRC_ITEM::annularWidth
staticprivate

Definition at line 211 of file drc_item.h.

Referenced by Create().

◆ assertionFailure

DRC_ITEM DRC_ITEM::assertionFailure
staticprivate

Definition at line 233 of file drc_item.h.

Referenced by Create().

◆ clearance

DRC_ITEM DRC_ITEM::clearance
staticprivate

Definition at line 195 of file drc_item.h.

Referenced by Create().

◆ connectionWidth

DRC_ITEM DRC_ITEM::connectionWidth
staticprivate

Definition at line 207 of file drc_item.h.

Referenced by Create().

◆ copperSliver

DRC_ITEM DRC_ITEM::copperSliver
staticprivate

Definition at line 236 of file drc_item.h.

Referenced by Create().

◆ courtyardsOverlap

DRC_ITEM DRC_ITEM::courtyardsOverlap
staticprivate

Definition at line 217 of file drc_item.h.

Referenced by Create().

◆ creepage

DRC_ITEM DRC_ITEM::creepage
staticprivate

Definition at line 196 of file drc_item.h.

Referenced by Create().

◆ diffPairGapOutOfRange

DRC_ITEM DRC_ITEM::diffPairGapOutOfRange
staticprivate

Definition at line 246 of file drc_item.h.

Referenced by Create().

◆ diffPairUncoupledLengthTooLong

DRC_ITEM DRC_ITEM::diffPairUncoupledLengthTooLong
staticprivate

Definition at line 247 of file drc_item.h.

Referenced by Create().

◆ drillTooSmall

DRC_ITEM DRC_ITEM::drillTooSmall
staticprivate

Definition at line 212 of file drc_item.h.

Referenced by Create().

◆ duplicateFootprints

DRC_ITEM DRC_ITEM::duplicateFootprints
staticprivate

Definition at line 224 of file drc_item.h.

Referenced by Create().

◆ edgeClearance

DRC_ITEM DRC_ITEM::edgeClearance
staticprivate

Definition at line 198 of file drc_item.h.

Referenced by Create().

◆ extraFootprint

DRC_ITEM DRC_ITEM::extraFootprint
staticprivate

Definition at line 226 of file drc_item.h.

Referenced by Create().

◆ footprint

DRC_ITEM DRC_ITEM::footprint
staticprivate

Definition at line 248 of file drc_item.h.

Referenced by Create().

◆ footprintFilters

DRC_ITEM DRC_ITEM::footprintFilters
staticprivate

Definition at line 229 of file drc_item.h.

Referenced by Create().

◆ footprintTHPadhasNoHole

DRC_ITEM DRC_ITEM::footprintTHPadhasNoHole
staticprivate

Definition at line 250 of file drc_item.h.

Referenced by Create().

◆ footprintTypeMismatch

DRC_ITEM DRC_ITEM::footprintTypeMismatch
staticprivate

Definition at line 249 of file drc_item.h.

Referenced by Create().

◆ genericError

DRC_ITEM DRC_ITEM::genericError
staticprivate

Definition at line 235 of file drc_item.h.

Referenced by Create().

◆ genericWarning

DRC_ITEM DRC_ITEM::genericWarning
staticprivate

Definition at line 234 of file drc_item.h.

Referenced by Create().

◆ heading_deprecated

DRC_ITEM DRC_ITEM::heading_deprecated
staticprivate

Definition at line 189 of file drc_item.h.

◆ heading_DFM

DRC_ITEM DRC_ITEM::heading_DFM
staticprivate

Definition at line 183 of file drc_item.h.

◆ heading_electrical

DRC_ITEM DRC_ITEM::heading_electrical
staticprivate

Definition at line 182 of file drc_item.h.

◆ heading_internal

DRC_ITEM DRC_ITEM::heading_internal
staticprivate

Definition at line 188 of file drc_item.h.

Referenced by GetItemsWithSeverities().

◆ heading_misc

DRC_ITEM DRC_ITEM::heading_misc
staticprivate

Definition at line 187 of file drc_item.h.

◆ heading_readability

DRC_ITEM DRC_ITEM::heading_readability
staticprivate

Definition at line 186 of file drc_item.h.

◆ heading_schematic_parity

DRC_ITEM DRC_ITEM::heading_schematic_parity
staticprivate

Definition at line 184 of file drc_item.h.

◆ heading_signal_integrity

DRC_ITEM DRC_ITEM::heading_signal_integrity
staticprivate

Definition at line 185 of file drc_item.h.

◆ holeClearance

DRC_ITEM DRC_ITEM::holeClearance
staticprivate

Definition at line 206 of file drc_item.h.

Referenced by Create().

◆ holeNearHole

DRC_ITEM DRC_ITEM::holeNearHole
staticprivate

Definition at line 204 of file drc_item.h.

Referenced by Create().

◆ holesCoLocated

DRC_ITEM DRC_ITEM::holesCoLocated
staticprivate

Definition at line 205 of file drc_item.h.

Referenced by Create().

◆ invalidOutline

DRC_ITEM DRC_ITEM::invalidOutline
staticprivate

Definition at line 223 of file drc_item.h.

Referenced by Create().

◆ isolatedCopper

DRC_ITEM DRC_ITEM::isolatedCopper
staticprivate

Definition at line 200 of file drc_item.h.

Referenced by Create().

◆ itemOnDisabledLayer

DRC_ITEM DRC_ITEM::itemOnDisabledLayer
staticprivate

Definition at line 222 of file drc_item.h.

Referenced by Create().

◆ itemsNotAllowed

DRC_ITEM DRC_ITEM::itemsNotAllowed
staticprivate

Definition at line 193 of file drc_item.h.

Referenced by Create().

◆ lengthOutOfRange

DRC_ITEM DRC_ITEM::lengthOutOfRange
staticprivate

Definition at line 243 of file drc_item.h.

Referenced by Create().

◆ libFootprintIssues

DRC_ITEM DRC_ITEM::libFootprintIssues
staticprivate

Definition at line 230 of file drc_item.h.

Referenced by Create().

◆ libFootprintMismatch

DRC_ITEM DRC_ITEM::libFootprintMismatch
staticprivate

Definition at line 231 of file drc_item.h.

Referenced by Create().

◆ m_errorCode

int RC_ITEM::m_errorCode
protectedinherited

◆ m_errorMessage

wxString RC_ITEM::m_errorMessage
protectedinherited

A message describing the details of this specific error.

Definition at line 193 of file rc_item.h.

Referenced by GetErrorMessage(), RC_ITEM(), and SetErrorMessage().

◆ m_errorTitle

wxString RC_ITEM::m_errorTitle
protectedinherited

The string describing the type of error.

Definition at line 194 of file rc_item.h.

Referenced by CLEANUP_ITEM::CLEANUP_ITEM(), DRC_ITEM::DRC_ITEM(), ERC_ITEM::ERC_ITEM(), GetErrorText(), and RC_ITEM().

◆ m_ids

◆ m_parent

MARKER_BASE* RC_ITEM::m_parent
protectedinherited

The marker this item belongs to, if any.

Definition at line 196 of file rc_item.h.

Referenced by DRC_ITEM::DRC_ITEM(), GetJsonViolation(), GetParent(), RC_ITEM(), RC_ITEM(), SetParent(), and ShowReport().

◆ m_settingsKey

wxString RC_ITEM::m_settingsKey
protectedinherited

The key used to describe this type of error in settings.

Definition at line 195 of file rc_item.h.

Referenced by DRC_ITEM::DRC_ITEM(), ERC_ITEM::ERC_ITEM(), GetSettingsKey(), and RC_ITEM().

◆ m_violatingRule

DRC_RULE* DRC_ITEM::m_violatingRule = nullptr
private

Definition at line 259 of file drc_item.h.

Referenced by GetViolatingRule(), GetViolatingRuleDesc(), and SetViolatingRule().

◆ m_violatingTest

DRC_TEST_PROVIDER* DRC_ITEM::m_violatingTest = nullptr
private

Definition at line 260 of file drc_item.h.

Referenced by GetViolatingTest(), and SetViolatingTest().

◆ malformedCourtyard

DRC_ITEM DRC_ITEM::malformedCourtyard
staticprivate

Definition at line 219 of file drc_item.h.

Referenced by Create().

◆ microviaDrillTooSmall

DRC_ITEM DRC_ITEM::microviaDrillTooSmall
staticprivate

Definition at line 216 of file drc_item.h.

Referenced by Create().

◆ mirroredTextOnFrontLayer

DRC_ITEM DRC_ITEM::mirroredTextOnFrontLayer
staticprivate

Definition at line 251 of file drc_item.h.

Referenced by Create().

◆ missingCourtyard

DRC_ITEM DRC_ITEM::missingCourtyard
staticprivate

Definition at line 218 of file drc_item.h.

Referenced by Create().

◆ missingFootprint

DRC_ITEM DRC_ITEM::missingFootprint
staticprivate

Definition at line 225 of file drc_item.h.

Referenced by Create().

◆ missingTuningProfile

DRC_ITEM DRC_ITEM::missingTuningProfile
staticprivate

Definition at line 253 of file drc_item.h.

Referenced by Create().

◆ netConflict

DRC_ITEM DRC_ITEM::netConflict
staticprivate

Definition at line 227 of file drc_item.h.

Referenced by Create().

◆ nonMirroredTextOnBackLayer

DRC_ITEM DRC_ITEM::nonMirroredTextOnBackLayer
staticprivate

Definition at line 252 of file drc_item.h.

Referenced by Create().

◆ npthInsideCourtyard

DRC_ITEM DRC_ITEM::npthInsideCourtyard
staticprivate

Definition at line 221 of file drc_item.h.

Referenced by Create().

◆ padstack

DRC_ITEM DRC_ITEM::padstack
staticprivate

Definition at line 214 of file drc_item.h.

Referenced by Create().

◆ padstackInvalid

DRC_ITEM DRC_ITEM::padstackInvalid
staticprivate

Definition at line 215 of file drc_item.h.

Referenced by Create().

◆ pthInsideCourtyard

DRC_ITEM DRC_ITEM::pthInsideCourtyard
staticprivate

Definition at line 220 of file drc_item.h.

Referenced by Create().

◆ schematicFieldsParity

DRC_ITEM DRC_ITEM::schematicFieldsParity
staticprivate

Definition at line 256 of file drc_item.h.

Referenced by Create().

◆ schematicParity

DRC_ITEM DRC_ITEM::schematicParity
staticprivate

Definition at line 228 of file drc_item.h.

Referenced by Create().

◆ shortingItems

DRC_ITEM DRC_ITEM::shortingItems
staticprivate

Definition at line 192 of file drc_item.h.

Referenced by Create().

◆ silkClearance

DRC_ITEM DRC_ITEM::silkClearance
staticprivate

Definition at line 240 of file drc_item.h.

Referenced by Create().

◆ silkEdgeClearance

DRC_ITEM DRC_ITEM::silkEdgeClearance
staticprivate

Definition at line 238 of file drc_item.h.

Referenced by Create().

◆ silkMaskClearance

DRC_ITEM DRC_ITEM::silkMaskClearance
staticprivate

Definition at line 237 of file drc_item.h.

Referenced by Create().

◆ skewOutOfRange

DRC_ITEM DRC_ITEM::skewOutOfRange
staticprivate

Definition at line 244 of file drc_item.h.

Referenced by Create().

◆ solderMaskBridge

DRC_ITEM DRC_ITEM::solderMaskBridge
staticprivate

Definition at line 239 of file drc_item.h.

Referenced by Create().

◆ starvedThermal

DRC_ITEM DRC_ITEM::starvedThermal
staticprivate

Definition at line 201 of file drc_item.h.

Referenced by Create().

◆ textHeightOutOfRange

DRC_ITEM DRC_ITEM::textHeightOutOfRange
staticprivate

Definition at line 241 of file drc_item.h.

Referenced by Create().

◆ textOnEdgeCuts

DRC_ITEM DRC_ITEM::textOnEdgeCuts
staticprivate

Definition at line 194 of file drc_item.h.

Referenced by Create().

◆ textThicknessOutOfRange

DRC_ITEM DRC_ITEM::textThicknessOutOfRange
staticprivate

Definition at line 242 of file drc_item.h.

Referenced by Create().

◆ trackAngle

DRC_ITEM DRC_ITEM::trackAngle
staticprivate

Definition at line 209 of file drc_item.h.

Referenced by Create().

◆ trackDangling

DRC_ITEM DRC_ITEM::trackDangling
staticprivate

Definition at line 203 of file drc_item.h.

Referenced by Create().

◆ trackOnPostMachinedLayer

DRC_ITEM DRC_ITEM::trackOnPostMachinedLayer
staticprivate

Definition at line 255 of file drc_item.h.

Referenced by Create().

◆ tracksCrossing

DRC_ITEM DRC_ITEM::tracksCrossing
staticprivate

Definition at line 197 of file drc_item.h.

Referenced by Create().

◆ trackSegmentLength

DRC_ITEM DRC_ITEM::trackSegmentLength
staticprivate

Definition at line 210 of file drc_item.h.

Referenced by Create().

◆ trackWidth

DRC_ITEM DRC_ITEM::trackWidth
staticprivate

Definition at line 208 of file drc_item.h.

Referenced by Create().

◆ tuningProfileImplicitRules

DRC_ITEM DRC_ITEM::tuningProfileImplicitRules
staticprivate

Definition at line 254 of file drc_item.h.

◆ unconnectedItems

DRC_ITEM DRC_ITEM::unconnectedItems
staticprivate

Definition at line 191 of file drc_item.h.

Referenced by Create().

◆ unresolvedVariable

DRC_ITEM DRC_ITEM::unresolvedVariable
staticprivate

Definition at line 232 of file drc_item.h.

Referenced by Create().

◆ viaCountOutOfRange

DRC_ITEM DRC_ITEM::viaCountOutOfRange
staticprivate

Definition at line 245 of file drc_item.h.

Referenced by Create().

◆ viaDangling

DRC_ITEM DRC_ITEM::viaDangling
staticprivate

Definition at line 202 of file drc_item.h.

Referenced by Create().

◆ viaDiameter

DRC_ITEM DRC_ITEM::viaDiameter
staticprivate

Definition at line 213 of file drc_item.h.

Referenced by Create().

◆ zonesIntersect

DRC_ITEM DRC_ITEM::zonesIntersect
staticprivate

Definition at line 199 of file drc_item.h.

Referenced by Create().


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