KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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 1303 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 1306 of file settings_manager.cpp.

Member Function Documentation

◆ OnDir()

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

Definition at line 1321 of file settings_manager.cpp.

◆ OnFile()

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

Definition at line 1313 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 1329 of file settings_manager.cpp.

Referenced by OnFile().

◆ m_files

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

Definition at line 1327 of file settings_manager.cpp.

Referenced by OnFile().


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