KiCad PCB EDA Suite
CMP_CANDIDATE Class Reference

Public Member Functions

 CMP_CANDIDATE (SCH_COMPONENT *aComponent)
 
wxString GetStringLibId ()
 
wxString GetSchematicReference ()
 

Public Attributes

SCH_COMPONENTm_Component
 
int m_Row
 
SCH_SCREENm_Screen
 
wxString m_Reference
 
wxString m_InitialLibId
 
bool m_IsOrphan
 

Detailed Description

Definition at line 257 of file dialog_edit_components_libid.cpp.

Constructor & Destructor Documentation

◆ CMP_CANDIDATE()

CMP_CANDIDATE::CMP_CANDIDATE ( SCH_COMPONENT aComponent)
inline

Definition at line 267 of file dialog_edit_components_libid.cpp.

References LIB_ID::Format(), SCH_COMPONENT::GetLibId(), m_Component, m_InitialLibId, m_IsOrphan, m_Row, and m_Screen.

268  {
269  m_Component = aComponent;
271  m_Row = -1;
272  m_IsOrphan = false;
273  m_Screen = nullptr;
274  }
UTF8 Format() const
Definition: lib_id.cpp:237
const LIB_ID & GetLibId() const

Member Function Documentation

◆ GetSchematicReference()

wxString CMP_CANDIDATE::GetSchematicReference ( )
inline

Definition at line 283 of file dialog_edit_components_libid.cpp.

References m_Reference.

284  {
285  return m_Reference;
286  }

◆ GetStringLibId()

wxString CMP_CANDIDATE::GetStringLibId ( )
inline

Definition at line 277 of file dialog_edit_components_libid.cpp.

References SCH_COMPONENT::GetLibId(), LIB_ID::GetUniStringLibId(), and m_Component.

278  {
280  }
wxString GetUniStringLibId() const
Definition: lib_id.h:148
const LIB_ID & GetLibId() const

Member Data Documentation

◆ m_Component

◆ m_InitialLibId

wxString CMP_CANDIDATE::m_InitialLibId

Definition at line 264 of file dialog_edit_components_libid.cpp.

Referenced by CMP_CANDIDATE().

◆ m_IsOrphan

bool CMP_CANDIDATE::m_IsOrphan

Definition at line 265 of file dialog_edit_components_libid.cpp.

Referenced by CMP_CANDIDATE().

◆ m_Reference

wxString CMP_CANDIDATE::m_Reference

◆ m_Row

int CMP_CANDIDATE::m_Row

Definition at line 261 of file dialog_edit_components_libid.cpp.

Referenced by CMP_CANDIDATE().

◆ m_Screen

SCH_SCREEN* CMP_CANDIDATE::m_Screen

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