KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SCH_CONNECTIVITY::HIERARCHY_ERROR Struct Reference

A hierarchical label or sheet pin with no partner, or a dangling sheet pin. More...

#include <conn_engine.h>

Public Types

enum class  KIND { ROOT_LABEL , DANGLING_PIN , MISSING_LABEL , MISSING_PIN }
 

Public Attributes

KIID_PATH sheet
 
KIID item
 
VECTOR2I position
 
wxString name
 
KIND kind = KIND::ROOT_LABEL
 
std::vector< KIIDequivalentItems
 For a missing partner, all same-named labels or sheet pins.
 

Detailed Description

A hierarchical label or sheet pin with no partner, or a dangling sheet pin.

ERC raises ERCE_HIERACHICAL_LABEL for a missing partner and ERCE_PIN_NOT_CONNECTED for the other kinds.

Definition at line 330 of file conn_engine.h.

Member Enumeration Documentation

◆ KIND

Enumerator
ROOT_LABEL 
DANGLING_PIN 
MISSING_LABEL 
MISSING_PIN 

Definition at line 332 of file conn_engine.h.

Member Data Documentation

◆ equivalentItems

std::vector<KIID> SCH_CONNECTIVITY::HIERARCHY_ERROR::equivalentItems

For a missing partner, all same-named labels or sheet pins.

An exclusion may name any of them.

Definition at line 340 of file conn_engine.h.

Referenced by SCH_CONNECTIVITY::ENGINE::HierarchyErrors().

◆ item

KIID SCH_CONNECTIVITY::HIERARCHY_ERROR::item

Definition at line 334 of file conn_engine.h.

◆ kind

KIND SCH_CONNECTIVITY::HIERARCHY_ERROR::kind = KIND::ROOT_LABEL

Definition at line 337 of file conn_engine.h.

◆ name

wxString SCH_CONNECTIVITY::HIERARCHY_ERROR::name

Definition at line 336 of file conn_engine.h.

◆ position

VECTOR2I SCH_CONNECTIVITY::HIERARCHY_ERROR::position

Definition at line 335 of file conn_engine.h.

◆ sheet

KIID_PATH SCH_CONNECTIVITY::HIERARCHY_ERROR::sheet

Definition at line 333 of file conn_engine.h.


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