KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCB_COMPONENT Class Reference

PCB-specific extension of COMPONENT that adds footprint support. More...

#include <pcb_component.h>

Inheritance diagram for PCB_COMPONENT:
COMPONENT

Public Member Functions

 PCB_COMPONENT (const LIB_ID &aFPID, const wxString &aReference, const wxString &aValue, const KIID_PATH &aPath, const std::vector< KIID > &aKiids)
 
virtual ~PCB_COMPONENT ()
 
FOOTPRINTGetFootprint (bool aRelease=false)
 
void SetFootprint (FOOTPRINT *aFootprint)
 
void AddNet (const wxString &aPinName, const wxString &aNetName, const wxString &aPinFunction, const wxString &aPinType)
 
void AddNet (const wxString &aPinName, const wxString &aNetName, const wxString &aPinFunction, const wxString &aPinType)
 
unsigned GetNetCount () const
 
unsigned GetNetCount () const
 
const COMPONENT_NETGetNet (unsigned aIndex) const
 
const COMPONENT_NETGetNet (const wxString &aPinName) const
 
const COMPONENT_NETGetNet (unsigned aIndex) const
 
const COMPONENT_NETGetNet (const wxString &aPinName) const
 
void ClearNets ()
 
void ClearNets ()
 
void SortPins ()
 
void SortPins ()
 
void SetName (const wxString &aName)
 
void SetName (const wxString &aName)
 
const wxString & GetName () const
 
const wxString & GetName () const
 
void SetLibrary (const wxString &aLibrary)
 
void SetLibrary (const wxString &aLibrary)
 
const wxString & GetLibrary () const
 
const wxString & GetLibrary () const
 
void SetReference (const wxString &aReference)
 
void SetReference (const wxString &aReference)
 
const wxString & GetReference () const
 
const wxString & GetReference () const
 
void SetValue (const wxString &aValue)
 
void SetValue (const wxString &aValue)
 
const wxString & GetValue () const
 
const wxString & GetValue () const
 
void SetFields (nlohmann::ordered_map< wxString, wxString > aFields)
 
void SetFields (nlohmann::ordered_map< wxString, wxString > aFields)
 
const nlohmann::ordered_map< wxString, wxString > & GetFields () const
 
const nlohmann::ordered_map< wxString, wxString > & GetFields () const
 
void SetProperties (std::map< wxString, wxString > aProps)
 
void SetProperties (std::map< wxString, wxString > aProps)
 
const std::map< wxString, wxString > & GetProperties () const
 
const std::map< wxString, wxString > & GetProperties () const
 
void SetFPID (const LIB_ID &aFPID)
 
void SetFPID (const LIB_ID &aFPID)
 
const LIB_IDGetFPID () const
 
const LIB_IDGetFPID () const
 
void SetAltFPID (const LIB_ID &aFPID)
 
void SetAltFPID (const LIB_ID &aFPID)
 
const LIB_IDGetAltFPID () const
 
const LIB_IDGetAltFPID () const
 
const KIID_PATHGetPath () const
 
const KIID_PATHGetPath () const
 
const std::vector< KIID > & GetKIIDs () const
 
const std::vector< KIID > & GetKIIDs () const
 
void SetFootprintFilters (const wxArrayString &aFilters)
 
void SetFootprintFilters (const wxArrayString &aFilters)
 
const wxArrayString & GetFootprintFilters () const
 
const wxArrayString & GetFootprintFilters () const
 
void SetPinCount (int aPinCount)
 
void SetPinCount (int aPinCount)
 
int GetPinCount () const
 
int GetPinCount () const
 
bool IsLibSource (const wxString &aLibrary, const wxString &aName) const
 
bool IsLibSource (const wxString &aLibrary, const wxString &aName) const
 
void Format (OUTPUTFORMATTER *aOut, int aNestLevel, int aCtl)
 
void Format (OUTPUTFORMATTER *aOut, int aNestLevel, int aCtl)
 
void SetHumanReadablePath (const wxString &aPath)
 
void SetHumanReadablePath (const wxString &aPath)
 
const wxString & GetHumanReadablePath () const
 
const wxString & GetHumanReadablePath () const
 
