Audacity 3.2.0
Public Member Functions | List of all members
DefaultValidator Class Referencefinal

#include <Validators.h>

Inheritance diagram for DefaultValidator:
Collaboration diagram for DefaultValidator:

Public Member Functions

virtual Holder GetClone () const
- 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...

Detailed Description

Definition at line 88 of file Validators.h.

Member Function Documentation

◆ GetClone()

virtual Holder DefaultValidator::GetClone ( ) const

Implements Validator.

Definition at line 91 of file Validators.h.

92 {
93 return std::make_unique<DefaultValidator>(*this);
94 }

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