Audacity 3.2.0
|
SettingsVisitor that gets parameter values into a string. More...
#include <ShuttleAutomation.h>
Public Member Functions | |
ConstSettingsVisitor & | Optional (const bool &var) override |
void | Define (bool var, const wxChar *key, bool vdefault, bool vmin, bool vmax, bool vscl) override |
void | Define (int var, const wxChar *key, int vdefault, int vmin, int vmax, int vscl) override |
void | Define (size_t var, const wxChar *key, int vdefault, int vmin, int vmax, int vscl) override |
void | Define (float var, const wxChar *key, float vdefault, float vmin, float vmax, float vscl) override |
void | Define (double var, const wxChar *key, float vdefault, float vmin, float vmax, float vscl) override |
void | Define (double var, const wxChar *key, double vdefault, double vmin, double vmax, double vscl) override |
void | Define (const wxString &var, const wxChar *key, wxString vdefault, wxString vmin, wxString vmax, wxString vscl) override |
void | DefineEnum (int var, const wxChar *key, int vdefault, const EnumValueSymbol strings[], size_t nStrings) override |
Public Member Functions inherited from SettingsVisitorBase< Const > | |
SettingsVisitorBase () | |
virtual | ~SettingsVisitorBase () |
bool | ShouldSet () |
virtual SettingsVisitorBase & | Optional (Ref< bool > var) |
virtual SettingsVisitorBase & | OptionalY (Ref< bool > var) |
virtual SettingsVisitorBase & | OptionalN (Ref< bool > var) |
virtual void | Define (Arg< bool > var, const wxChar *key, bool vdefault, bool vmin=false, bool vmax=false, bool vscl=false) |
virtual void | Define (Arg< size_t > var, const wxChar *key, int vdefault, int vmin=0, int vmax=100000, int vscl=1) |
virtual void | Define (Arg< int > var, const wxChar *key, int vdefault, int vmin=0, int vmax=100000, int vscl=1) |
virtual void | Define (Arg< float > var, const wxChar *key, float vdefault, float vmin, float vmax, float vscl=1.0f) |
virtual void | Define (Arg< double > var, const wxChar *key, float vdefault, float vmin, float vmax, float vscl=1.0f) |
virtual void | Define (Arg< double > var, const wxChar *key, double vdefault, double vmin, double vmax, double vscl=1.0f) |
virtual void | Define (Ref< wxString > var, const wxChar *key, wxString vdefault, wxString vmin={}, wxString vmax={}, wxString vscl={}) |
virtual void | DefineEnum (Arg< int > var, const wxChar *key, int vdefault, const EnumValueSymbol strings[], size_t nStrings) |
Additional Inherited Members | |
Public Types inherited from SettingsVisitorBase< Const > | |
template<typename T > | |
using | Ref = std::conditional_t< Const, const T &, T & > |
template<typename T > | |
using | Arg = std::conditional_t< Const, T, T & > |
Public Attributes inherited from SettingsVisitorBase< Const > | |
wxString | mParams |
std::conditional_t< Const, const bool, bool > * | pOptionalFlag {} |
CommandParameters * | mpEap {} |
SettingsVisitor that gets parameter values into a string.
Definition at line 244 of file ShuttleAutomation.h.
|
override |
Definition at line 22 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, and SettingsVisitorBase< Const >::ShouldSet().
|
override |
Definition at line 65 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, and SettingsVisitorBase< Const >::ShouldSet().
|
override |
Definition at line 57 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, and SettingsVisitorBase< Const >::ShouldSet().
|
override |
Definition at line 43 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, SettingsVisitorBase< Const >::ShouldSet(), and CommandParameters::WriteFloat().
|
override |
Definition at line 50 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, SettingsVisitorBase< Const >::ShouldSet(), and CommandParameters::WriteFloat().
|
override |
Definition at line 29 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, and SettingsVisitorBase< Const >::ShouldSet().
|
override |
Definition at line 36 of file ShuttleAutomation.cpp.
References key, SettingsVisitorBase< Const >::mpEap, and SettingsVisitorBase< Const >::ShouldSet().
|
override |
Definition at line 73 of file ShuttleAutomation.cpp.
References Internal, key, SettingsVisitorBase< Const >::mpEap, and SettingsVisitorBase< Const >::ShouldSet().
|
override |
Definition at line 17 of file ShuttleAutomation.cpp.
References SettingsVisitorBase< Const >::pOptionalFlag.