65 std::shared_ptr<const BUS_SCHEMA>
schema;
97 std::map<KIID, SOURCE_CLAIMS>
items;
Parse results for each bus text, with invalidation by alias dependency.
Session IDs are dense handles, never a canonical ordering.
Value keys and the key session of the schematic connectivity engine.
uint32_t INST_ID
Session handle of a sheet instance KIID_PATH.
ISLAND_RECORD BuildIslandRecord(const RECORD_GEOMETRY &aIsland, const INSTANCE_CLAIMS &aInputs, const SESSION_KEYS &aKeys)
uint32_t NAME_ID
Session handle of a name, ordered by UTF-8 value through NAME_LESS.
KIND
The electrical type of a record or component.
constexpr uint32_t INVALID_ID
Marks an unset handle.
INSTANCE_CLAIMS PrepareInstanceClaims(const SCREEN_FACTS &aFacts, const INSTANCE_FACTS &aText, const INSTANCE_SCOPE &aScope, SESSION_KEYS &aKeys, BUS_PARSE_CACHE &aParses)
Main-thread interning and parse preparation, followed by a pure per-island fold.
PRIORITY
Driver priority of a claim, from low to high.
@ SHEET_PIN
Sheet pin. The name belongs to the child instance.
@ GLOBAL_POWER_PIN
Power input pin of a global power symbol, or a hidden power input pin.
@ LOCAL_POWER_PIN
Power input pin of a local power symbol.
@ BUS_MEMBER
Synthetic claim of a bus member slot, set by BindBundle().
@ LOCAL_LABEL
Local label.
@ HIER_LABEL
Hierarchical label. The first strong priority.
@ NONE
The item makes no claim.
@ PIN
Symbol pin that is not a power input. The name is "Net-(...)".
Strict weak order on claims by value.
const SESSION_KEYS & keys
bool operator()(const CLAIM &aLeft, const CLAIM &aRight) const
The claim of one item for the name of its island.
bool globalPowerParent
Pin of a global power symbol.
bool localPowerParent
Pin of a local power symbol.
bool operator==(const CLAIM &aOther) const
ITEM_KEY source
The claiming item, the last tie-break.
bool Strong() const
True for a name that the user placed.
bool hasPad
The name contains "-Pad".
uint16_t depth
Sheet path size, or zero if unscoped.
std::optional< INST_ID > portInstance
Sheet pin child. Members bind there, not in the parent.
NAME_ID ncName
Name of an unconnected pin net.
NAME_ID name
Item text without the sheet prefix.
bool outputShape
Sheet pin with output shape.
std::shared_ptr< const BUS_SCHEMA > schema
Parsed bus, or null for a signal.
NAME_ID path
Sheet prefix, or the empty name if unscoped.
NAME_ID fullName
path followed by name.
std::array< std::optional< KIID >, 2 > pinWitnesses
The two smallest witness pin ids.
std::optional< KIID > noConnect
The smallest no-connect marker id.
bool operator==(const ERC_ATOMS &) const =default
std::vector< NAME_ID > strongNames
Sorted names of the strong claims.
std::map< KIID, SOURCE_CLAIMS > items
The text and unit data that one sheet instance resolves for the items of its screen.
The hierarchy position of one sheet instance.
std::vector< NAME_ID > netclasses
std::vector< NAME_KEY > edges
std::vector< KIID > items
bool operator==(const ISLAND_RECORD &) const =default
std::vector< CLAIM > claims
Descending by CLAIM_LESS, so front() is the island driver.
One item or pin in one sheet instance.
Physical inputs to the island record fold.
std::span< const KIID > items
The value copy of one screen.
std::optional< CLAIM > claim
bool operator==(const SOURCE_CLAIMS &) const =default
std::optional< INST_ID > portInstance
bool pinWitness
Pin whose symbol is not a power symbol.
std::vector< NAME_ID > netclasses
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.