KiCad PCB EDA Suite
Loading...
Searching...
No Matches
property_value_converter.cpp File Reference
#include <diff_merge/property_value_converter.h>
#include <properties/property.h>
#include <geometry/eda_angle.h>
#include <gal/color4d.h>
#include <math/vector2d.h>
#include <math/box2.h>
#include <kiid.h>
#include <layer_ids.h>
#include <wx/string.h>
#include <optional>

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.