KiCad PCB EDA Suite
Loading...
Searching...
No Matches
property_diff.h File Reference
#include <diff_merge/kicad_diff_types.h>
#include <diff_merge/kicad_merge_engine.h>
#include <diff_merge/property_value_converter.h>
#include <properties/property.h>
#include <properties/property_mgr.h>
#include <properties/wx_any_utils.h>
#include <inspectable.h>
#include <trace_helpers.h>
#include <wx/log.h>
#include <algorithm>
#include <cstddef>
#include <typeinfo>
#include <vector>

Go to the source code of this file.

Classes

struct  KICAD_DIFF::PROPERTY_APPLY_COUNTS
 Applied/failed tallies from ApplyPropertyResolutions, folded into a caller's report. More...
 

Namespaces

namespace  KICAD_DIFF
 

Functions

std::vector< PROPERTY_DELTAKICAD_DIFF::DiffItemProperties (const INSPECTABLE *aBefore, const INSPECTABLE *aAfter)
 Enumerate the property deltas between two items of the same dynamic type.
 
std::vector< PROPERTY_DELTAKICAD_DIFF::ItemProperties (const INSPECTABLE *aItem, bool aAsAfter)
 List one item's properties as one-sided deltas for an added or removed item.
 
PROPERTY_APPLY_COUNTS KICAD_DIFF::ApplyPropertyResolutions (INSPECTABLE *aTarget, const std::vector< PROPERTY_RESOLUTION > &aProps, const INSPECTABLE *aOurs, const INSPECTABLE *aTheirs, const INSPECTABLE *aAncestor)
 Apply per-property merge resolutions to aTarget, sourcing OURS/THEIRS/ANCESTOR values from the matching source item and CUSTOM values from the resolution payload.