KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TMATCH::PIN Class Reference

#include <topo_match.h>

Public Member Functions

 PIN ()
 
 ~PIN ()
 
void SetParent (COMPONENT *parent)
 
const wxString Format () const
 
void AddConnection (PIN *pin)
 
bool IsTopologicallySimilar (const PIN &b) const
 
bool IsIsomorphic (const PIN &b) const
 
int GetNetCode () const
 
const wxString & GetReference () const
 
COMPONENTGetParent () const
 

Private Attributes

wxString m_ref
 
int m_netcode
 
COMPONENTm_parent
 
std::vector< PIN * > m_conns
 

Friends

class CONNECTION_GRAPH
 

Detailed Description

Definition at line 75 of file topo_match.h.

Constructor & Destructor Documentation

◆ PIN()

TMATCH::PIN::PIN ( )
inline

Definition at line 80 of file topo_match.h.

◆ ~PIN()

TMATCH::PIN::~PIN ( )
inline

Definition at line 81 of file topo_match.h.

Member Function Documentation

◆ AddConnection()

void TMATCH::PIN::AddConnection ( PIN pin)
inline

Definition at line 87 of file topo_match.h.

References m_conns, and pin.

◆ Format()

const wxString TMATCH::PIN::Format ( ) const
inline

Definition at line 85 of file topo_match.h.

References m_parent, m_ref, and TMATCH::COMPONENT::m_reference.

◆ GetNetCode()

int TMATCH::PIN::GetNetCode ( ) const
inline

Definition at line 101 of file topo_match.h.

References m_netcode.

◆ GetParent()

COMPONENT * TMATCH::PIN::GetParent ( ) const
inline

Definition at line 105 of file topo_match.h.

References m_parent.

◆ GetReference()

const wxString & TMATCH::PIN::GetReference ( ) const
inline

Definition at line 103 of file topo_match.h.

References m_ref.

◆ IsIsomorphic()

bool TMATCH::PIN::IsIsomorphic ( const PIN b) const

◆ IsTopologicallySimilar()

bool TMATCH::PIN::IsTopologicallySimilar ( const PIN b) const
inline

Definition at line 89 of file topo_match.h.

References TMATCH::COMPONENT::IsSameKind(), m_parent, and m_ref.

◆ SetParent()

void TMATCH::PIN::SetParent ( COMPONENT parent)
inline

Definition at line 83 of file topo_match.h.

References m_parent.

Referenced by TMATCH::COMPONENT::AddPin().

Friends And Related Function Documentation

◆ CONNECTION_GRAPH

friend class CONNECTION_GRAPH
friend

Definition at line 77 of file topo_match.h.

Member Data Documentation

◆ m_conns

std::vector<PIN*> TMATCH::PIN::m_conns
private

Definition at line 112 of file topo_match.h.

Referenced by AddConnection(), and IsIsomorphic().

◆ m_netcode

int TMATCH::PIN::m_netcode
private

Definition at line 110 of file topo_match.h.

Referenced by GetNetCode(), and IsIsomorphic().

◆ m_parent

COMPONENT* TMATCH::PIN::m_parent
private

Definition at line 111 of file topo_match.h.

Referenced by Format(), GetParent(), IsIsomorphic(), IsTopologicallySimilar(), and SetParent().

◆ m_ref

wxString TMATCH::PIN::m_ref
private

Definition at line 109 of file topo_match.h.

Referenced by Format(), GetReference(), IsIsomorphic(), and IsTopologicallySimilar().


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