Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
EnumParameter< Structure, Member > Struct Template Reference

#include <Shuttle.h>

Inheritance diagram for EnumParameter< Structure, Member >:
[legend]
Collaboration diagram for EnumParameter< Structure, Member >:
[legend]

Public Member Functions

constexpr EnumParameter (Member Structure::*const mem, const wxChar *key, int def, int min, int max, int scale, const EnumValueSymbol *symbols_, size_t nSymbols_)
 

Public Attributes

const EnumValueSymbol *const symbols
 
const size_t nSymbols
 
- Public Attributes inherited from EffectParameter< Structure, Member, int >
Member Structure::*const mem
 Member holding the parameter. More...
 
const wxChar *const key
 Identifier in configuration file. More...
 
const int def
 Default value. More...
 
const int min
 Minimum value. More...
 
const int max
 Maximum value. More...
 
const int scale
 Scaling factor, for slider control. More...
 

Detailed Description

template<typename Structure, typename Member>
struct EnumParameter< Structure, Member >

Definition at line 50 of file Shuttle.h.

Constructor & Destructor Documentation

◆ EnumParameter()

template<typename Structure , typename Member >
constexpr EnumParameter< Structure, Member >::EnumParameter ( Member Structure::*const  mem,
const wxChar *  key,
int  def,
int  min,
int  max,
int  scale,
const EnumValueSymbol symbols_,
size_t  nSymbols_ 
)
inlineconstexpr

Member Data Documentation

◆ nSymbols

template<typename Structure , typename Member >
const size_t EnumParameter< Structure, Member >::nSymbols

◆ symbols

template<typename Structure , typename Member >
const EnumValueSymbol* const EnumParameter< Structure, Member >::symbols

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