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