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

Single (name, before, after) triple for one mutated property on an item. More...

#include <kicad_diff_types.h>

Public Member Functions

bool operator== (const PROPERTY_DELTA &aOther) const
 
nlohmann::json ToJson () const
 

Static Public Member Functions

static PROPERTY_DELTA FromJson (const nlohmann::json &aJson)
 

Public Attributes

wxString name
 
DIFF_VALUE before
 
DIFF_VALUE after
 

Detailed Description

Single (name, before, after) triple for one mutated property on an item.

Property identity is the canonical PROPERTY_MANAGER name; consumers must be able to look the property metadata up again from that string.

Definition at line 264 of file kicad_diff_types.h.

Member Function Documentation

◆ FromJson()

PROPERTY_DELTA KICAD_DIFF::PROPERTY_DELTA::FromJson ( const nlohmann::json & aJson)
static

◆ operator==()

bool KICAD_DIFF::PROPERTY_DELTA::operator== ( const PROPERTY_DELTA & aOther) const

Definition at line 627 of file kicad_diff_types.cpp.

References after, before, name, and operator==().

Referenced by operator==().

◆ ToJson()

nlohmann::json KICAD_DIFF::PROPERTY_DELTA::ToJson ( ) const

Definition at line 633 of file kicad_diff_types.cpp.

References after, before, name, and ToJson().

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and ToJson().

Member Data Documentation

◆ after

◆ before

◆ name


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