Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Block::ConfigMetaData Struct Reference

Metadata for a given config item. More...

Public Member Functions

 ConfigMetaData ()
 ConfigMetaData (uint32 itemIndex, int32 itemValue, juce::Range< int32 > rangeToUse, bool active, const char *itemName, uint32 itemType, const char *options[ConfigMetaData::numOptionNames], const char *groupName)
 ConfigMetaData (const ConfigMetaData &other)
const ConfigMetaDataoperator= (const ConfigMetaData &other)
bool operator== (const ConfigMetaData &other) const
bool operator!= (const ConfigMetaData &other) const

Public Attributes

uint32 item = 0
int32 value = 0
juce::Range< int32range
bool isActive = false
juce::String name
uint32 type = 0
juce::String optionNames [numOptionNames] = {}
juce::String group

Static Public Attributes

static constexpr int32 numOptionNames = 8

Detailed Description

Metadata for a given config item.

Constructor & Destructor Documentation

◆ ConfigMetaData() [1/3]

Block::ConfigMetaData::ConfigMetaData ( )

◆ ConfigMetaData() [2/3]

Block::ConfigMetaData::ConfigMetaData ( uint32  itemIndex,
int32  itemValue,
juce::Range< int32 rangeToUse,
bool  active,
const char *  itemName,
uint32  itemType,
const char *  options[ConfigMetaData::numOptionNames],
const char *  groupName 

References numOptionNames, and optionNames.

◆ ConfigMetaData() [3/3]

Block::ConfigMetaData::ConfigMetaData ( const ConfigMetaData other)

Member Function Documentation

◆ operator=()

const ConfigMetaData& Block::ConfigMetaData::operator= ( const ConfigMetaData other)

◆ operator==()

bool Block::ConfigMetaData::operator== ( const ConfigMetaData other) const

◆ operator!=()

bool Block::ConfigMetaData::operator!= ( const ConfigMetaData other) const

Member Data Documentation

◆ numOptionNames

constexpr int32 Block::ConfigMetaData::numOptionNames = 8

◆ item

uint32 Block::ConfigMetaData::item = 0

Referenced by operator=(), and operator==().

◆ value

int32 Block::ConfigMetaData::value = 0

Referenced by operator=(), and operator==().

◆ range

juce::Range<int32> Block::ConfigMetaData::range

Referenced by operator=(), and operator==().

◆ isActive

bool Block::ConfigMetaData::isActive = false

Referenced by operator=(), and operator==().

◆ name

juce::String Block::ConfigMetaData::name

Referenced by operator=(), and operator==().

◆ type

uint32 Block::ConfigMetaData::type = 0

Referenced by operator=().

◆ optionNames

juce::String Block::ConfigMetaData::optionNames[numOptionNames] = {}

◆ group

juce::String Block::ConfigMetaData::group

Referenced by operator=(), and operator==().

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