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

Fold state of one net. More...

#include <conn_summary.h>

Public Member Functions

bool operator== (const SUMMARY &) const =default
 

Static Public Member Functions

static SUMMARY Join (const SUMMARY &aLeft, const SUMMARY &aRight, const SESSION_KEYS &aKeys)
 Inputs are canonical folds from one source snapshot.
 

Public Attributes

std::optional< CLAIMbest
 Greatest claim by CLAIM_LESS.
 
std::array< std::optional< ITEM_KEY >, 2 > pinWitnesses
 The two smallest witness pins.
 
std::optional< ITEM_KEYnoConnect
 The smallest no-connect marker.
 
std::vector< NAME_IDnetclasses
 Sorted by name.
 

Detailed Description

Fold state of one net.

SUMMARY::Join() is associative and commutative.

Definition at line 29 of file conn_summary.h.

Member Function Documentation

◆ Join()

SUMMARY SCH_CONNECTIVITY::SUMMARY::Join ( const SUMMARY & aLeft,
const SUMMARY & aRight,
const SESSION_KEYS & aKeys )
static

Inputs are canonical folds from one source snapshot.

Each source has one claim.

Definition at line 45 of file conn_summary.cpp.

References best, end, SCH_CONNECTIVITY::SESSION_KEYS::Less(), netclasses, noConnect, and result.

Referenced by SCH_CONNECTIVITY::DeriveSignal().

◆ operator==()

bool SCH_CONNECTIVITY::SUMMARY::operator== ( const SUMMARY & ) const
default

Member Data Documentation

◆ best

std::optional<CLAIM> SCH_CONNECTIVITY::SUMMARY::best

Greatest claim by CLAIM_LESS.

Definition at line 31 of file conn_summary.h.

Referenced by SCH_CONNECTIVITY::DeriveSignal(), and Join().

◆ netclasses

std::vector<NAME_ID> SCH_CONNECTIVITY::SUMMARY::netclasses

Sorted by name.

Definition at line 34 of file conn_summary.h.

Referenced by SCH_CONNECTIVITY::DeriveSignal(), and Join().

◆ noConnect

std::optional<ITEM_KEY> SCH_CONNECTIVITY::SUMMARY::noConnect

The smallest no-connect marker.

Definition at line 33 of file conn_summary.h.

Referenced by Join().

◆ pinWitnesses

std::array<std::optional<ITEM_KEY>, 2> SCH_CONNECTIVITY::SUMMARY::pinWitnesses

The two smallest witness pins.

Definition at line 32 of file conn_summary.h.


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