KiCad PCB EDA Suite
|
#include <std_optional_variants.h>
Public Member Functions | |
STD_OPTIONAL_DOUBLE_VARIANT_DATA () | |
STD_OPTIONAL_DOUBLE_VARIANT_DATA (std::optional< double > aValue) | |
bool | Eq (wxVariantData &aOther) const override |
wxString | GetType () const override |
bool | GetAsAny (wxAny *aAny) const override |
std::optional< double > | Value () const |
Static Public Member Functions | |
static wxVariantData * | VariantDataFactory (const wxAny &aAny) |
Protected Attributes | |
std::optional< double > | m_value |
Definition at line 63 of file std_optional_variants.h.
STD_OPTIONAL_DOUBLE_VARIANT_DATA::STD_OPTIONAL_DOUBLE_VARIANT_DATA | ( | ) |
Definition at line 47 of file std_optional_variants.cpp.
Referenced by VariantDataFactory().
STD_OPTIONAL_DOUBLE_VARIANT_DATA::STD_OPTIONAL_DOUBLE_VARIANT_DATA | ( | std::optional< double > | aValue | ) |
Definition at line 52 of file std_optional_variants.cpp.
|
override |
Definition at line 58 of file std_optional_variants.cpp.
References m_value.
|
inlineoverride |
Definition at line 74 of file std_optional_variants.h.
References m_value.
|
inlineoverride |
Definition at line 72 of file std_optional_variants.h.
|
inline |
Definition at line 80 of file std_optional_variants.h.
References m_value.
Referenced by PROPERTY_BASE::set(), and PGPROPERTY_RATIO::ValueToString().
|
inlinestatic |
Definition at line 85 of file std_optional_variants.h.
References STD_OPTIONAL_DOUBLE_VARIANT_DATA().
|
protected |
Definition at line 91 of file std_optional_variants.h.
Referenced by Eq(), GetAsAny(), and Value().