Audacity  2.2.0
DoubleValidator Class Referencefinal

Parameter must be a floating-point number. More...

#include <Validators.h>

Inheritance diagram for DoubleValidator:
Validator

Public Member Functions

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 ()
 

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 a floating-point number.

Member Function Documentation

Holder DoubleValidator::GetClone ( ) const
inlineoverridevirtual

Implements Validator.

wxString DoubleValidator::GetDescription ( ) const
inlineoverridevirtual

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

Reimplemented from Validator.

bool DoubleValidator::Validate ( const wxVariant &  v)
inlineoverridevirtual

Judge whether the passed value satisfies the Validator.

Reimplemented from Validator.

References Validator::GetConverted(), and Validator::SetConverted().


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