void SetComponentClassNames (const std::unordered_set< wxString > &aClassNames)
 
void SetComponentClassNames (const std::unordered_set< wxString > &aClassNames)
 
std::unordered_set< wxString > & GetComponentClassNames ()
 
std::unordered_set< wxString > & GetComponentClassNames ()
 
bool GetDuplicatePadNumbersAreJumpers () const
 
bool GetDuplicatePadNumbersAreJumpers () const
 
void SetDuplicatePadNumbersAreJumpers (bool aEnabled)
 
void SetDuplicatePadNumbersAreJumpers (bool aEnabled)
 
std::vector< std::set< wxString > > & JumperPadGroups ()
 
const std::vector< std::set< wxString > > & JumperPadGroups () const
 
std::vector< std::set< wxString > > & JumperPadGroups ()
 
const std::vector< std::set< wxString > > & JumperPadGroups () const
 
NETLIST_GROUPGetGroup () const
 
NETLIST_GROUPGetGroup () const
 
void SetGroup (NETLIST_GROUP *aGroup)
 
void SetGroup (NETLIST_GROUP *aGroup)
 
void SetUnitInfo (const std::vector< UNIT_INFO > &aUnits)
 
void SetUnitInfo (const std::vector< UNIT_INFO > &aUnits)
 
const std::vector< UNIT_INFO > & GetUnitInfo () const
 
const std::vector< UNIT_INFO > & GetUnitInfo () const
 

Protected Attributes

std::vector< COMPONENT_NETm_nets
 list of nets shared by the component pins
 
wxArrayString m_footprintFilters
 
int m_pinCount
 
wxString m_reference
 
wxString m_value
 
wxString m_humanReadablePath
 
