DISTRHO Plugin Framework
Public Member Functions | Public Attributes | List of all members
ParameterEnumerationValue Struct Reference

#include <DistrhoDetails.hpp>

Public Member Functions

 ParameterEnumerationValue () noexcept
 
 ParameterEnumerationValue (float v, const char *l) noexcept
 

Public Attributes

float value
 
String label
 

Detailed Description

Parameter enumeration value.
A string representation of a plugin parameter value.
Used together can be used to give meaning to parameter values, working as an enumeration.

Constructor & Destructor Documentation

◆ ParameterEnumerationValue() [1/2]

ParameterEnumerationValue::ParameterEnumerationValue ( )
inlinenoexcept

Default constructor, using 0.0 as value and empty label.

◆ ParameterEnumerationValue() [2/2]

ParameterEnumerationValue::ParameterEnumerationValue ( float  v,
const char *  l 
)
inlinenoexcept

Constructor using custom values.

Member Data Documentation

◆ value

float ParameterEnumerationValue::value

Parameter value.

◆ label

String ParameterEnumerationValue::label

String representation of this value.


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