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

Public Member Functions

 JSON_DIR_TRAVERSER (std::function< void(const wxFileName &)> aAction)
 
wxDirTraverseResult OnFile (const wxString &aFilePath) override
 
wxDirTraverseResult OnDir (const wxString &dirPath) override
 

Private Attributes

std::function< void(const wxFileName &)> m_action
 

Detailed Description

Definition at line 270 of file settings_manager.cpp.

Constructor & Destructor Documentation

◆ JSON_DIR_TRAVERSER()

JSON_DIR_TRAVERSER::JSON_DIR_TRAVERSER ( std::function< void(const wxFileName &)>  aAction)
inlineexplicit

Definition at line 276 of file settings_manager.cpp.

Member Function Documentation

◆ OnDir()

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

Definition at line 291 of file settings_manager.cpp.

◆ OnFile()

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

Definition at line 281 of file settings_manager.cpp.

References m_action.

Member Data Documentation

◆ m_action

std::function<void( const wxFileName& )> JSON_DIR_TRAVERSER::m_action
private

Definition at line 273 of file settings_manager.cpp.

Referenced by OnFile().


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