Audacity 3.2.0
|
Parameter must be char array of booleans, e.g. "011010001". More...
#include <Validators.h>
Public Member Functions | |
virtual bool | Validate (const wxVariant &v) override |
Judge whether the passed value satisfies the Validator. More... | |
wxString | GetDescription () const override |
Holder | GetClone () const override |
Public Member Functions inherited from Validator | |
Validator () | |
virtual | ~Validator () |
void | SetConverted (const wxVariant &v) |
const wxVariant & | GetConverted () |
virtual bool | Validate (const wxVariant &v) |
Judge whether the passed value satisfies the Validator. More... | |
virtual wxString | GetDescription () const |
virtual Holder | GetClone () const =0 |
Additional Inherited Members | |
Public Types inherited from Validator | |
using | Holder = std::unique_ptr< Validator > |
This MUST be overridden, to avoid slicing! More... | |
Parameter must be char array of booleans, e.g. "011010001".
Definition at line 158 of file Validators.h.
|
inlineoverridevirtual |
Implements Validator.
Definition at line 176 of file Validators.h.
|
inlineoverridevirtual |
Return a description (for error messages) should be of the form 'v must be $description'
Reimplemented from Validator.
Definition at line 172 of file Validators.h.
References wxT().
|
inlineoverridevirtual |
Judge whether the passed value satisfies the Validator.
Reimplemented from Validator.
Definition at line 161 of file Validators.h.
References Validator::SetConverted().