KiCad PCB EDA Suite
SYMBOL_CANDIDATE Class Reference

A helper to handle symbols to edit. More...

Public Member Functions

 SYMBOL_CANDIDATE (SCH_SYMBOL *aSymbol)
 
wxString GetStringLibId ()
 

Public Attributes

SCH_SYMBOLm_Symbol
 
int m_Row
 
SCH_SCREENm_Screen
 
wxString m_Reference
 
wxString m_InitialLibId
 
bool m_IsOrphan
 

Detailed Description

A helper to handle symbols to edit.

Definition at line 247 of file dialog_edit_symbols_libid.cpp.

Constructor & Destructor Documentation

◆ SYMBOL_CANDIDATE()

SYMBOL_CANDIDATE::SYMBOL_CANDIDATE ( SCH_SYMBOL aSymbol)
inline

Definition at line 250 of file dialog_edit_symbols_libid.cpp.

251 {
252 m_Symbol = aSymbol;
254 m_Row = -1;
255 m_IsOrphan = false;
256 m_Screen = nullptr;
257 }
UTF8 Format() const
Definition: lib_id.cpp:117
const LIB_ID & GetLibId() const
Definition: sch_symbol.h:174

References LIB_ID::Format(), SCH_SYMBOL::GetLibId(), m_InitialLibId, m_IsOrphan, m_Row, m_Screen, and m_Symbol.

Member Function Documentation

◆ GetStringLibId()

wxString SYMBOL_CANDIDATE::GetStringLibId ( )
inline

Definition at line 260 of file dialog_edit_symbols_libid.cpp.

261 {
263 }
wxString GetUniStringLibId() const
Definition: lib_id.h:141

References SCH_SYMBOL::GetLibId(), LIB_ID::GetUniStringLibId(), and m_Symbol.

Member Data Documentation

◆ m_InitialLibId

wxString SYMBOL_CANDIDATE::m_InitialLibId

Definition at line 269 of file dialog_edit_symbols_libid.cpp.

Referenced by SYMBOL_CANDIDATE().

◆ m_IsOrphan

bool SYMBOL_CANDIDATE::m_IsOrphan

◆ m_Reference

wxString SYMBOL_CANDIDATE::m_Reference

◆ m_Row

int SYMBOL_CANDIDATE::m_Row

Definition at line 266 of file dialog_edit_symbols_libid.cpp.

Referenced by SYMBOL_CANDIDATE().

◆ m_Screen

SCH_SCREEN* SYMBOL_CANDIDATE::m_Screen

◆ m_Symbol

SCH_SYMBOL* SYMBOL_CANDIDATE::m_Symbol

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