Audacity 3.2.0
Classes | Typedefs | Variables
CommandFlag.h File Reference
#include "TranslatableString.h"
#include <bitset>
#include <functional>
#include <utility>
Include dependency graph for CommandFlag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CommandFlagOptions
 
class  ReservedCommandFlag
 
struct  MenuItemEnabler
 
struct  RegisteredMenuItemEnabler
 

Typedefs

using CommandFlag = std::bitset< NCommandFlags >
 
using MenuItemEnablers = std::vector< MenuItemEnabler >
 

Variables

constexpr size_t NCommandFlags = 64
 
constexpr CommandFlag AlwaysEnabledFlag {}
 
constexpr CommandFlag NoFlagsSpecified { ~0ULL }
 

Typedef Documentation

◆ CommandFlag

using CommandFlag = std::bitset<NCommandFlags>

Definition at line 30 of file CommandFlag.h.

◆ MenuItemEnablers

using MenuItemEnablers = std::vector<MenuItemEnabler>

Definition at line 122 of file CommandFlag.h.

Variable Documentation

◆ AlwaysEnabledFlag

constexpr CommandFlag AlwaysEnabledFlag {}
constexpr

◆ NCommandFlags

constexpr size_t NCommandFlags = 64
constexpr

Definition at line 23 of file CommandFlag.h.

◆ NoFlagsSpecified

constexpr CommandFlag NoFlagsSpecified { ~0ULL }