DISTRHO Plugin Framework
|
#include <DistrhoPlugin.hpp>
Public Member Functions | |
ParameterEnumerationValues () noexcept | |
ParameterEnumerationValues (uint32_t c, bool r, ParameterEnumerationValue *v) noexcept | |
Public Attributes | |
uint8_t | count |
bool | restrictedMode |
ParameterEnumerationValue * | values |
Collection of parameter enumeration values.
Handy class to handle the lifetime and count of all enumeration values.
|
inlinenoexcept |
Default constructor, for zero enumeration values.
|
inlinenoexcept |
Constructor using custom values.
The pointer to @values must have been allocated on the heap with new
.
uint8_t ParameterEnumerationValues::count |
Number of elements allocated in @values.
bool ParameterEnumerationValues::restrictedMode |
Wherever the host is to be restricted to only use enumeration values.
ParameterEnumerationValue* ParameterEnumerationValues::values |
Array of @ParameterEnumerationValue items.
This pointer must be null or have been allocated on the heap with new ParameterEnumerationValue[count]
.