A class used to associate a SCH_PIN with its owning SCH_SHEET_PATH, in order to handle ERC checks acr...
void rehash()
Calculate the deterministic hash for this context.
bool operator<(const ERC_SCH_PIN_CONTEXT &other) const
Provide a deterministic ordering for item contexts based on hash value.
ERC_SCH_PIN_CONTEXT(SCH_PIN *pin, SCH_SHEET_PATH sheet)
ERC_SCH_PIN_CONTEXT & operator=(const ERC_SCH_PIN_CONTEXT &other)=default
~ERC_SCH_PIN_CONTEXT()=default
const SCH_SHEET_PATH & Sheet() const
Get the SCH_SHEET_PATH context for the paired SCH_PIN.
ERC_SCH_PIN_CONTEXT(const ERC_SCH_PIN_CONTEXT &other)=default
SCH_PIN * Pin() const
Get the SCH_PIN for this context.
bool operator==(const ERC_SCH_PIN_CONTEXT &other) const
Test two pin contexts for equality based on the deterministic hash.