KiCad PCB EDA Suite
Loading...
Searching...
No Matches
property_value_converter.h File Reference
#include <kicommon.h>
#include <diff_merge/kicad_diff_types.h>
#include <wx/any.h>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

DIFF_VALUE KICAD_DIFF::WxAnyToDiffValue (const wxAny &aValue, PROPERTY_BASE *aProperty=nullptr)
 Convert a wxAny value read from a PROPERTY_BASE getter into a DIFF_VALUE that the engine can store, serialize, and compare.
 
bool KICAD_DIFF::DiffValueToWxAny (const DIFF_VALUE &aValue, wxAny &aOut)
 Convert a DIFF_VALUE back into a wxAny a PROPERTY_BASE setter can consume.