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