Metadata for a given config item. More...
#include <juce_Block.h>
Public Types | |
enum | ConfigType { ConfigType::integer, ConfigType::floating, ConfigType::boolean, ConfigType::colour, ConfigType::options } |
Public Member Functions | |
ConfigMetaData () | |
ConfigMetaData (uint32 itemIndex, int32 itemValue, juce::Range< int32 > rangeToUse, bool active, const char *itemName, ConfigType itemType, const char *options[ConfigMetaData::numOptionNames], const char *groupName) | |
ConfigMetaData (const ConfigMetaData &other) | |
bool | operator!= (const ConfigMetaData &other) const |
const ConfigMetaData & | operator= (const ConfigMetaData &other) |
bool | operator== (const ConfigMetaData &other) const |
Public Attributes | |
juce::String | group |
bool | isActive = false |
uint32 | item = 0 |
juce::String | name |
juce::String | optionNames [numOptionNames] = {} |
juce::Range< int32 > | range |
ConfigType | type = ConfigType::integer |
int32 | value = 0 |
Static Public Attributes | |
static constexpr int32 | numOptionNames = 8 |
Metadata for a given config item.
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
juce::String juce::Block::ConfigMetaData::group |
Referenced by operator=(), and operator==().
bool juce::Block::ConfigMetaData::isActive = false |
Referenced by operator=(), and operator==().
uint32 juce::Block::ConfigMetaData::item = 0 |
Referenced by operator=(), and operator==().
juce::String juce::Block::ConfigMetaData::name |
Referenced by operator=(), and operator==().
|
static |
juce::String juce::Block::ConfigMetaData::optionNames[numOptionNames] = {} |
Referenced by operator=(), and operator==().
juce::Range<int32> juce::Block::ConfigMetaData::range |
Referenced by operator=(), and operator==().
ConfigType juce::Block::ConfigMetaData::type = ConfigType::integer |
Referenced by operator=().
int32 juce::Block::ConfigMetaData::value = 0 |
Referenced by operator=(), and operator==().