JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::Block::ConfigMetaData Struct Reference

Metadata for a given config item. More...

#include <juce_Block.h>

Collaboration diagram for juce::Block::ConfigMetaData:

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 ConfigMetaDataoperator= (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< int32range
 
ConfigType type = ConfigType::integer
 
int32 value = 0
 

Static Public Attributes

static constexpr int32 numOptionNames = 8
 

Detailed Description

Metadata for a given config item.

Member Enumeration Documentation

◆ ConfigType

Enumerator
integer 
floating 
boolean 
colour 
options 

Constructor & Destructor Documentation

◆ ConfigMetaData() [1/3]

juce::Block::ConfigMetaData::ConfigMetaData ( )
inline

◆ ConfigMetaData() [2/3]

juce::Block::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 
)
inline

◆ ConfigMetaData() [3/3]

juce::Block::ConfigMetaData::ConfigMetaData ( const ConfigMetaData other)
inline

Member Function Documentation

◆ operator!=()

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

◆ operator=()

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

References group, isActive, item, name, optionNames, range, type, and value.

◆ operator==()

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

References group, isActive, item, name, optionNames, range, and value.

Member Data Documentation

◆ group

juce::String juce::Block::ConfigMetaData::group

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

◆ isActive

bool juce::Block::ConfigMetaData::isActive = false

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

◆ item

uint32 juce::Block::ConfigMetaData::item = 0

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

◆ name

juce::String juce::Block::ConfigMetaData::name

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

◆ numOptionNames

constexpr int32 juce::Block::ConfigMetaData::numOptionNames = 8
static

◆ optionNames

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

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

◆ range

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

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

◆ type

ConfigType juce::Block::ConfigMetaData::type = ConfigType::integer

Referenced by operator=().

◆ value

int32 juce::Block::ConfigMetaData::value = 0

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


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