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

The claim of one item for the name of its island. More...

#include <conn_claims.h>

Public Member Functions

bool Strong () const
 True for a name that the user placed.
 
bool operator== (const CLAIM &aOther) const
 

Public Attributes

PRIORITY priority = PRIORITY::NONE
 
uint16_t depth = 0
 Sheet path size, or zero if unscoped.
 
NAME_ID path = INVALID_ID
 Sheet prefix, or the empty name if unscoped.
 
NAME_ID name = INVALID_ID
 Item text without the sheet prefix.
 
NAME_ID ncName = INVALID_ID
 Name of an unconnected pin net.
 
NAME_ID fullName = INVALID_ID
 path followed by name.
 
ITEM_KEY source
 The claiming item, the last tie-break.
 
bool globalPowerParent = false
 Pin of a global power symbol.
 
bool localPowerParent = false
 Pin of a local power symbol.
 
bool outputShape = false
 Sheet pin with output shape.
 
bool hasPad = false
 The name contains "-Pad".
 
std::shared_ptr< const BUS_SCHEMAschema
 Parsed bus, or null for a signal.
 
std::optional< INST_IDportInstance
 Sheet pin child. Members bind there, not in the parent.
 

Detailed Description

The claim of one item for the name of its island.

Definition at line 52 of file conn_claims.h.

Member Function Documentation

◆ operator==()

bool SCH_CONNECTIVITY::CLAIM::operator== ( const CLAIM & aOther) const

◆ Strong()

bool SCH_CONNECTIVITY::CLAIM::Strong ( ) const
inline

True for a name that the user placed.

Definition at line 69 of file conn_claims.h.

References SCH_CONNECTIVITY::HIER_LABEL, and priority.

Referenced by SCH_CONNECTIVITY::ENGINE::DriverConflicts().

Member Data Documentation

◆ depth

uint16_t SCH_CONNECTIVITY::CLAIM::depth = 0

Sheet path size, or zero if unscoped.

Definition at line 55 of file conn_claims.h.

Referenced by SCH_CONNECTIVITY::BindBundle(), operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ fullName

◆ globalPowerParent

bool SCH_CONNECTIVITY::CLAIM::globalPowerParent = false

Pin of a global power symbol.

Definition at line 61 of file conn_claims.h.

Referenced by operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ hasPad

bool SCH_CONNECTIVITY::CLAIM::hasPad = false

The name contains "-Pad".

Definition at line 64 of file conn_claims.h.

Referenced by operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ localPowerParent

bool SCH_CONNECTIVITY::CLAIM::localPowerParent = false

Pin of a local power symbol.

Definition at line 62 of file conn_claims.h.

Referenced by operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ name

◆ ncName

NAME_ID SCH_CONNECTIVITY::CLAIM::ncName = INVALID_ID

Name of an unconnected pin net.

Definition at line 58 of file conn_claims.h.

Referenced by SCH_CONNECTIVITY::BindBundle(), BOOST_AUTO_TEST_CASE(), operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ outputShape

bool SCH_CONNECTIVITY::CLAIM::outputShape = false

Sheet pin with output shape.

Definition at line 63 of file conn_claims.h.

Referenced by operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ path

NAME_ID SCH_CONNECTIVITY::CLAIM::path = INVALID_ID

◆ portInstance

std::optional<INST_ID> SCH_CONNECTIVITY::CLAIM::portInstance

Sheet pin child. Members bind there, not in the parent.

Definition at line 66 of file conn_claims.h.

Referenced by SCH_CONNECTIVITY::BindBundle(), operator==(), and SCH_CONNECTIVITY::PrepareInstanceClaims().

◆ priority

◆ schema

◆ source


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