KiCad PCB EDA Suite
Loading...
Searching...
No Matches
UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER Class Reference

A wxDirTraverser to filter out symbol (.kicad_sym) files in an unpacked symbol library. More...

Inheritance diagram for UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER:

Public Member Functions

 UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER (std::vector< wxString > &aFiles)
 
virtual wxDirTraverseResult OnFile (const wxString &aFilename) override
 
virtual wxDirTraverseResult OnDir (const wxString &WXUNUSED(aDirname)) override
 

Private Attributes

std::vector< wxString > & m_files
 

Detailed Description

A wxDirTraverser to filter out symbol (.kicad_sym) files in an unpacked symbol library.

Definition at line 112 of file symbol_edit_frame.cpp.

Constructor & Destructor Documentation

◆ UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER()

UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER::UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER ( std::vector< wxString > & aFiles)
inline

Definition at line 115 of file symbol_edit_frame.cpp.

References m_files.

Member Function Documentation

◆ OnDir()

virtual wxDirTraverseResult UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER::OnDir ( const wxString & WXUNUSEDaDirname)
inlineoverridevirtual

Definition at line 129 of file symbol_edit_frame.cpp.

◆ OnFile()

virtual wxDirTraverseResult UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER::OnFile ( const wxString & aFilename)
inlineoverridevirtual

Definition at line 118 of file symbol_edit_frame.cpp.

References FILEEXT::KiCadSymbolLibFileExtension, and m_files.

Member Data Documentation

◆ m_files

std::vector<wxString>& UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER::m_files
private

Definition at line 135 of file symbol_edit_frame.cpp.

Referenced by OnFile(), and UNPACKED_SYMBOL_LIBRARY_DIR_TRAVERSER().


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