KiCad PCB EDA Suite
PATH_COLLECTOR Class Reference
Inheritance diagram for PATH_COLLECTOR:

Public Member Functions

 PATH_COLLECTOR (std::vector< wxString > &aFiles, std::vector< wxString > &aDirs)
 
wxDirTraverseResult OnFile (const wxString &aFilePath) override
 
wxDirTraverseResult OnDir (const wxString &dirPath) override
 

Private Attributes

std::vector< wxString > & m_files
 
std::vector< wxString > & m_dirs
 

Detailed Description

Definition at line 438 of file pcm_task_manager.cpp.

Constructor & Destructor Documentation

◆ PATH_COLLECTOR()

PATH_COLLECTOR::PATH_COLLECTOR ( std::vector< wxString > &  aFiles,
std::vector< wxString > &  aDirs 
)
inlineexplicit

Definition at line 445 of file pcm_task_manager.cpp.

445 :
446 m_files( aFiles ), m_dirs( aDirs )
447 {
448 }
std::vector< wxString > & m_dirs
std::vector< wxString > & m_files

Member Function Documentation

◆ OnDir()

wxDirTraverseResult PATH_COLLECTOR::OnDir ( const wxString &  dirPath)
inlineoverride

Definition at line 456 of file pcm_task_manager.cpp.

457 {
458 m_dirs.push_back( dirPath );
459 return wxDIR_CONTINUE;
460 }

◆ OnFile()

wxDirTraverseResult PATH_COLLECTOR::OnFile ( const wxString &  aFilePath)
inlineoverride

Definition at line 450 of file pcm_task_manager.cpp.

451 {
452 m_files.push_back( aFilePath );
453 return wxDIR_CONTINUE;
454 }

Member Data Documentation

◆ m_dirs

std::vector<wxString>& PATH_COLLECTOR::m_dirs
private

Definition at line 442 of file pcm_task_manager.cpp.

◆ m_files

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

Definition at line 441 of file pcm_task_manager.cpp.


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