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 ( SCH_COMPONENT aComponent)
inline

Definition at line 267 of file dialog_edit_components_libid.cpp.

References LIB_ID::Format(), and SCH_COMPONENT::GetLibId().

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

Member Function Documentation

wxString CMP_CANDIDATE::GetSchematicReference ( )
inline

Definition at line 283 of file dialog_edit_components_libid.cpp.

Referenced by DIALOG_EDIT_COMPONENTS_LIBID::initDlg().

284  {
285  return m_Reference;
286  }
wxString CMP_CANDIDATE::GetStringLibId ( )
inline

Definition at line 277 of file dialog_edit_components_libid.cpp.

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

Referenced by DIALOG_EDIT_COMPONENTS_LIBID::initDlg().

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

Member Data Documentation

SCH_COMPONENT* CMP_CANDIDATE::m_Component
wxString CMP_CANDIDATE::m_InitialLibId

Definition at line 264 of file dialog_edit_components_libid.cpp.

bool CMP_CANDIDATE::m_IsOrphan
wxString CMP_CANDIDATE::m_Reference
int CMP_CANDIDATE::m_Row
SCH_SCREEN* CMP_CANDIDATE::m_Screen

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