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 89 of file Validators.h.

Member Function Documentation

◆ GetClone()

virtual Holder DefaultValidator::GetClone ( ) const

Implements Validator.

Definition at line 92 of file Validators.h.

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

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