Audacity  2.2.0
CommandSignature Class Reference

Class that maps parameter names to default values and validators. More...

#include <CommandSignature.h>

Public Member Functions

 CommandSignature ()
 
 ~CommandSignature ()
 
void AddParameter (const wxString &name, const wxVariant &dft, movable_ptr< Validator > &&valid)
 
ParamValueMap GetDefaults () const
 
ValidatorGetValidator (const wxString &paramName)
 

Private Member Functions

 CommandSignature (const CommandSignature &WXUNUSED(other))
 

Private Attributes

ParamValueMap mDefaults
 
ValidatorMap mValidators
 

Detailed Description

Class that maps parameter names to default values and validators.

Constructor & Destructor Documentation

CommandSignature::CommandSignature ( const CommandSignature WXUNUSEDother)
inlineexplicitprivate
CommandSignature::CommandSignature ( )
inlineexplicit
CommandSignature::~CommandSignature ( )

Member Function Documentation

ParamValueMap CommandSignature::GetDefaults ( ) const
Validator & CommandSignature::GetValidator ( const wxString &  paramName)

Member Data Documentation

ParamValueMap CommandSignature::mDefaults
private

Referenced by AddParameter(), and GetDefaults().

ValidatorMap CommandSignature::mValidators
private

Referenced by AddParameter(), and GetValidator().


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