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

Public Member Functions

 VECTOR_INSERT_TRAVERSER (std::vector< wxString > &aVec, std::function< bool(const wxString &)> aCond)
 
wxDirTraverseResult OnFile (const wxString &aFile) override
 
wxDirTraverseResult OnDir (const wxString &aDirName) override
 

Private Attributes

std::vector< wxString > & m_files
 
std::function< bool(const wxString &)> m_condition
 

Detailed Description

Definition at line 1246 of file settings_manager.cpp.

Constructor & Destructor Documentation

◆ VECTOR_INSERT_TRAVERSER()

VECTOR_INSERT_TRAVERSER::VECTOR_INSERT_TRAVERSER ( std::vector< wxString > &  aVec,
std::function< bool(const wxString &)>  aCond 
)
inline

Definition at line 1249 of file settings_manager.cpp.

Member Function Documentation

◆ OnDir()

wxDirTraverseResult VECTOR_INSERT_TRAVERSER::OnDir ( const wxString &  aDirName)
inlineoverride

Definition at line 1264 of file settings_manager.cpp.

◆ OnFile()

wxDirTraverseResult VECTOR_INSERT_TRAVERSER::OnFile ( const wxString &  aFile)
inlineoverride

Definition at line 1256 of file settings_manager.cpp.

References m_condition, and m_files.

Member Data Documentation

◆ m_condition

std::function<bool( const wxString& )> VECTOR_INSERT_TRAVERSER::m_condition
private

Definition at line 1272 of file settings_manager.cpp.

Referenced by OnFile().

◆ m_files

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

Definition at line 1270 of file settings_manager.cpp.

Referenced by OnFile().


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