|
KiCad PCB EDA Suite
|
#include <library_table.h>
Public Member Functions | |
| LIBRARY_TABLE_ROW ()=default | |
| bool | operator== (const LIBRARY_TABLE_ROW &aOther) const |
| void | SetNickname (const wxString &aNickname) |
| const wxString & | Nickname () const |
| void | SetURI (const wxString &aUri) |
| const wxString & | URI () const |
| void | SetType (const wxString &aType) |
| const wxString & | Type () const |
| void | SetOptions (const wxString &aOptions) |
| const wxString & | Options () const |
| void | SetDescription (const wxString &aDescription) |
| const wxString & | Description () const |
| void | SetScope (LIBRARY_TABLE_SCOPE aScope) |
| LIBRARY_TABLE_SCOPE | Scope () const |
| void | SetDisabled (bool aDisabled=true) |
| bool | Disabled () const |
| void | SetHidden (bool aHidden=true) |
| bool | Hidden () const |
| std::map< std::string, UTF8 > | GetOptionsMap () const |
| void | SetOk (bool aOk=true) |
| bool | IsOk () const |
| void | SetErrorDescription (const wxString &aDescription) |
| const wxString & | ErrorDescription () const |
Static Public Attributes | |
| static const wxString | TABLE_TYPE_NAME = wxT( "Table" ) |
Private Attributes | |
| wxString | m_nickname |
| wxString | m_uri |
| wxString | m_type |
| wxString | m_options |
| wxString | m_description |
| bool | m_disabled = false |
| bool | m_hidden = false |
| bool | m_ok = false |
| wxString | m_errorDescription |
| LIBRARY_TABLE_SCOPE | m_scope = LIBRARY_TABLE_SCOPE::UNINITIALIZED |
Friends | |
| class | LIBRARY_TABLE |
Definition at line 69 of file library_table.h.
|
default |
References LIBRARY_TABLE_ROW().
Referenced by LIBRARY_TABLE_ROW(), and operator==().
|
inline |
Definition at line 93 of file library_table.h.
References m_description.
Referenced by LIB_TABLE_GRID_DATA_MODEL::GetValue(), and SCH_EDIT_FRAME::LoadSheetFromFile().
|
inline |
Definition at line 99 of file library_table.h.
References m_disabled.
Referenced by LIB_TABLE_GRID_DATA_MODEL::GetValue(), and LIB_TABLE_GRID_DATA_MODEL::GetValueAsBool().
|
inline |
Definition at line 110 of file library_table.h.
References m_errorDescription.
Referenced by LIB_TABLE_GRID_DATA_MODEL::GetValue(), and LIB_TABLE_GRID_TRICKS::onGridCellLeftClick().
| std::map< std::string, UTF8 > LIBRARY_TABLE_ROW::GetOptionsMap | ( | ) | const |
Definition at line 49 of file library_table.cpp.
References m_options, LIBRARY_TABLE::ParseOptions(), and TO_UTF8.
Referenced by LIBRARY_MANAGER_ADAPTER::CreateLibrary(), DESIGN_BLOCK_LIBRARY_ADAPTER::DeleteDesignBlock(), LIBRARY_MANAGER_ADAPTER::DeleteLibrary(), DESIGN_BLOCK_LIBRARY_ADAPTER::DesignBlockExists(), FOOTPRINT_LIBRARY_ADAPTER::FootprintExists(), DESIGN_BLOCK_LIBRARY_ADAPTER::GetDesignBlockNames(), DESIGN_BLOCK_LIBRARY_ADAPTER::GetDesignBlocks(), DESIGN_BLOCK_LIBRARY_ADAPTER::GetEnumeratedDesignBlock(), FOOTPRINT_LIBRARY_ADAPTER::GetFootprintNames(), FOOTPRINT_LIBRARY_ADAPTER::GetFootprints(), SYMBOL_LIBRARY_ADAPTER::GetSymbolNames(), SYMBOL_LIBRARY_ADAPTER::GetSymbols(), DESIGN_BLOCK_LIBRARY_ADAPTER::LoadDesignBlock(), FOOTPRINT_LIBRARY_ADAPTER::LoadOne(), SYMBOL_LIBRARY_ADAPTER::LoadOne(), and DESIGN_BLOCK_LIBRARY_ADAPTER::SaveDesignBlock().
|
inline |
Definition at line 102 of file library_table.h.
References m_hidden.
Referenced by LIB_TABLE_GRID_DATA_MODEL::GetValue(), LIB_TABLE_GRID_DATA_MODEL::GetValueAsBool(), and SYMBOL_VIEWER_FRAME::ReCreateLibList().
|
inline |
Definition at line 107 of file library_table.h.
References m_ok.
Referenced by LIB_TABLE_GRID_DATA_MODEL::GetAttr(), LIB_TABLE_GRID_DATA_MODEL::GetValue(), and LIB_TABLE_GRID_TRICKS::onGridCellLeftClick().
|
inline |
Definition at line 81 of file library_table.h.
References m_nickname.
Referenced by LIB_TABLE_GRID_DATA_MODEL::ContainsNickname(), FOOTPRINT_LIBRARY_ADAPTER::createPlugin(), SYMBOL_LIBRARY_ADAPTER::createPlugin(), SCH_EDITOR_CONTROL::ExportSymbolsToLibrary(), LIB_TABLE_GRID_DATA_MODEL::GetAttr(), DESIGN_BLOCK_LIBRARY_ADAPTER::GetDesignBlocks(), FOOTPRINT_LIBRARY_ADAPTER::GetFootprintNames(), FOOTPRINT_LIBRARY_ADAPTER::GetFootprints(), SYMBOL_LIBRARY_ADAPTER::GetSymbols(), LIB_TABLE_GRID_DATA_MODEL::GetValue(), LIBRARY_MANAGER_ADAPTER::loadIfNeeded(), LIB_TABLE_GRID_TRICKS::onGridCellLeftClick(), DESIGN_BLOCK_GRID_TRICKS::openTable(), FP_GRID_TRICKS::openTable(), SYMBOL_GRID_TRICKS::openTable(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), and SYMBOL_GRID_TRICKS::optionsEditor().
| bool LIBRARY_TABLE_ROW::operator== | ( | const LIBRARY_TABLE_ROW & | aOther | ) | const |
Definition at line 36 of file library_table.cpp.
References LIBRARY_TABLE_ROW(), m_description, m_disabled, m_hidden, m_nickname, m_options, m_scope, m_type, and m_uri.
|
inline |
Definition at line 90 of file library_table.h.
References m_options.
Referenced by LIB_TABLE_GRID_DATA_MODEL::GetValue(), SCH_EDIT_FRAME::LoadSheetFromFile(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), and SYMBOL_GRID_TRICKS::optionsEditor().
|
inline |
Definition at line 96 of file library_table.h.
References m_scope.
Referenced by FOOTPRINT_LIBRARY_ADAPTER::createPlugin(), SYMBOL_LIBRARY_ADAPTER::createPlugin(), and SCH_EDITOR_CONTROL::ExportSymbolsToLibrary().
|
inline |
Definition at line 92 of file library_table.h.
References m_description.
Referenced by DESIGN_BLOCK_PANE::AddDesignBlockLibrary(), PCM_LIB_TRAVERSER::addRowIfNecessary(), LIBRARY_MANAGER::CreateGlobalTable(), SCH_EDIT_FRAME::LoadSheetFromFile(), and LIB_TABLE_GRID_DATA_MODEL::SetValue().
|
inline |
Definition at line 98 of file library_table.h.
References m_disabled.
Referenced by LIB_TABLE_GRID_DATA_MODEL::SetValue(), and LIB_TABLE_GRID_DATA_MODEL::SetValueAsBool().
|
inline |
Definition at line 109 of file library_table.h.
References m_errorDescription.
|
inline |
Definition at line 101 of file library_table.h.
References m_hidden.
Referenced by LIB_TABLE_GRID_DATA_MODEL::SetValue(), and LIB_TABLE_GRID_DATA_MODEL::SetValueAsBool().
|
inline |
Definition at line 80 of file library_table.h.
References m_nickname.
Referenced by DESIGN_BLOCK_PANE::AddDesignBlockLibrary(), PCB_BASE_EDIT_FRAME::AddLibrary(), SYMBOL_LIBRARY_MANAGER::addLibrary(), SYMBOL_EDIT_FRAME::addLibTableEntry(), PCM_LIB_TRAVERSER::addRowIfNecessary(), LIBRARY_MANAGER::CreateGlobalTable(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), SCH_EDIT_FRAME::KiwayMailIn(), SCH_IO_CADSTAR_ARCHIVE::LoadSchematicFile(), SCH_IO_EAGLE::LoadSchematicFile(), SCH_IO_EASYEDAPRO::LoadSchematicFile(), SCH_EDIT_FRAME::LoadSheetFromFile(), LIB_TABLE_GRID_DATA_MODEL::SetValue(), and SYMBOL_LIB_TABLE_RESCUER::WriteRescueLibrary().
|
inline |
Definition at line 106 of file library_table.h.
References m_ok.
Referenced by LIBRARY_TABLE::MakeRow().
|
inline |
Definition at line 89 of file library_table.h.
References m_options.
Referenced by SCH_EDIT_FRAME::LoadSheetFromFile(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), SYMBOL_GRID_TRICKS::optionsEditor(), and LIB_TABLE_GRID_DATA_MODEL::SetValue().
|
inline |
Definition at line 95 of file library_table.h.
References m_scope.
Referenced by LIBRARY_TABLE::MakeRow().
|
inline |
Definition at line 86 of file library_table.h.
References m_type.
Referenced by DESIGN_BLOCK_PANE::AddDesignBlockLibrary(), PCB_BASE_EDIT_FRAME::AddLibrary(), SYMBOL_LIBRARY_MANAGER::addLibrary(), SYMBOL_EDIT_FRAME::addLibTableEntry(), PCM_LIB_TRAVERSER::addRowIfNecessary(), LIBRARY_MANAGER::CreateGlobalTable(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), SCH_EDIT_FRAME::KiwayMailIn(), SCH_IO_CADSTAR_ARCHIVE::LoadSchematicFile(), SCH_IO_EAGLE::LoadSchematicFile(), SCH_IO_EASYEDAPRO::LoadSchematicFile(), SCH_EDIT_FRAME::LoadSheetFromFile(), SYMBOL_EDIT_FRAME::replaceLibTableEntry(), LIB_TABLE_GRID_DATA_MODEL::SetValue(), and SYMBOL_LIB_TABLE_RESCUER::WriteRescueLibrary().
|
inline |
Definition at line 83 of file library_table.h.
References m_uri.
Referenced by DESIGN_BLOCK_PANE::AddDesignBlockLibrary(), PCB_BASE_EDIT_FRAME::AddLibrary(), SYMBOL_LIBRARY_MANAGER::addLibrary(), SYMBOL_EDIT_FRAME::addLibTableEntry(), PCM_LIB_TRAVERSER::addRowIfNecessary(), LIBRARY_MANAGER::CreateGlobalTable(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), SCH_EDIT_FRAME::KiwayMailIn(), SCH_IO_CADSTAR_ARCHIVE::LoadSchematicFile(), SCH_IO_EAGLE::LoadSchematicFile(), SCH_IO_EASYEDAPRO::LoadSchematicFile(), SCH_EDIT_FRAME::LoadSheetFromFile(), SYMBOL_EDIT_FRAME::replaceLibTableEntry(), LIB_TABLE_GRID_DATA_MODEL::SetValue(), and SYMBOL_LIB_TABLE_RESCUER::WriteRescueLibrary().
|
inline |
Definition at line 87 of file library_table.h.
References m_type.
Referenced by DESIGN_BLOCK_LIBRARY_ADAPTER::createPlugin(), FOOTPRINT_LIBRARY_ADAPTER::createPlugin(), SYMBOL_LIBRARY_ADAPTER::createPlugin(), SCH_EDITOR_CONTROL::ExportSymbolsToLibrary(), LIB_TABLE_GRID_DATA_MODEL::GetAttr(), DESIGN_BLOCK_LIB_TABLE_GRID_DATA_MODEL::getFileTypes(), FP_LIB_TABLE_GRID_DATA_MODEL::getFileTypes(), SYMBOL_LIB_TABLE_GRID_DATA_MODEL::getFileTypes(), LIB_TABLE_GRID_DATA_MODEL::GetValue(), SCH_EDIT_FRAME::LoadSheetFromFile(), SYMBOL_EDIT_FRAME::LoadSymbol(), LIB_TABLE_GRID_TRICKS::onGridCellLeftClick(), SYMBOL_LIB_TABLE_RESCUER::OpenRescueLibrary(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), and SYMBOL_GRID_TRICKS::optionsEditor().
|
inline |
Definition at line 84 of file library_table.h.
References m_uri.
Referenced by LIBRARY_MANAGER::GetFullURI(), LIBRARY_MANAGER_ADAPTER::getUri(), LIB_TABLE_GRID_DATA_MODEL::GetValue(), DESIGN_BLOCK_GRID_TRICKS::openTable(), FP_GRID_TRICKS::openTable(), SYMBOL_GRID_TRICKS::openTable(), DESIGN_BLOCK_LIB_TABLE_GRID_DATA_MODEL::SetValue(), FP_LIB_TABLE_GRID_DATA_MODEL::SetValue(), and SYMBOL_LIB_TABLE_GRID_DATA_MODEL::SetValue().
|
friend |
Definition at line 72 of file library_table.h.
References LIBRARY_TABLE.
Referenced by LIBRARY_TABLE.
|
private |
Definition at line 117 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), Description(), operator==(), and SetDescription().
|
private |
Definition at line 118 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), Disabled(), operator==(), and SetDisabled().
|
private |
Definition at line 122 of file library_table.h.
Referenced by ErrorDescription(), and SetErrorDescription().
|
private |
Definition at line 119 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), Hidden(), operator==(), and SetHidden().
|
private |
Definition at line 113 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), Nickname(), operator==(), and SetNickname().
|
private |
Definition at line 121 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), IsOk(), and SetOk().
|
private |
Definition at line 116 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), GetOptionsMap(), operator==(), Options(), and SetOptions().
|
private |
Definition at line 123 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), operator==(), Scope(), and SetScope().
|
private |
Definition at line 115 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), operator==(), SetType(), and Type().
|
private |
Definition at line 114 of file library_table.h.
Referenced by LIBRARY_TABLE::addRowFromIR(), operator==(), SetURI(), and URI().
|
static |
Definition at line 74 of file library_table.h.
Referenced by LIBRARY_MANAGER::CreateGlobalTable(), DESIGN_BLOCK_IO_MGR::EnumFromStr(), PCB_IO_MGR::EnumFromStr(), SCH_IO_MGR::EnumFromStr(), LIB_TABLE_GRID_DATA_MODEL::GetAttr(), DESIGN_BLOCK_LIB_TABLE_GRID_DATA_MODEL::getFileTypes(), SYMBOL_LIB_TABLE_GRID_DATA_MODEL::getFileTypes(), LIB_TABLE_GRID_DATA_MODEL::GetValue(), LIBRARY_MANAGER::loadNestedTables(), LIB_TABLE_GRID_TRICKS::onGridCellLeftClick(), LIBRARY_MANAGER::Rows(), LIB_TABLE_GRID_TRICKS::showPopupMenu(), DESIGN_BLOCK_IO_MGR::ShowType(), PCB_IO_MGR::ShowType(), and SCH_IO_MGR::ShowType().