Traverser implementation that looks to find any and all "folder" libraries by looking for files with a specific extension inside folders.
More...
|
| LIBRARY_TRAVERSER (std::vector< std::string > aSearchExtensions, wxString aInitialDir) |
|
virtual wxDirTraverseResult | OnFile (const wxString &aFileName) override |
|
virtual wxDirTraverseResult | OnOpenError (const wxString &aOpenErrorName) override |
|
bool | HasDirectoryOpenFailures () |
|
virtual wxDirTraverseResult | OnDir (const wxString &aDirName) override |
|
void | GetPaths (wxArrayString &aPathArray) |
|
void | GetFailedPaths (wxArrayString &aPathArray) |
|
| LIBRARY_TRAVERSER (std::vector< std::string > aSearchExtensions, wxString aInitialDir) |
|
virtual wxDirTraverseResult | OnFile (const wxString &aFileName) override |
|
virtual wxDirTraverseResult | OnOpenError (const wxString &aOpenErrorName) override |
|
bool | HasDirectoryOpenFailures () |
|
virtual wxDirTraverseResult | OnDir (const wxString &aDirName) override |
|
void | GetPaths (wxArrayString &aPathArray) |
|
void | GetFailedPaths (wxArrayString &aPathArray) |
|
Traverser implementation that looks to find any and all "folder" libraries by looking for files with a specific extension inside folders.
Definition at line 88 of file panel_design_block_lib_table.cpp.
◆ LIBRARY_TRAVERSER() [1/2]
LIBRARY_TRAVERSER::LIBRARY_TRAVERSER |
( |
std::vector< std::string > |
aSearchExtensions, |
|
|
wxString |
aInitialDir |
|
) |
| |
|
inline |
◆ LIBRARY_TRAVERSER() [2/2]
LIBRARY_TRAVERSER::LIBRARY_TRAVERSER |
( |
std::vector< std::string > |
aSearchExtensions, |
|
|
wxString |
aInitialDir |
|
) |
| |
|
inline |
◆ GetFailedPaths() [1/2]
void LIBRARY_TRAVERSER::GetFailedPaths |
( |
wxArrayString & |
aPathArray | ) |
|
|
inline |
◆ GetFailedPaths() [2/2]
void LIBRARY_TRAVERSER::GetFailedPaths |
( |
wxArrayString & |
aPathArray | ) |
|
|
inline |
◆ GetPaths() [1/2]
void LIBRARY_TRAVERSER::GetPaths |
( |
wxArrayString & |
aPathArray | ) |
|
|
inline |
◆ GetPaths() [2/2]
void LIBRARY_TRAVERSER::GetPaths |
( |
wxArrayString & |
aPathArray | ) |
|
|
inline |
◆ HasDirectoryOpenFailures() [1/2]
bool LIBRARY_TRAVERSER::HasDirectoryOpenFailures |
( |
| ) |
|
|
inline |
◆ HasDirectoryOpenFailures() [2/2]
bool LIBRARY_TRAVERSER::HasDirectoryOpenFailures |
( |
| ) |
|
|
inline |
◆ OnDir() [1/2]
virtual wxDirTraverseResult LIBRARY_TRAVERSER::OnDir |
( |
const wxString & |
aDirName | ) |
|
|
inlineoverridevirtual |
◆ OnDir() [2/2]
virtual wxDirTraverseResult LIBRARY_TRAVERSER::OnDir |
( |
const wxString & |
aDirName | ) |
|
|
inlineoverridevirtual |
◆ OnFile() [1/2]
virtual wxDirTraverseResult LIBRARY_TRAVERSER::OnFile |
( |
const wxString & |
aFileName | ) |
|
|
inlineoverridevirtual |
◆ OnFile() [2/2]
virtual wxDirTraverseResult LIBRARY_TRAVERSER::OnFile |
( |
const wxString & |
aFileName | ) |
|
|
inlineoverridevirtual |
◆ OnOpenError() [1/2]
virtual wxDirTraverseResult LIBRARY_TRAVERSER::OnOpenError |
( |
const wxString & |
aOpenErrorName | ) |
|
|
inlineoverridevirtual |
◆ OnOpenError() [2/2]
virtual wxDirTraverseResult LIBRARY_TRAVERSER::OnOpenError |
( |
const wxString & |
aOpenErrorName | ) |
|
|
inlineoverridevirtual |
◆ m_currentDir
wxString LIBRARY_TRAVERSER::m_currentDir |
|
private |
◆ m_failedDirs
std::unordered_map< wxString, int > LIBRARY_TRAVERSER::m_failedDirs |
|
private |
◆ m_foundDirs
std::unordered_map< wxString, int > LIBRARY_TRAVERSER::m_foundDirs |
|
private |
◆ m_searchExtensions
std::vector< std::string > LIBRARY_TRAVERSER::m_searchExtensions |
|
private |
The documentation for this class was generated from the following files: