KiCad PCB EDA Suite
|
#include <eda_angle_variant.h>
Public Member Functions | |
EDA_ANGLE_VARIANT_DATA () | |
EDA_ANGLE_VARIANT_DATA (double aAngleDegrees) | |
EDA_ANGLE_VARIANT_DATA (const EDA_ANGLE &aAngle) | |
bool | Eq (wxVariantData &aOther) const override |
wxString | GetType () const override |
bool | Read (wxString &aString) override |
bool | Write (wxString &aString) const override |
bool | GetAsAny (wxAny *aAny) const override |
const EDA_ANGLE & | Angle () |
void | SetAngle (const EDA_ANGLE &aAngle) |
Static Public Member Functions | |
static wxVariantData * | VariantDataFactory (const wxAny &aAny) |
Protected Attributes | |
EDA_ANGLE | m_angle |
Definition at line 27 of file eda_angle_variant.h.
EDA_ANGLE_VARIANT_DATA::EDA_ANGLE_VARIANT_DATA | ( | ) |
Definition at line 23 of file eda_angle_variant.cpp.
Referenced by VariantDataFactory().
EDA_ANGLE_VARIANT_DATA::EDA_ANGLE_VARIANT_DATA | ( | double | aAngleDegrees | ) |
Definition at line 28 of file eda_angle_variant.cpp.
EDA_ANGLE_VARIANT_DATA::EDA_ANGLE_VARIANT_DATA | ( | const EDA_ANGLE & | aAngle | ) |
Definition at line 34 of file eda_angle_variant.cpp.
|
inline |
Definition at line 48 of file eda_angle_variant.h.
References m_angle.
Referenced by PG_UNIT_EDITOR::GetValueFromControl(), PROPERTY_BASE::set(), and PG_UNIT_EDITOR::UpdateControl().
|
override |
Definition at line 40 of file eda_angle_variant.cpp.
References m_angle.
|
override |
Definition at line 74 of file eda_angle_variant.cpp.
References EDA_ANGLE::AsDegrees(), and m_angle.
|
inlineoverride |
Definition at line 38 of file eda_angle_variant.h.
|
override |
Definition at line 55 of file eda_angle_variant.cpp.
|
inline |
Definition at line 50 of file eda_angle_variant.h.
References m_angle.
Referenced by PG_UNIT_EDITOR::GetValueFromControl().
|
static |
Definition at line 81 of file eda_angle_variant.cpp.
References EDA_ANGLE_VARIANT_DATA().
|
override |
Definition at line 67 of file eda_angle_variant.cpp.
References EDA_ANGLE::AsDegrees(), and m_angle.
|
protected |
Definition at line 53 of file eda_angle_variant.h.
Referenced by Angle(), Eq(), GetAsAny(), Read(), SetAngle(), and Write().