KIID_PATH m_path
 A fully specified path to the component (but not the component: [ sheetUUID, sheetUUID, .. ].
 
std::vector< KIIDm_kiids
 A vector of possible KIIDs corresponding to all units in a symbol.
 
wxString m_name
 The name of the component in m_library used when it was placed on the schematic.
 
wxString m_library
 The name of the component library where m_name was found.
 
LIB_ID m_fpid
 The LIB_ID of the footprint assigned to the component.
 
LIB_ID m_altFpid
 The alt LIB_ID of the footprint, when there are 2 different assigned footprints, One from the netlist, the other from the .cmp file.
 
std::map< wxString, wxString > m_properties
 Component-specific properties found in the netlist.
 
nlohmann::ordered_map< wxString, wxString > m_fields
 Component-specific user fields found in the netlist.
 
std::unordered_set< wxString > m_componentClassNames
 Component classes for this footprint.
 
std::vector< std::set< wxString > > m_jumperPadGroups
 Jumper pad groups for this footprint.
 
bool m_duplicatePadNumbersAreJumpers
 Flag that this footprint should automatically treat sets of two or more pads with the same number as jumpered pin groups.
 
NETLIST_GROUPm_group
 Group membership for this footprint. Nullptr if none.
 
std::vector< UNIT_INFOm_units
 

Static Protected Attributes

static COMPONENT_NET m_emptyNet
 

Private Attributes

std::unique_ptr< FOOTPRINTm_footprint
 The FOOTPRINT loaded for #m_FPID.
 

Detailed Description

PCB-specific extension of COMPONENT that adds footprint support.

Definition at line 35 of file pcb_component.h.

Constructor & Destructor Documentation

◆ PCB_COMPONENT()

PCB_COMPONENT::PCB_COMPONENT ( const LIB_ID & aFPID,
const wxString & aReference,
const wxString & aValue,
const KIID_PATH & aPath,
const std::vector< KIID > & aKiids )
inline

Definition at line 38 of file pcb_component.h.

References COMPONENT::COMPONENT().

◆ ~PCB_COMPONENT()

virtual PCB_COMPONENT::~PCB_COMPONENT ( )
inlinevirtual

Definition at line 47 of file pcb_component.h.

Member Function Documentation

◆ AddNet() [1/2]

void COMPONENT::AddNet ( const wxString & aPinName,
const wxString & aNetName,
const wxString & aPinFunction,
const wxString & aPinType )
inlineinherited

◆ AddNet() [2/2]

void COMPONENT::AddNet ( const wxString & aPinName,
const wxString & aNetName,
const wxString & aPinFunction,
const wxString & aPinType )
inlineinherited

Definition at line 120 of file pcb_netlist.h.

References m_nets.

◆ ClearNets() [1/2]

void COMPONENT::ClearNets ( )
inlineinherited

Definition at line 136 of file common/netlist_reader/netlist.h.

References m_nets.

◆ ClearNets() [2/2]

void COMPONENT::ClearNets ( )
inlineinherited

Definition at line 132 of file pcb_netlist.h.

References m_nets.

◆ Format() [1/2]

◆ Format() [2/2]

void COMPONENT::Format ( OUTPUTFORMATTER * aOut,
int aNestLevel,
int aCtl )
inherited

◆ GetAltFPID() [1/2]

const LIB_ID & COMPONENT::GetAltFPID ( ) const
inlineinherited

Definition at line 168 of file common/netlist_reader/netlist.h.

References m_altFpid.

Referenced by CVPCB_MAINFRAME::readNetListAndFpFiles().

◆ GetAltFPID() [2/2]

const LIB_ID & COMPONENT::GetAltFPID ( ) const
inlineinherited

Definition at line 164 of file pcb_netlist.h.

References m_altFpid.

◆ GetComponentClassNames() [1/2]

std::unordered_set< wxString > & COMPONENT::GetComponentClassNames ( )
inlineinherited

◆ GetComponentClassNames() [2/2]

std::unordered_set< wxString > & COMPONENT::GetComponentClassNames ( )
inlineinherited

Definition at line 198 of file pcb_netlist.h.

References m_componentClassNames.

◆ GetDuplicatePadNumbersAreJumpers() [1/2]

bool COMPONENT::GetDuplicatePadNumbersAreJumpers ( ) const
inlineinherited

◆ GetDuplicatePadNumbersAreJumpers() [2/2]

bool COMPONENT::GetDuplicatePadNumbersAreJumpers ( ) const
inlineinherited

Definition at line 200 of file pcb_netlist.h.

References m_duplicatePadNumbersAreJumpers.

◆ GetFields() [1/2]

const nlohmann::ordered_map< wxString, wxString > & COMPONENT::GetFields ( ) const
inlineinherited

◆ GetFields() [2/2]

const nlohmann::ordered_map< wxString, wxString > & COMPONENT::GetFields ( ) const
inlineinherited

Definition at line 152 of file pcb_netlist.h.

References m_fields.

◆ GetFootprint()

FOOTPRINT * PCB_COMPONENT::GetFootprint ( bool aRelease = false)
inline

Definition at line 49 of file pcb_component.h.

References m_footprint.

◆ GetFootprintFilters() [1/2]

const wxArrayString & COMPONENT::GetFootprintFilters ( ) const
inlineinherited

◆ GetFootprintFilters() [2/2]

const wxArrayString & COMPONENT::GetFootprintFilters ( ) const
inlineinherited

Definition at line 171 of file pcb_netlist.h.

References m_footprintFilters.

◆ GetFPID() [1/2]

◆ GetFPID() [2/2]

const LIB_ID & COMPONENT::GetFPID ( ) const
inlineinherited

Definition at line 161 of file pcb_netlist.h.

References m_fpid.

◆ GetGroup() [1/2]

NETLIST_GROUP * COMPONENT::GetGroup ( ) const
inlineinherited

Definition at line 203 of file common/netlist_reader/netlist.h.

References m_group.

Referenced by BOARD_NETLIST_UPDATER::updateFootprintGroup().

◆ GetGroup() [2/2]

NETLIST_GROUP * COMPONENT::GetGroup ( ) const
inlineinherited

Definition at line 206 of file pcb_netlist.h.

References m_group.

◆ GetHumanReadablePath() [1/2]

const wxString & COMPONENT::GetHumanReadablePath ( ) const
inlineinherited

◆ GetHumanReadablePath() [2/2]

const wxString & COMPONENT::GetHumanReadablePath ( ) const
inlineinherited

Definition at line 191 of file pcb_netlist.h.

References m_humanReadablePath.

◆ GetKIIDs() [1/2]

◆ GetKIIDs() [2/2]

const std::vector< KIID > & COMPONENT::GetKIIDs ( ) const
inlineinherited

Definition at line 168 of file pcb_netlist.h.

References m_kiids.

◆ GetLibrary() [1/2]

const wxString & COMPONENT::GetLibrary ( ) const
inlineinherited

Definition at line 144 of file common/netlist_reader/netlist.h.

References m_library.

◆ GetLibrary() [2/2]

const wxString & COMPONENT::GetLibrary ( ) const
inlineinherited

Definition at line 140 of file pcb_netlist.h.

References m_library.

◆ GetName() [1/2]

const wxString & COMPONENT::GetName ( ) const
inlineinherited

Definition at line 141 of file common/netlist_reader/netlist.h.

References m_name.

◆ GetName() [2/2]

const wxString & COMPONENT::GetName ( ) const
inlineinherited

Definition at line 137 of file pcb_netlist.h.

References m_name.

◆ GetNet() [1/4]

const COMPONENT_NET & COMPONENT::GetNet ( const wxString & aPinName) const
inherited

◆ GetNet() [2/4]

const COMPONENT_NET & COMPONENT::GetNet ( const wxString & aPinName) const
inherited

◆ GetNet() [3/4]

◆ GetNet() [4/4]

const COMPONENT_NET & COMPONENT::GetNet ( unsigned aIndex) const
inlineinherited

Definition at line 128 of file pcb_netlist.h.

References m_nets.

◆ GetNetCount() [1/2]

◆ GetNetCount() [2/2]

unsigned COMPONENT::GetNetCount ( ) const
inlineinherited

Definition at line 126 of file pcb_netlist.h.

References m_nets.

◆ GetPath() [1/2]

◆ GetPath() [2/2]

const KIID_PATH & COMPONENT::GetPath ( ) const
inlineinherited

Definition at line 166 of file pcb_netlist.h.

References m_path.

◆ GetPinCount() [1/2]

int COMPONENT::GetPinCount ( ) const
inlineinherited

◆ GetPinCount() [2/2]

int COMPONENT::GetPinCount ( ) const
inlineinherited

Definition at line 174 of file pcb_netlist.h.

References m_pinCount.

◆ GetProperties() [1/2]

const std::map< wxString, wxString > & COMPONENT::GetProperties ( ) const
inlineinherited

◆ GetProperties() [2/2]

const std::map< wxString, wxString > & COMPONENT::GetProperties ( ) const
inlineinherited

Definition at line 158 of file pcb_netlist.h.

References m_properties.

◆ GetReference() [1/2]

◆ GetReference() [2/2]

const wxString & COMPONENT::GetReference ( ) const
inlineinherited

Definition at line 143 of file pcb_netlist.h.

References m_reference.

◆ GetUnitInfo() [1/2]

const std::vector< UNIT_INFO > & COMPONENT::GetUnitInfo ( ) const
inlineinherited

Definition at line 214 of file common/netlist_reader/netlist.h.

References m_units.

Referenced by BOARD_NETLIST_UPDATER::updateComponentUnits().

◆ GetUnitInfo() [2/2]

const std::vector< UNIT_INFO > & COMPONENT::GetUnitInfo ( ) const
inlineinherited

Definition at line 217 of file pcb_netlist.h.

References m_units.

◆ GetValue() [1/2]

◆ GetValue() [2/2]

const wxString & COMPONENT::GetValue ( ) const
inlineinherited

Definition at line 146 of file pcb_netlist.h.

References m_value.

◆ IsLibSource() [1/2]

bool COMPONENT::IsLibSource ( const wxString & aLibrary,
const wxString & aName ) const
inlineinherited

Definition at line 180 of file common/netlist_reader/netlist.h.

References m_library, and m_name.

Referenced by KICAD_NETLIST_PARSER::parseLibPartList().

◆ IsLibSource() [2/2]

bool COMPONENT::IsLibSource ( const wxString & aLibrary,
const wxString & aName ) const
inlineinherited

Definition at line 183 of file pcb_netlist.h.

References m_library, and m_name.

◆ JumperPadGroups() [1/4]

std::vector< std::set< wxString > > & COMPONENT::JumperPadGroups ( )
inlineinherited

◆ JumperPadGroups() [2/4]

std::vector< std::set< wxString > > & COMPONENT::JumperPadGroups ( )
inlineinherited

Definition at line 203 of file pcb_netlist.h.

References m_jumperPadGroups.

◆ JumperPadGroups() [3/4]

const std::vector< std::set< wxString > > & COMPONENT::JumperPadGroups ( ) const
inlineinherited

Definition at line 201 of file common/netlist_reader/netlist.h.

References m_jumperPadGroups.

◆ JumperPadGroups() [4/4]

const std::vector< std::set< wxString > > & COMPONENT::JumperPadGroups ( ) const
inlineinherited

Definition at line 204 of file pcb_netlist.h.

References m_jumperPadGroups.

◆ SetAltFPID() [1/2]

void COMPONENT::SetAltFPID ( const LIB_ID & aFPID)
inlineinherited

Definition at line 167 of file common/netlist_reader/netlist.h.

References m_altFpid.

Referenced by CMP_READER::Load().

◆ SetAltFPID() [2/2]

void COMPONENT::SetAltFPID ( const LIB_ID & aFPID)
inlineinherited

Definition at line 163 of file pcb_netlist.h.

References m_altFpid.

◆ SetComponentClassNames() [1/2]

void COMPONENT::SetComponentClassNames ( const std::unordered_set< wxString > & aClassNames)
inlineinherited

◆ SetComponentClassNames() [2/2]

void COMPONENT::SetComponentClassNames ( const std::unordered_set< wxString > & aClassNames)
inlineinherited

Definition at line 193 of file pcb_netlist.h.

References m_componentClassNames.

◆ SetDuplicatePadNumbersAreJumpers() [1/2]

void COMPONENT::SetDuplicatePadNumbersAreJumpers ( bool aEnabled)
inlineinherited

◆ SetDuplicatePadNumbersAreJumpers() [2/2]

void COMPONENT::SetDuplicatePadNumbersAreJumpers ( bool aEnabled)
inlineinherited

Definition at line 201 of file pcb_netlist.h.

References m_duplicatePadNumbersAreJumpers.

◆ SetFields() [1/2]

void COMPONENT::SetFields ( nlohmann::ordered_map< wxString, wxString > aFields)
inlineinherited

◆ SetFields() [2/2]

void COMPONENT::SetFields ( nlohmann::ordered_map< wxString, wxString > aFields)
inlineinherited

Definition at line 148 of file pcb_netlist.h.

References m_fields.

◆ SetFootprint()

void PCB_COMPONENT::SetFootprint ( FOOTPRINT * aFootprint)

Definition at line 28 of file pcb_component.cpp.

References m_footprint.

◆ SetFootprintFilters() [1/2]

void COMPONENT::SetFootprintFilters ( const wxArrayString & aFilters)
inlineinherited

◆ SetFootprintFilters() [2/2]

void COMPONENT::SetFootprintFilters ( const wxArrayString & aFilters)
inlineinherited

Definition at line 170 of file pcb_netlist.h.

References m_footprintFilters.

◆ SetFPID() [1/2]

void COMPONENT::SetFPID ( const LIB_ID & aFPID)
inlineinherited

◆ SetFPID() [2/2]

void COMPONENT::SetFPID ( const LIB_ID & aFPID)
inlineinherited

Definition at line 160 of file pcb_netlist.h.

References m_fpid.

◆ SetGroup() [1/2]

void COMPONENT::SetGroup ( NETLIST_GROUP * aGroup)
inlineinherited

Definition at line 204 of file common/netlist_reader/netlist.h.

References m_group.

Referenced by NETLIST::ApplyGroupMembership().

◆ SetGroup() [2/2]

void COMPONENT::SetGroup ( NETLIST_GROUP * aGroup)
inlineinherited

Definition at line 207 of file pcb_netlist.h.

References m_group.

◆ SetHumanReadablePath() [1/2]

void COMPONENT::SetHumanReadablePath ( const wxString & aPath)
inlineinherited

◆ SetHumanReadablePath() [2/2]

void COMPONENT::SetHumanReadablePath ( const wxString & aPath)
inlineinherited

Definition at line 190 of file pcb_netlist.h.

References m_humanReadablePath.

◆ SetLibrary() [1/2]

void COMPONENT::SetLibrary ( const wxString & aLibrary)
inlineinherited

Definition at line 143 of file common/netlist_reader/netlist.h.

References m_library.

Referenced by KICAD_NETLIST_PARSER::parseComponent().

◆ SetLibrary() [2/2]

void COMPONENT::SetLibrary ( const wxString & aLibrary)
inlineinherited

Definition at line 139 of file pcb_netlist.h.

References m_library.

◆ SetName() [1/2]

void COMPONENT::SetName ( const wxString & aName)
inlineinherited

◆ SetName() [2/2]

void COMPONENT::SetName ( const wxString & aName)
inlineinherited

Definition at line 136 of file pcb_netlist.h.

References m_name.

◆ SetPinCount() [1/2]

void COMPONENT::SetPinCount ( int aPinCount)
inlineinherited

Definition at line 177 of file common/netlist_reader/netlist.h.

References m_pinCount.

Referenced by KICAD_NETLIST_PARSER::parseLibPartList().

◆ SetPinCount() [2/2]

void COMPONENT::SetPinCount ( int aPinCount)
inlineinherited

Definition at line 173 of file pcb_netlist.h.

References m_pinCount.

◆ SetProperties() [1/2]

void COMPONENT::SetProperties ( std::map< wxString, wxString > aProps)
inlineinherited

◆ SetProperties() [2/2]

void COMPONENT::SetProperties ( std::map< wxString, wxString > aProps)
inlineinherited

Definition at line 154 of file pcb_netlist.h.

References m_properties.

◆ SetReference() [1/2]

void COMPONENT::SetReference ( const wxString & aReference)
inlineinherited

Definition at line 146 of file common/netlist_reader/netlist.h.

References m_reference.

◆ SetReference() [2/2]

void COMPONENT::SetReference ( const wxString & aReference)
inlineinherited

Definition at line 142 of file pcb_netlist.h.

References m_reference.

◆ SetUnitInfo() [1/2]

void COMPONENT::SetUnitInfo ( const std::vector< UNIT_INFO > & aUnits)
inlineinherited

Definition at line 213 of file common/netlist_reader/netlist.h.

References m_units.

Referenced by KICAD_NETLIST_PARSER::parseComponent().

◆ SetUnitInfo() [2/2]

void COMPONENT::SetUnitInfo ( const std::vector< UNIT_INFO > & aUnits)
inlineinherited

Definition at line 216 of file pcb_netlist.h.

References m_units.

◆ SetValue() [1/2]

void COMPONENT::SetValue ( const wxString & aValue)
inlineinherited

Definition at line 149 of file common/netlist_reader/netlist.h.

References m_value.

◆ SetValue() [2/2]

void COMPONENT::SetValue ( const wxString & aValue)
inlineinherited

Definition at line 145 of file pcb_netlist.h.

References m_value.

◆ SortPins() [1/2]

void COMPONENT::SortPins ( )
inlineinherited

Definition at line 138 of file common/netlist_reader/netlist.h.

References m_nets.

◆ SortPins() [2/2]

void COMPONENT::SortPins ( )
inlineinherited

Definition at line 134 of file pcb_netlist.h.

References m_nets.

Member Data Documentation

◆ m_altFpid

LIB_ID COMPONENT::m_altFpid
protectedinherited

The alt LIB_ID of the footprint, when there are 2 different assigned footprints, One from the netlist, the other from the .cmp file.

this one is a copy of the netlist footprint assignment

Definition at line 245 of file common/netlist_reader/netlist.h.

Referenced by GetAltFPID(), and SetAltFPID().

◆ m_componentClassNames

std::unordered_set< wxString > COMPONENT::m_componentClassNames
protectedinherited

Component classes for this footprint.

Definition at line 254 of file common/netlist_reader/netlist.h.

Referenced by GetComponentClassNames(), and SetComponentClassNames().

◆ m_duplicatePadNumbersAreJumpers

bool COMPONENT::m_duplicatePadNumbersAreJumpers
protectedinherited

Flag that this footprint should automatically treat sets of two or more pads with the same number as jumpered pin groups.

Definition at line 261 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), GetDuplicatePadNumbersAreJumpers(), and SetDuplicatePadNumbersAreJumpers().

