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

One published net or bus with its identity. More...

#include <conn_publish.h>

Public Member Functions

bool operator== (const PUBLISHED_COMPONENT &aOther) const
 

Public Attributes

std::shared_ptr< const COMPONENT_CONTENTcontent
 
std::optional< SLOT_KEYnameSlot
 Selected naming slot, lowest parent suffix first.
 
NAME_ID baseName = INVALID_ID
 Name before the suffix.
 
NAME_ID collisionBase = INVALID_ID
 Bucket for duplicate names.
 
NAME_ID name = INVALID_ID
 Unique name, invalid without a claim.
 
uint32_t suffix = 0
 Zero for the holder of the base name.
 
int netCode = 0
 Zero for a bus or without a claim.
 
uint32_t subgraphCode = 0
 Zero without a claim.
 

Detailed Description

One published net or bus with its identity.

The content pointer stays the same while the component cache version of its node does not change.

Definition at line 49 of file conn_publish.h.

Member Function Documentation

◆ operator==()

bool SCH_CONNECTIVITY::PUBLISHED_COMPONENT::operator== ( const PUBLISHED_COMPONENT & aOther) const
inline

Definition at line 62 of file conn_publish.h.

References baseName, collisionBase, content, name, nameSlot, netCode, subgraphCode, and suffix.

Member Data Documentation

◆ baseName

NAME_ID SCH_CONNECTIVITY::PUBLISHED_COMPONENT::baseName = INVALID_ID

Name before the suffix.

Definition at line 53 of file conn_publish.h.

Referenced by operator==().

◆ collisionBase

NAME_ID SCH_CONNECTIVITY::PUBLISHED_COMPONENT::collisionBase = INVALID_ID

Bucket for duplicate names.

A vector bus uses its scope and prefix, all others the full base name.

Definition at line 56 of file conn_publish.h.

Referenced by operator==().

◆ content

std::shared_ptr<const COMPONENT_CONTENT> SCH_CONNECTIVITY::PUBLISHED_COMPONENT::content

◆ name

NAME_ID SCH_CONNECTIVITY::PUBLISHED_COMPONENT::name = INVALID_ID

Unique name, invalid without a claim.

Definition at line 57 of file conn_publish.h.

Referenced by SCH_CONNECTIVITY::FACADE_STATE::Name(), and operator==().

◆ nameSlot

std::optional<SLOT_KEY> SCH_CONNECTIVITY::PUBLISHED_COMPONENT::nameSlot

Selected naming slot, lowest parent suffix first.

Definition at line 52 of file conn_publish.h.

Referenced by operator==().

◆ netCode

int SCH_CONNECTIVITY::PUBLISHED_COMPONENT::netCode = 0

Zero for a bus or without a claim.

Definition at line 59 of file conn_publish.h.

Referenced by operator==().

◆ subgraphCode

uint32_t SCH_CONNECTIVITY::PUBLISHED_COMPONENT::subgraphCode = 0

Zero without a claim.

Definition at line 60 of file conn_publish.h.

Referenced by operator==().

◆ suffix

uint32_t SCH_CONNECTIVITY::PUBLISHED_COMPONENT::suffix = 0

Zero for the holder of the base name.

Definition at line 58 of file conn_publish.h.

Referenced by operator==().


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