|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Go to the source code of this file.
Namespaces | |
| namespace | juce |
| JUCE Namespace. | |
Macros | |
| #define | JUCE_DECLARE_SCOPED_ENUM_BITWISE_OPERATORS(EnumType) |
| Macro to enable bitwise operations for scoped enums (enum struct/class). | |
Functions | |
| template<typename EnumType , std::enable_if_t< std::is_enum_v< EnumType >, int > = 0> | |
| constexpr bool | juce::hasBitValueSet (EnumType enumValue, EnumType valueToLookFor) noexcept |
| template<typename EnumType , std::enable_if_t< std::is_enum_v< EnumType >, int > = 0> | |
| constexpr EnumType | juce::withBitValueSet (EnumType enumValue, EnumType valueToAdd) noexcept |
| template<typename EnumType , std::enable_if_t< std::is_enum_v< EnumType >, int > = 0> | |
| constexpr EnumType | juce::withBitValueCleared (EnumType enumValue, EnumType valueToRemove) noexcept |
| #define JUCE_DECLARE_SCOPED_ENUM_BITWISE_OPERATORS | ( | EnumType | ) |
Macro to enable bitwise operations for scoped enums (enum struct/class).
To use this, add the line JUCE_DECLARE_SCOPED_ENUM_BITWISE_OPERATORS (MyEnum) after your enum declaration at file scope level.
e.g.
Definition at line 52 of file juce_EnumHelpers.h.