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

Public Member Functions

 MIGRATION_TRAVERSER (const wxString &aSrcDir, const wxString &aDestDir, bool aMigrateTables)
 
wxString GetErrors ()
 
wxDirTraverseResult OnFile (const wxString &aSrcFilePath) override
 
wxDirTraverseResult OnDir (const wxString &dirPath) override
 

Private Attributes

wxString m_src
 
wxString m_dest
 
wxString m_errors
 
bool m_migrateTables
 

Detailed Description

Definition at line 462 of file settings_manager.cpp.

Constructor & Destructor Documentation

◆ MIGRATION_TRAVERSER()

MIGRATION_TRAVERSER::MIGRATION_TRAVERSER ( const wxString &  aSrcDir,
const wxString &  aDestDir,
bool  aMigrateTables 
)
inline

Definition at line 471 of file settings_manager.cpp.

Member Function Documentation

◆ GetErrors()

wxString MIGRATION_TRAVERSER::GetErrors ( )
inline

Definition at line 478 of file settings_manager.cpp.

References m_errors.

Referenced by SETTINGS_MANAGER::MigrateIfNeeded().

◆ OnDir()

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

Definition at line 512 of file settings_manager.cpp.

References m_dest, m_src, and path.

◆ OnFile()

wxDirTraverseResult MIGRATION_TRAVERSER::OnFile ( const wxString &  aSrcFilePath)
inlineoverride

Definition at line 480 of file settings_manager.cpp.

References KiCopyFile(), m_dest, m_errors, m_migrateTables, m_src, path, and traceSettings.

Member Data Documentation

◆ m_dest

wxString MIGRATION_TRAVERSER::m_dest
private

Definition at line 466 of file settings_manager.cpp.

Referenced by OnDir(), and OnFile().

◆ m_errors

wxString MIGRATION_TRAVERSER::m_errors
private

Definition at line 467 of file settings_manager.cpp.

Referenced by GetErrors(), and OnFile().

◆ m_migrateTables

bool MIGRATION_TRAVERSER::m_migrateTables
private

Definition at line 468 of file settings_manager.cpp.

Referenced by OnFile().

◆ m_src

wxString MIGRATION_TRAVERSER::m_src
private

Definition at line 465 of file settings_manager.cpp.

Referenced by OnDir(), and OnFile().


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