|
KiCad PCB EDA Suite
|
A class used to associate a SCH_PIN with its owning SCH_SHEET_PATH, in order to handle ERC checks across connected common hierarchical schematics/. More...
#include <erc_sch_pin_context.h>
Public Member Functions | |
| ERC_SCH_PIN_CONTEXT ()=default | |
| ERC_SCH_PIN_CONTEXT (SCH_PIN *pin, const SCH_SHEET_PATH &sheet) | |
| ERC_SCH_PIN_CONTEXT (const ERC_SCH_PIN_CONTEXT &other)=default | |
| ERC_SCH_PIN_CONTEXT & | operator= (const ERC_SCH_PIN_CONTEXT &other)=default |
| ~ERC_SCH_PIN_CONTEXT ()=default | |
| SCH_PIN * | Pin () const |
| Get the SCH_PIN for this context. | |
| const SCH_SHEET_PATH & | Sheet () const |
| Get the SCH_SHEET_PATH context for the paired SCH_PIN. | |
| bool | operator== (const ERC_SCH_PIN_CONTEXT &other) const |
| Compare the exact sheet instance and pin UUID. | |
| bool | operator< (const ERC_SCH_PIN_CONTEXT &other) const |
| Order by sheet instance and pin UUID, with null pins preceding live pins. | |
Protected Attributes | |
| SCH_PIN * | m_pin = nullptr |
| SCH_SHEET_PATH | m_sheet |
A class used to associate a SCH_PIN with its owning SCH_SHEET_PATH, in order to handle ERC checks across connected common hierarchical schematics/.
Definition at line 35 of file erc_sch_pin_context.h.
|
default |
Referenced by ERC_SCH_PIN_CONTEXT(), operator<(), operator=(), operator==(), and ~ERC_SCH_PIN_CONTEXT().
|
inline |
Definition at line 40 of file erc_sch_pin_context.h.
|
default |
References ERC_SCH_PIN_CONTEXT().
|
default |
References ERC_SCH_PIN_CONTEXT().
| bool ERC_SCH_PIN_CONTEXT::operator< | ( | const ERC_SCH_PIN_CONTEXT & | other | ) | const |
Order by sheet instance and pin UUID, with null pins preceding live pins.
Definition at line 53 of file erc_sch_pin_context.cpp.
References ERC_SCH_PIN_CONTEXT(), m_pin, m_sheet, EDA_ITEM::m_Uuid, and SCH_SHEET_PATH::PathRef().
|
default |
References ERC_SCH_PIN_CONTEXT().
| bool ERC_SCH_PIN_CONTEXT::operator== | ( | const ERC_SCH_PIN_CONTEXT & | other | ) | const |
Compare the exact sheet instance and pin UUID.
Definition at line 41 of file erc_sch_pin_context.cpp.
References ERC_SCH_PIN_CONTEXT(), m_pin, m_sheet, EDA_ITEM::m_Uuid, and SCH_SHEET_PATH::PathRef().
| SCH_PIN * ERC_SCH_PIN_CONTEXT::Pin | ( | ) | const |
Get the SCH_PIN for this context.
Definition at line 29 of file erc_sch_pin_context.cpp.
References m_pin.
Referenced by ERC_TESTER::TestPinToPin().
| const SCH_SHEET_PATH & ERC_SCH_PIN_CONTEXT::Sheet | ( | ) | const |
Get the SCH_SHEET_PATH context for the paired SCH_PIN.
Definition at line 35 of file erc_sch_pin_context.cpp.
References m_sheet.
Referenced by ERC_TESTER::TestPinToPin().
|
protected |
Definition at line 72 of file erc_sch_pin_context.h.
Referenced by ERC_SCH_PIN_CONTEXT(), operator<(), operator==(), and Pin().
|
protected |
Definition at line 73 of file erc_sch_pin_context.h.
Referenced by ERC_SCH_PIN_CONTEXT(), operator<(), operator==(), and Sheet().