|
| PCM_LIB_TRAVERSER (const wxString &aBasePath, LIBRARY_MANAGER &aManager, const wxString &aPrefix) |
|
wxDirTraverseResult | OnFile (const wxString &aFilePath) override |
| Handles symbol library files, minimum nest level 2.
|
|
wxDirTraverseResult | OnDir (const wxString &dirPath) override |
| Handles footprint library and design block library directories, minimum nest level 3.
|
|
std::set< LIBRARY_TABLE * > | Modified () const |
|
Definition at line 184 of file library_manager.cpp.
◆ ADD_MODE
◆ PCM_LIB_TRAVERSER()
PCM_LIB_TRAVERSER::PCM_LIB_TRAVERSER |
( |
const wxString & | aBasePath, |
|
|
LIBRARY_MANAGER & | aManager, |
|
|
const wxString & | aPrefix ) |
|
inlineexplicit |
Definition at line 187 of file library_manager.cpp.
References DESIGN_BLOCK, FOOTPRINT, GetSettingsManager(), GLOBAL, m_designBlockTable, m_fpTable, m_lib_prefix, m_manager, m_path_prefix, m_prefix_dir_count, m_project, m_symbolTable, Pgm(), Prj(), and SYMBOL.
◆ addRowIfNecessary()
void PCM_LIB_TRAVERSER::addRowIfNecessary |
( |
LIBRARY_TABLE * | aTable, |
|
|
const wxFileName & | aSource, |
|
|
ADD_MODE | aMode, |
|
|
int | aExtensionLength ) |
|
inlineprivate |
Definition at line 268 of file library_manager.cpp.
References _, AM_FILE, ensureUnique(), ENV_VAR::GetVersionedEnvVarName(), LIBRARY_TABLE::HasRowWithURI(), LIBRARY_TABLE::InsertRow(), m_lib_prefix, m_modified, m_prefix_dir_count, m_project, name, LIBRARY_TABLE_ROW::SetDescription(), LIBRARY_TABLE_ROW::SetNickname(), LIBRARY_TABLE_ROW::SetType(), LIBRARY_TABLE_ROW::SetURI(), and traceLibraries.
Referenced by OnDir(), and OnFile().
◆ ensureUnique()
void PCM_LIB_TRAVERSER::ensureUnique |
( |
LIBRARY_TABLE * | aTable, |
|
|
const wxString & | aBaseName, |
|
|
wxString & | aNickname ) const |
|
inlineprivate |
◆ Modified()
std::set< LIBRARY_TABLE * > PCM_LIB_TRAVERSER::Modified |
( |
| ) |
const |
|
inline |
◆ OnDir()
wxDirTraverseResult PCM_LIB_TRAVERSER::OnDir |
( |
const wxString & | dirPath | ) |
|
|
inlineoverride |
◆ OnFile()
wxDirTraverseResult PCM_LIB_TRAVERSER::OnFile |
( |
const wxString & | aFilePath | ) |
|
|
inlineoverride |
◆ m_designBlockTable
◆ m_fpTable
◆ m_lib_prefix
wxString PCM_LIB_TRAVERSER::m_lib_prefix |
|
private |
◆ m_manager
◆ m_modified
◆ m_path_prefix
wxString PCM_LIB_TRAVERSER::m_path_prefix |
|
private |
◆ m_prefix_dir_count
size_t PCM_LIB_TRAVERSER::m_prefix_dir_count |
|
private |
◆ m_project
const PROJECT& PCM_LIB_TRAVERSER::m_project |
|
private |
◆ m_symbolTable
The documentation for this class was generated from the following file: