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

Used to store the component pin name to net name (and pin function) associations stored in a netlist. More...

#include <pcb_netlist.h>

Public Member Functions

 COMPONENT_NET ()
 
 COMPONENT_NET (const wxString &aPinName, const wxString &aNetName, const wxString &aPinFunction, const wxString &aPinType)
 
const wxString & GetPinName () const
 
const wxString & GetNetName () const
 
const wxString & GetPinFunction () const
 
const wxString & GetPinType () const
 
bool IsValid () const
 
bool operator< (const COMPONENT_NET &aNet) const
 
int Format (OUTPUTFORMATTER *aOut, int aNestLevel, int aCtl)
 

Private Attributes

wxString m_pinName
 
wxString m_netName
 
wxString m_pinFunction
 
wxString m_pinType
 

Detailed Description

Used to store the component pin name to net name (and pin function) associations stored in a netlist.

Definition at line 46 of file pcb_netlist.h.

Constructor & Destructor Documentation

◆ COMPONENT_NET() [1/2]

COMPONENT_NET::COMPONENT_NET ( )
inline

Definition at line 49 of file pcb_netlist.h.

◆ COMPONENT_NET() [2/2]

COMPONENT_NET::COMPONENT_NET ( const wxString &  aPinName,
const wxString &  aNetName,
const wxString &  aPinFunction,
const wxString &  aPinType 
)
inline

Definition at line 51 of file pcb_netlist.h.

Member Function Documentation

◆ Format()

int COMPONENT_NET::Format ( OUTPUTFORMATTER aOut,
int  aNestLevel,
int  aCtl 
)

◆ GetNetName()

◆ GetPinFunction()

◆ GetPinName()

const wxString & COMPONENT_NET::GetPinName ( ) const
inline

◆ GetPinType()

const wxString & COMPONENT_NET::GetPinType ( ) const
inline

◆ IsValid()

bool COMPONENT_NET::IsValid ( ) const
inline

Definition at line 65 of file pcb_netlist.h.

References m_pinName.

Referenced by BOARD_NETLIST_UPDATER::updateComponentPadConnections().

◆ operator<()

bool COMPONENT_NET::operator< ( const COMPONENT_NET aNet) const
inline

Definition at line 67 of file pcb_netlist.h.

References m_pinName.

Member Data Documentation

◆ m_netName

wxString COMPONENT_NET::m_netName
private

Definition at line 76 of file pcb_netlist.h.

Referenced by Format(), and GetNetName().

◆ m_pinFunction

wxString COMPONENT_NET::m_pinFunction
private

Definition at line 77 of file pcb_netlist.h.

Referenced by GetPinFunction().

◆ m_pinName

wxString COMPONENT_NET::m_pinName
private

Definition at line 75 of file pcb_netlist.h.

Referenced by Format(), GetPinName(), IsValid(), and operator<().

◆ m_pinType

wxString COMPONENT_NET::m_pinType
private

Definition at line 78 of file pcb_netlist.h.

Referenced by GetPinType().


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