◆ m_emptyNet

static COMPONENT_NET COMPONENT::m_emptyNet
staticprotectedinherited

Definition at line 266 of file common/netlist_reader/netlist.h.

Referenced by GetNet().

◆ m_fields

nlohmann::ordered_map< wxString, wxString > COMPONENT::m_fields
protectedinherited

Component-specific user fields found in the netlist.

Definition at line 251 of file common/netlist_reader/netlist.h.

Referenced by Format(), GetFields(), and SetFields().

◆ m_footprint

std::unique_ptr<FOOTPRINT> PCB_COMPONENT::m_footprint
private

The FOOTPRINT loaded for #m_FPID.

Definition at line 58 of file pcb_component.h.

Referenced by GetFootprint(), and SetFootprint().

◆ m_footprintFilters

wxArrayString COMPONENT::m_footprintFilters
protectedinherited

◆ m_fpid

LIB_ID COMPONENT::m_fpid
protectedinherited

The LIB_ID of the footprint assigned to the component.

Definition at line 240 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), Format(), GetFPID(), SetFootprint(), and SetFPID().

◆ m_group

NETLIST_GROUP * COMPONENT::m_group
protectedinherited

Group membership for this footprint. Nullptr if none.

Definition at line 264 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), GetGroup(), and SetGroup().

