Audacity  2.3.1
Public Member Functions | Public Attributes | List of all members
CommandManager::Options Struct Reference

#include <CommandManager.h>

Public Member Functions

 Options ()
 
 Options (const wxChar *accel_)
 
 Options (const wxChar *accel_, const wxString &longName_)
 
Options && Accel (const wxChar *value)&&
 
Options && CheckState (bool value)&&
 
Options && IsEffect ()&&
 
Options && Parameter (const CommandParameter &value)&&
 
Options && Mask (CommandMask value)&&
 
Options && LongName (const wxString &value)&&
 
Options && IsGlobal ()&&
 

Public Attributes

const wxChar * accel { wxT("") }
 
int check { -1 }
 
bool bIsEffect { false }
 
CommandParameter parameter {}
 
CommandMask mask { NoFlagsSpecified }
 
wxString longName {}
 
bool global { false }
 

Detailed Description

Definition at line 147 of file CommandManager.h.

Constructor & Destructor Documentation

CommandManager::Options::Options ( )
inline

Definition at line 149 of file CommandManager.h.

149 {}
CommandManager::Options::Options ( const wxChar *  accel_)
inline

Definition at line 152 of file CommandManager.h.

152 : accel{ accel_ } {}
CommandManager::Options::Options ( const wxChar *  accel_,
const wxString &  longName_ 
)
inline

Definition at line 154 of file CommandManager.h.

155  : accel{ accel_ }, longName{ longName_ } {}

Member Function Documentation

Options&& CommandManager::Options::Accel ( const wxChar *  value)
inline

Definition at line 157 of file CommandManager.h.

158  { accel = value; return std::move(*this); }
Options&& CommandManager::Options::CheckState ( bool  value)
inline

Definition at line 159 of file CommandManager.h.

Referenced by LabelEditMenus(), ToolbarsMenu(), TransportMenu(), and ViewMenu().

160  { check = value ? 1 : 0; return std::move(*this); }
Options&& CommandManager::Options::IsEffect ( )
inline

Definition at line 161 of file CommandManager.h.

162  { bIsEffect = true; return std::move(*this); }
Options&& CommandManager::Options::IsGlobal ( )
inline

Definition at line 169 of file CommandManager.h.

170  { global = true; return std::move(*this); }
Options&& CommandManager::Options::LongName ( const wxString &  value)
inline

Definition at line 167 of file CommandManager.h.

168  { longName = value; return std::move(*this); }
Options&& CommandManager::Options::Mask ( CommandMask  value)
inline

Definition at line 165 of file CommandManager.h.

166  { mask = value; return std::move(*this); }
Options&& CommandManager::Options::Parameter ( const CommandParameter value)
inline

Definition at line 163 of file CommandManager.h.

164  { parameter = value; return std::move(*this); }
CommandParameter parameter

Member Data Documentation

const wxChar* CommandManager::Options::accel { wxT("") }

Definition at line 172 of file CommandManager.h.

Referenced by CommandManager::AddItem().

bool CommandManager::Options::bIsEffect { false }

Definition at line 174 of file CommandManager.h.

Referenced by CommandManager::AddItem().

int CommandManager::Options::check { -1 }

Definition at line 173 of file CommandManager.h.

Referenced by CommandManager::AddItem().

bool CommandManager::Options::global { false }

Definition at line 178 of file CommandManager.h.

Referenced by CommandManager::AddItem().

wxString CommandManager::Options::longName {}

Definition at line 177 of file CommandManager.h.

Referenced by CommandManager::AddItem().

CommandMask CommandManager::Options::mask { NoFlagsSpecified }

Definition at line 176 of file CommandManager.h.

Referenced by CommandManager::AddItem().

CommandParameter CommandManager::Options::parameter {}

Definition at line 175 of file CommandManager.h.

Referenced by CommandManager::AddItem().


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