Audacity  2.2.0
BoolArrayValidator Class Referencefinal

Parameter must be char array of booleans, e.g. "011010001". More...

#include <Validators.h>

Inheritance diagram for BoolArrayValidator:
Validator

Public Member Functions

virtual bool Validate (const wxVariant &v)
 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 ()
 

Additional Inherited Members

- Public Types inherited from Validator
using Holder = std::unique_ptr< Validator >
 This MUST be overridden, to avoid slicing! More...
 

Detailed Description

Parameter must be char array of booleans, e.g. "011010001".

Member Function Documentation

Holder BoolArrayValidator::GetClone ( ) const
inlineoverridevirtual

Implements Validator.

wxString BoolArrayValidator::GetDescription ( ) const
inlineoverridevirtual

Return a description (for error messages) should be of the form 'v must be $description'

Reimplemented from Validator.

virtual bool BoolArrayValidator::Validate ( const wxVariant &  v)
inlinevirtual

Judge whether the passed value satisfies the Validator.

Reimplemented from Validator.

References Validator::SetConverted().


The documentation for this class was generated from the following file: