KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PIN_COMPARISON_DATA Struct Reference

Owned library-pin inputs; no parent, layout cache or schematic pointers. More...

#include <pin_comparison.h>

Public Member Functions

int Compare (const PIN_COMPARISON_DATA &aOther, int aCompareFlags) const
 
bool operator== (const PIN_COMPARISON_DATA &) const =default
 

Public Attributes

int unit = 0
 
int bodyStyle = 0
 
bool isPrivate = false
 
VECTOR2I position
 
wxString number
 
wxString name
 
std::optional< int > length
 
PIN_ORIENTATION orientation = PIN_ORIENTATION::PIN_RIGHT
 
GRAPHIC_PINSHAPE shape = GRAPHIC_PINSHAPE::LINE
 
ELECTRICAL_PINTYPE type = ELECTRICAL_PINTYPE::PT_UNSPECIFIED
 
std::optional< bool > hidden
 
std::optional< int > numberTextSize
 
std::optional< int > nameTextSize
 
std::map< wxString, PIN_ALTERNATEalternates
 

Detailed Description

Owned library-pin inputs; no parent, layout cache or schematic pointers.

Definition at line 37 of file pin_comparison.h.

Member Function Documentation

◆ Compare()

int PIN_COMPARISON_DATA::Compare ( const PIN_COMPARISON_DATA & aOther,
int aCompareFlags ) const

Definition at line 2033 of file sch_pin.cpp.

◆ operator==()

bool PIN_COMPARISON_DATA::operator== ( const PIN_COMPARISON_DATA & ) const
default

Member Data Documentation

◆ alternates

std::map<wxString, PIN_ALTERNATE> PIN_COMPARISON_DATA::alternates

Definition at line 52 of file pin_comparison.h.

◆ bodyStyle

int PIN_COMPARISON_DATA::bodyStyle = 0

Definition at line 40 of file pin_comparison.h.

◆ hidden

std::optional<bool> PIN_COMPARISON_DATA::hidden

Definition at line 49 of file pin_comparison.h.

◆ isPrivate

bool PIN_COMPARISON_DATA::isPrivate = false

Definition at line 41 of file pin_comparison.h.

◆ length

std::optional<int> PIN_COMPARISON_DATA::length

Definition at line 45 of file pin_comparison.h.

◆ name

wxString PIN_COMPARISON_DATA::name

Definition at line 44 of file pin_comparison.h.

◆ nameTextSize

std::optional<int> PIN_COMPARISON_DATA::nameTextSize

Definition at line 51 of file pin_comparison.h.

◆ number

wxString PIN_COMPARISON_DATA::number

Definition at line 43 of file pin_comparison.h.

◆ numberTextSize

std::optional<int> PIN_COMPARISON_DATA::numberTextSize

Definition at line 50 of file pin_comparison.h.

◆ orientation

PIN_ORIENTATION PIN_COMPARISON_DATA::orientation = PIN_ORIENTATION::PIN_RIGHT

Definition at line 46 of file pin_comparison.h.

◆ position

VECTOR2I PIN_COMPARISON_DATA::position

Definition at line 42 of file pin_comparison.h.

◆ shape

GRAPHIC_PINSHAPE PIN_COMPARISON_DATA::shape = GRAPHIC_PINSHAPE::LINE

Definition at line 47 of file pin_comparison.h.

◆ type

Definition at line 48 of file pin_comparison.h.

◆ unit

int PIN_COMPARISON_DATA::unit = 0

Definition at line 39 of file pin_comparison.h.


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