| 
    KiCad PCB EDA Suite
    
   | 
 
#include <topo_match.h>
Public Member Functions | |
| COMPONENT (const wxString &aRef, FOOTPRINT *aParentFp, std::optional< VECTOR2I > aRaOffset=std::optional< VECTOR2I >()) | |
| ~COMPONENT () | |
| bool | IsSameKind (const COMPONENT &b) const | 
| void | AddPin (PIN *p) | 
| int | GetPinCount () const | 
| bool | MatchesWith (COMPONENT *b) | 
| std::vector< PIN * > & | Pins () | 
| FOOTPRINT * | GetParent () const | 
| bool | HasRAOffset () const | 
| const VECTOR2I | GetRAOffset () const | 
Private Member Functions | |
| void | sortPinsByName () | 
Private Attributes | |
| std::optional< VECTOR2I > | m_raOffset | 
| wxString | m_reference | 
| wxString | m_prefix | 
| FOOTPRINT * | m_parentFootprint = nullptr | 
| std::vector< PIN * > | m_pins | 
Friends | |
| class | PIN | 
| class | CONNECTION_GRAPH | 
Definition at line 45 of file topo_match.h.
| COMPONENT::COMPONENT | ( | const wxString & | aRef, | 
| FOOTPRINT * | aParentFp, | ||
| std::optional< VECTOR2I > | aRaOffset = std::optional<VECTOR2I>() ) | 
Definition at line 550 of file topo_match.cpp.
References UTIL::GetRefDesPrefix(), m_parentFootprint, m_prefix, m_raOffset, and m_reference.
Referenced by CONNECTION_GRAPH, IsSameKind(), and MatchesWith().
| COMPONENT::~COMPONENT | ( | ) | 
Definition at line 651 of file topo_match.cpp.
| void COMPONENT::AddPin | ( | PIN * | p | ) | 
Definition at line 568 of file topo_match.cpp.
References m_pins, PIN, and TMATCH::PIN::SetParent().
      
  | 
  inline | 
Definition at line 59 of file topo_match.h.
References m_parentFootprint.
Referenced by TMATCH::checkIfPadNetsMatch().
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 62 of file topo_match.h.
References m_raOffset.
      
  | 
  inline | 
Definition at line 61 of file topo_match.h.
References m_raOffset.
| bool COMPONENT::IsSameKind | ( | const COMPONENT & | b | ) | const | 
Definition at line 559 of file topo_match.cpp.
References COMPONENT(), LIB_ID::empty(), FOOTPRINT::GetFPID(), m_parentFootprint, and m_prefix.
Referenced by MatchesWith().
| bool COMPONENT::MatchesWith | ( | COMPONENT * | b | ) | 
Definition at line 575 of file topo_match.cpp.
References COMPONENT(), GetPinCount(), IsSameKind(), m_pins, and pin.
Referenced by TMATCH::CONNECTION_GRAPH::findMatchingComponents().
      
  | 
  inline | 
Definition at line 58 of file topo_match.h.
References m_pins.
Referenced by TMATCH::checkIfPadNetsMatch().
      
  | 
  private | 
Definition at line 266 of file topo_match.cpp.
      
  | 
  friend | 
Definition at line 48 of file topo_match.h.
References COMPONENT(), CONNECTION_GRAPH, and PIN.
Referenced by CONNECTION_GRAPH.
      
  | 
  friend | 
Definition at line 47 of file topo_match.h.
References PIN.
Referenced by AddPin(), CONNECTION_GRAPH, PIN, sortPinsByName(), and ~COMPONENT().
      
  | 
  private | 
Definition at line 71 of file topo_match.h.
Referenced by COMPONENT(), GetParent(), and IsSameKind().
      
  | 
  private | 
Definition at line 72 of file topo_match.h.
Referenced by AddPin(), TMATCH::CONNECTION_GRAPH::findMatchingComponents(), GetPinCount(), MatchesWith(), Pins(), sortPinsByName(), and ~COMPONENT().
      
  | 
  private | 
Definition at line 70 of file topo_match.h.
Referenced by COMPONENT(), and IsSameKind().
      
  | 
  private | 
Definition at line 68 of file topo_match.h.
Referenced by COMPONENT(), GetRAOffset(), and HasRAOffset().
      
  | 
  private | 
Definition at line 69 of file topo_match.h.
Referenced by COMPONENT(), TMATCH::CONNECTION_GRAPH::findMatchingComponents(), and TMATCH::PIN::IsIsomorphic().