KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KICAD_DIFF::SCH_MERGE_APPLIER::REPORT Struct Reference

#include <sch_merge_applier.h>

Public Attributes

std::size_t itemsTakenOurs = 0
 
std::size_t itemsTakenTheirs = 0
 
std::size_t itemsMergedProps = 0
 
std::size_t itemsDeleted = 0
 
std::size_t itemsKept = 0
 
std::size_t propertiesApplied = 0
 
std::size_t propertiesFailed = 0
 
std::size_t sheetActionsSkipped = 0
 Number of actions skipped because they targeted a SCH_SHEET.
 
bool requiresConnectivityRebuild = false
 
bool projectFileTouched = false
 True iff the applier resolved state that lives in the .kicad_pro.
 
bool ercSeveritiesTouched = false
 
bool drawingSheetFileTouched = false
 
VALIDATION_REPORT validation
 Post-apply validator pipeline result.
 
bool connectivityRebuildPerformed = false
 True iff the caller performed connectivity recomputation after the applier finished.
 

Detailed Description

Definition at line 67 of file sch_merge_applier.h.

Member Data Documentation

◆ connectivityRebuildPerformed

bool KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::connectivityRebuildPerformed = false

True iff the caller performed connectivity recomputation after the applier finished.

CheckConnectivityRebuildFlag uses this against the plan's requiresConnectivityRebuild signal.

Definition at line 99 of file sch_merge_applier.h.

◆ drawingSheetFileTouched

bool KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::drawingSheetFileTouched = false

Definition at line 90 of file sch_merge_applier.h.

Referenced by BOOST_AUTO_TEST_CASE(), and EESCHEMA_JOBS_HANDLER::runSchMerge().

◆ ercSeveritiesTouched

bool KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::ercSeveritiesTouched = false

Definition at line 89 of file sch_merge_applier.h.

Referenced by BOOST_AUTO_TEST_CASE(), and EESCHEMA_JOBS_HANDLER::runSchMerge().

◆ itemsDeleted

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::itemsDeleted = 0

Definition at line 72 of file sch_merge_applier.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ itemsKept

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::itemsKept = 0

Definition at line 73 of file sch_merge_applier.h.

◆ itemsMergedProps

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::itemsMergedProps = 0

Definition at line 71 of file sch_merge_applier.h.

◆ itemsTakenOurs

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::itemsTakenOurs = 0

Definition at line 69 of file sch_merge_applier.h.

◆ itemsTakenTheirs

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::itemsTakenTheirs = 0

Definition at line 70 of file sch_merge_applier.h.

◆ projectFileTouched

bool KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::projectFileTouched = false

True iff the applier resolved state that lives in the .kicad_pro.

The field-specific flags below identify which subtrees should be patched so unrelated project data remains untouched.

Definition at line 88 of file sch_merge_applier.h.

Referenced by BOOST_AUTO_TEST_CASE(), and EESCHEMA_JOBS_HANDLER::runSchMerge().

◆ propertiesApplied

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::propertiesApplied = 0

Definition at line 74 of file sch_merge_applier.h.

◆ propertiesFailed

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::propertiesFailed = 0

Definition at line 75 of file sch_merge_applier.h.

◆ requiresConnectivityRebuild

bool KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::requiresConnectivityRebuild = false

Definition at line 83 of file sch_merge_applier.h.

◆ sheetActionsSkipped

std::size_t KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::sheetActionsSkipped = 0

Number of actions skipped because they targeted a SCH_SHEET.

Sheet re-parenting requires deep clone of the sheet+screen pair and the path-graph rebuild that follows; this applier handles non-sheet items only.

Definition at line 81 of file sch_merge_applier.h.

Referenced by EESCHEMA_JOBS_HANDLER::runSchMerge().

◆ validation

VALIDATION_REPORT KICAD_DIFF::SCH_MERGE_APPLIER::REPORT::validation

Post-apply validator pipeline result.

Populated unconditionally by Apply(). Handlers surface failures through the job reporter.

Definition at line 94 of file sch_merge_applier.h.

Referenced by EESCHEMA_JOBS_HANDLER::runSchMerge().


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