KiCad PCB EDA Suite
|
Store a working copy of a library. More...
#include <symbol_library_manager.h>
Public Member Functions | |
SYMBOL_BUFFER (LIB_SYMBOL *aSymbol=nullptr, std::unique_ptr< SCH_SCREEN > aScreen=nullptr) | |
~SYMBOL_BUFFER () | |
LIB_SYMBOL * | GetSymbol () const |
void | SetSymbol (LIB_SYMBOL *aSymbol) |
LIB_SYMBOL * | GetOriginal () const |
void | SetOriginal (LIB_SYMBOL *aSymbol) |
bool | IsModified () const |
SCH_SCREEN * | GetScreen () const |
Private Attributes | |
std::unique_ptr< SCH_SCREEN > | m_screen |
LIB_SYMBOL * | m_symbol |
LIB_SYMBOL * | m_original |
Store a working copy of a library.
Definition at line 57 of file symbol_library_manager.h.
SYMBOL_BUFFER::SYMBOL_BUFFER | ( | LIB_SYMBOL * | aSymbol = nullptr , |
std::unique_ptr< SCH_SCREEN > | aScreen = nullptr |
||
) |
Definition at line 866 of file symbol_library_manager.cpp.
References m_original.
SYMBOL_BUFFER::~SYMBOL_BUFFER | ( | ) |
Definition at line 874 of file symbol_library_manager.cpp.
References m_original, and m_symbol.
|
inline |
Definition at line 66 of file symbol_library_manager.h.
References m_original.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 70 of file symbol_library_manager.h.
References m_screen.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 63 of file symbol_library_manager.h.
References m_symbol.
Referenced by BOOST_AUTO_TEST_CASE().
bool SYMBOL_BUFFER::IsModified | ( | ) | const |
Definition at line 913 of file symbol_library_manager.cpp.
References m_screen.
Referenced by BOOST_AUTO_TEST_CASE().
void SYMBOL_BUFFER::SetOriginal | ( | LIB_SYMBOL * | aSymbol | ) |
Definition at line 897 of file symbol_library_manager.cpp.
References LIB_SYMBOL::GetLibId(), LIB_ID::GetLibItemName(), LIB_ID::GetLibNickname(), m_original, m_symbol, and LIB_SYMBOL::SetLibId().
Referenced by BOOST_AUTO_TEST_CASE().
void SYMBOL_BUFFER::SetSymbol | ( | LIB_SYMBOL * | aSymbol | ) |
Definition at line 881 of file symbol_library_manager.cpp.
References LIB_SYMBOL::GetLibId(), LIB_ID::GetLibItemName(), LIB_ID::GetLibNickname(), m_original, m_symbol, and LIB_SYMBOL::SetLibId().
|
private |
Definition at line 75 of file symbol_library_manager.h.
Referenced by GetOriginal(), SetOriginal(), SetSymbol(), SYMBOL_BUFFER(), and ~SYMBOL_BUFFER().
|
private |
Definition at line 73 of file symbol_library_manager.h.
Referenced by GetScreen(), and IsModified().
|
private |
Definition at line 74 of file symbol_library_manager.h.
Referenced by GetSymbol(), SetOriginal(), SetSymbol(), and ~SYMBOL_BUFFER().