20#ifndef STD_OPTIONAL_VARIANT_H
21#define STD_OPTIONAL_VARIANT_H
24#include <wx/variant.h>
38 bool Eq( wxVariantData& aOther )
const override;
40 wxString
GetType()
const override {
return wxT(
"std::optional<int>" ); }
48 std::optional<int>
Value()
const
70 bool Eq( wxVariantData& aOther )
const override;
72 wxString
GetType()
const override {
return wxT(
"std::optional<double>" ); }
80 std::optional<double>
Value()
const
std::optional< double > Value() const
STD_OPTIONAL_DOUBLE_VARIANT_DATA()
bool Eq(wxVariantData &aOther) const override
wxString GetType() const override
bool GetAsAny(wxAny *aAny) const override
static wxVariantData * VariantDataFactory(const wxAny &aAny)
std::optional< double > m_value
bool Eq(wxVariantData &aOther) const override
std::optional< int > Value() const
wxString GetType() const override
std::optional< int > m_value
bool GetAsAny(wxAny *aAny) const override
STD_OPTIONAL_INT_VARIANT_DATA()
static wxVariantData * VariantDataFactory(const wxAny &aAny)