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

#include <conn_facts.h>

Public Member Functions

bool Matches (const LIBRARY_SYMBOL_FACT &aOther, int aCompareFlags) const
 
bool HasDuplicatePins () const
 
bool operator== (const LIBRARY_SYMBOL_FACT &) const =default
 

Public Attributes

KIID id = niluuid
 
VECTOR2I position
 
LIB_ID library
 
bool hasEmbeddedSymbol = false
 
int unitCount = 1
 
int bodyStyleCount = 1
 
std::vector< PIN_COMPARISON_DATApins
 
std::vector< LIBRARY_SHAPE_FACTshapes
 
LIB_SYMBOL_ATTRIBUTES attributes
 
std::vector< LIBRARY_FIELD_FACTfields
 
std::optional< std::vector< PIN_COMPARISON_DATA > > inheritedPins
 

Detailed Description

Definition at line 222 of file conn_facts.h.

Member Function Documentation

◆ HasDuplicatePins()

bool SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::HasDuplicatePins ( ) const

Definition at line 225 of file conn_facts.cpp.

References ExpandStackedPinNotation(), inheritedPins, and pins.

Referenced by ERC_TESTER::TestLibSymbolIssues().

◆ Matches()

bool SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::Matches ( const LIBRARY_SYMBOL_FACT & aOther,
int aCompareFlags ) const

◆ operator==()

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

Member Data Documentation

◆ attributes

LIB_SYMBOL_ATTRIBUTES SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::attributes

Definition at line 232 of file conn_facts.h.

Referenced by Matches(), and ERC_TESTER::TestLibSymbolIssues().

◆ bodyStyleCount

int SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::bodyStyleCount = 1

Definition at line 229 of file conn_facts.h.

Referenced by ValidateVariantSymbolCompatibility().

◆ fields

std::vector<LIBRARY_FIELD_FACT> SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::fields

Definition at line 233 of file conn_facts.h.

Referenced by Matches().

◆ hasEmbeddedSymbol

bool SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::hasEmbeddedSymbol = false

Definition at line 227 of file conn_facts.h.

Referenced by Matches().

◆ id

KIID SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::id = niluuid

Definition at line 224 of file conn_facts.h.

◆ inheritedPins

std::optional<std::vector<PIN_COMPARISON_DATA> > SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::inheritedPins

Definition at line 234 of file conn_facts.h.

Referenced by HasDuplicatePins(), Matches(), and ValidateVariantSymbolCompatibility().

◆ library

LIB_ID SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::library

Definition at line 226 of file conn_facts.h.

Referenced by ERC_TESTER::TestLibSymbolIssues().

◆ pins

std::vector<PIN_COMPARISON_DATA> SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::pins

Definition at line 230 of file conn_facts.h.

Referenced by HasDuplicatePins(), Matches(), and ValidateVariantSymbolCompatibility().

◆ position

VECTOR2I SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::position

Definition at line 225 of file conn_facts.h.

◆ shapes

std::vector<LIBRARY_SHAPE_FACT> SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::shapes

Definition at line 231 of file conn_facts.h.

Referenced by Matches().

◆ unitCount

int SCH_CONNECTIVITY::LIBRARY_SYMBOL_FACT::unitCount = 1

Definition at line 228 of file conn_facts.h.

Referenced by ValidateVariantSymbolCompatibility().


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