◆ m_humanReadablePath

wxString COMPONENT::m_humanReadablePath
protectedinherited

Definition at line 225 of file common/netlist_reader/netlist.h.

Referenced by GetHumanReadablePath(), and SetHumanReadablePath().

◆ m_jumperPadGroups

std::vector< std::set< wxString > > COMPONENT::m_jumperPadGroups
protectedinherited

Jumper pad groups for this footprint.

Definition at line 257 of file common/netlist_reader/netlist.h.

Referenced by JumperPadGroups(), and JumperPadGroups().

◆ m_kiids

std::vector< KIID > COMPONENT::m_kiids
protectedinherited

A vector of possible KIIDs corresponding to all units in a symbol.

Definition at line 231 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), Format(), GetKIIDs(), and SetFootprint().

◆ m_library

wxString COMPONENT::m_library
protectedinherited

The name of the component library where m_name was found.

Definition at line 237 of file common/netlist_reader/netlist.h.

Referenced by Format(), GetLibrary(), IsLibSource(), and SetLibrary().

◆ m_name

wxString COMPONENT::m_name
protectedinherited

The name of the component in m_library used when it was placed on the schematic.

Definition at line 234 of file common/netlist_reader/netlist.h.

Referenced by Format(), GetName(), IsLibSource(), and SetName().

