Audacity  3.0.3
Classes | Typedefs | Variables
CommandFlag.h File Reference
#include <bitset>
#include <functional>
#include <utility>
#include <wx/string.h>
#include "audacity/Types.h"
#include "Menus.h"
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 >
 

Variables

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

Typedef Documentation

◆ CommandFlag

using CommandFlag = std::bitset<NCommandFlags>

Definition at line 31 of file CommandFlag.h.

Variable Documentation

◆ AlwaysEnabledFlag

constexpr CommandFlag AlwaysEnabledFlag {}
constexpr

◆ NCommandFlags

constexpr size_t NCommandFlags = 64
constexpr

Definition at line 24 of file CommandFlag.h.

◆ NoFlagsSpecified

constexpr CommandFlag NoFlagsSpecified { ~0ULL }

Definition at line 36 of file CommandFlag.h.

Referenced by CommandManager::AddItem(), and CommandManager::FilterKeyEvent().