15#pragma warning( push )
16#pragma warning( disable: 4100 )
31 pOptionalFlag =
nullptr;
39 return Optional( var );
46 return Optional( var );
58 bool result = *pOptionalFlag;
66 bool,
bool,
bool,
bool)
81 Arg<float>,
const wxChar *,
float,
float,
float,
float)
86 Arg<double>,
const wxChar *,
float,
float,
float,
float )
91 Arg<double>,
const wxChar *,
double,
double,
double,
double)
96 Ref<wxString>,
const wxChar *, wxString, wxString, wxString, wxString)
110#pragma warning( pop )
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Visitor of effect or command parameters. This is a base class with lots of virtual functions that do ...
virtual void Define(Arg< bool > var, const wxChar *key, bool vdefault, bool vmin=false, bool vmax=false, bool vscl=false)
virtual SettingsVisitorBase & OptionalY(Ref< bool > var)
std::conditional_t< Const, T, T & > Arg
virtual ~SettingsVisitorBase()
virtual SettingsVisitorBase & Optional(Ref< bool > var)
virtual void DefineEnum(Arg< int > var, const wxChar *key, int vdefault, const EnumValueSymbol strings[], size_t nStrings)
std::conditional_t< Const, const T &, T & > Ref
virtual SettingsVisitorBase & OptionalN(Ref< bool > var)