◆ m_nets

std::vector< COMPONENT_NET > COMPONENT::m_nets
protectedinherited

list of nets shared by the component pins

Definition at line 217 of file common/netlist_reader/netlist.h.

Referenced by AddNet(), ClearNets(), Format(), GetNet(), GetNet(), GetNetCount(), and SortPins().

◆ m_path

KIID_PATH COMPONENT::m_path
protectedinherited

A fully specified path to the component (but not the component: [ sheetUUID, sheetUUID, .. ].

Definition at line 228 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), Format(), GetPath(), and SetFootprint().

◆ m_pinCount

int COMPONENT::m_pinCount
protectedinherited

Definition at line 220 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), GetPinCount(), and SetPinCount().

◆ m_properties

std::map< wxString, wxString > COMPONENT::m_properties
protectedinherited

Component-specific properties found in the netlist.

Definition at line 248 of file common/netlist_reader/netlist.h.

Referenced by Format(), GetProperties(), and SetProperties().

◆ m_reference

wxString COMPONENT::m_reference
protectedinherited

◆ m_units

std::vector< UNIT_INFO > COMPONENT::m_units
protectedinherited

Definition at line 269 of file common/netlist_reader/netlist.h.

Referenced by GetUnitInfo(), SetFootprint(), and SetUnitInfo().

◆ m_value

wxString COMPONENT::m_value
protectedinherited

Definition at line 222 of file common/netlist_reader/netlist.h.

Referenced by COMPONENT(), Format(), GetValue(), SetFootprint(), and SetValue().


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