KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FILE_TRAVERSER Class Reference
Inheritance diagram for FILE_TRAVERSER:

Public Member Functions

 FILE_TRAVERSER (std::vector< wxFileName > &files, const wxString exclude)
 
virtual wxDirTraverseResult OnFile (const wxString &filename) override
 
virtual wxDirTraverseResult OnDir (const wxString &dirname) override
 

Private Attributes

std::vector< wxFileName > & m_files
 
wxString m_exclude
 
wxString m_oldPath
 

Detailed Description

Definition at line 74 of file project_template.cpp.

Constructor & Destructor Documentation

◆ FILE_TRAVERSER()

FILE_TRAVERSER::FILE_TRAVERSER ( std::vector< wxFileName > &  files,
const wxString  exclude 
)
inline

Definition at line 77 of file project_template.cpp.

Member Function Documentation

◆ OnDir()

virtual wxDirTraverseResult FILE_TRAVERSER::OnDir ( const wxString &  dirname)
inlineoverridevirtual

Definition at line 110 of file project_template.cpp.

References m_exclude, and m_files.

◆ OnFile()

virtual wxDirTraverseResult FILE_TRAVERSER::OnFile ( const wxString &  filename)
inlineoverridevirtual

Definition at line 82 of file project_template.cpp.

References FILEEXT::AutoSaveFilePrefix, m_files, m_oldPath, and path.

Member Data Documentation

◆ m_exclude

wxString FILE_TRAVERSER::m_exclude
private

Definition at line 127 of file project_template.cpp.

Referenced by OnDir().

◆ m_files

std::vector<wxFileName>& FILE_TRAVERSER::m_files
private

Definition at line 126 of file project_template.cpp.

Referenced by OnDir(), and OnFile().

◆ m_oldPath

wxString FILE_TRAVERSER::m_oldPath
private

Definition at line 128 of file project_template.cpp.

Referenced by OnFile().


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