KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SCH_FOOTPRINT_FIELD_RECONCILER Class Reference

Frame-independent, non-interactive service that rewrites the library nickname of every schematic symbol Footprint-field FPID after a non-KiCad import so it resolves to the coordinated project library. More...

#include <sch_footprint_field_reconciler.h>

Public Member Functions

 SCH_FOOTPRINT_FIELD_RECONCILER (const wxString &aCacheNickname, const std::vector< wxString > &aSourceLibNicknames, REPORTER *aReporter=nullptr)
 
SCH_FP_FIELD_RECONCILE_RESULT Reconcile (SCHEMATIC &aSchematic)
 

Private Attributes

wxString m_cacheNickname
 
std::set< wxString > m_sourceLibs
 
REPORTERm_reporter
 

Detailed Description

Frame-independent, non-interactive service that rewrites the library nickname of every schematic symbol Footprint-field FPID after a non-KiCad import so it resolves to the coordinated project library.

A field already pointing at a registered provenance source library is kept; every other field is re-pointed at the manager-committed generated cache nickname, preserving the item name.

Definition at line 42 of file sch_footprint_field_reconciler.h.

Constructor & Destructor Documentation

◆ SCH_FOOTPRINT_FIELD_RECONCILER()

SCH_FOOTPRINT_FIELD_RECONCILER::SCH_FOOTPRINT_FIELD_RECONCILER ( const wxString & aCacheNickname,
const std::vector< wxString > & aSourceLibNicknames,
REPORTER * aReporter = nullptr )

Definition at line 29 of file sch_footprint_field_reconciler.cpp.

References end, m_cacheNickname, m_reporter, and m_sourceLibs.

Member Function Documentation

◆ Reconcile()

Member Data Documentation

◆ m_cacheNickname

wxString SCH_FOOTPRINT_FIELD_RECONCILER::m_cacheNickname
private

Definition at line 52 of file sch_footprint_field_reconciler.h.

Referenced by Reconcile(), and SCH_FOOTPRINT_FIELD_RECONCILER().

◆ m_reporter

REPORTER* SCH_FOOTPRINT_FIELD_RECONCILER::m_reporter
private

Definition at line 54 of file sch_footprint_field_reconciler.h.

Referenced by Reconcile(), and SCH_FOOTPRINT_FIELD_RECONCILER().

◆ m_sourceLibs

std::set<wxString> SCH_FOOTPRINT_FIELD_RECONCILER::m_sourceLibs
private

Definition at line 53 of file sch_footprint_field_reconciler.h.

Referenced by Reconcile(), and SCH_FOOTPRINT_FIELD_RECONCILER().


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