LLDB mainline
|
#include <OptionGroupBoolean.h>
Public Member Functions | |
OptionGroupBoolean (uint32_t usage_mask, bool required, const char *long_option, int short_option, const char *usage_text, bool default_value, bool no_argument_toggle_default) | |
~OptionGroupBoolean () override=default | |
llvm::ArrayRef< OptionDefinition > | GetDefinitions () override |
Status | SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override |
void | OptionParsingStarting (ExecutionContext *execution_context) override |
OptionValueBoolean & | GetOptionValue () |
const OptionValueBoolean & | GetOptionValue () const |
Public Member Functions inherited from lldb_private::OptionGroup | |
OptionGroup ()=default | |
virtual | ~OptionGroup ()=default |
virtual llvm::ArrayRef< OptionDefinition > | GetDefinitions ()=0 |
virtual Status | SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context)=0 |
virtual void | OptionParsingStarting (ExecutionContext *execution_context)=0 |
virtual Status | OptionParsingFinished (ExecutionContext *execution_context) |
Protected Attributes | |
OptionValueBoolean | m_value |
OptionDefinition | m_option_definition |
Definition at line 18 of file OptionGroupBoolean.h.
OptionGroupBoolean::OptionGroupBoolean | ( | uint32_t | usage_mask, |
bool | required, | ||
const char * | long_option, | ||
int | short_option, | ||
const char * | usage_text, | ||
bool | default_value, | ||
bool | no_argument_toggle_default | ||
) |
Definition at line 16 of file OptionGroupBoolean.cpp.
References lldb_private::OptionDefinition::argument_type, lldb_private::OptionDefinition::completion_type, lldb::eArgTypeBoolean, lldb_private::OptionParser::eNoArgument, lldb_private::OptionDefinition::enum_values, lldb_private::OptionParser::eRequiredArgument, lldb_private::OptionDefinition::long_option, m_option_definition, lldb_private::OptionDefinition::option_has_arg, lldb_private::OptionDefinition::required, lldb_private::OptionDefinition::short_option, lldb_private::OptionDefinition::usage_mask, lldb_private::OptionDefinition::usage_text, and lldb_private::OptionDefinition::validator.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 30 of file OptionGroupBoolean.h.
References m_option_definition.
|
inline |
Definition at line 39 of file OptionGroupBoolean.h.
References m_value.
Referenced by CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), CommandObjectTargetDelete::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectProcessMinidumpDump::DumpAll(), CommandObjectProcessMinidumpDump::DumpDirectory(), CommandObjectProcessMinidumpDump::DumpFacebook(), CommandObjectProcessMinidumpDump::DumpFacebookAbortReason(), CommandObjectProcessMinidumpDump::DumpFacebookAppData(), CommandObjectProcessMinidumpDump::DumpFacebookAppStateLog(), CommandObjectProcessMinidumpDump::DumpFacebookBuildID(), CommandObjectProcessMinidumpDump::DumpFacebookDalvikInfo(), CommandObjectProcessMinidumpDump::DumpFacebookErrorLog(), CommandObjectProcessMinidumpDump::DumpFacebookJavaStack(), CommandObjectProcessMinidumpDump::DumpFacebookLogcat(), CommandObjectProcessMinidumpDump::DumpFacebookThreadName(), CommandObjectProcessMinidumpDump::DumpFacebookUnwindSymbols(), CommandObjectProcessMinidumpDump::DumpFacebookVersionName(), CommandObjectProcessMinidumpDump::DumpLinux(), CommandObjectProcessMinidumpDump::DumpLinuxAuxv(), CommandObjectProcessMinidumpDump::DumpLinuxCMDLine(), CommandObjectProcessMinidumpDump::DumpLinuxCPUInfo(), CommandObjectProcessMinidumpDump::DumpLinuxEnviron(), CommandObjectProcessMinidumpDump::DumpLinuxLSBRelease(), CommandObjectProcessMinidumpDump::DumpLinuxMaps(), CommandObjectProcessMinidumpDump::DumpLinuxProcFD(), CommandObjectProcessMinidumpDump::DumpLinuxProcStat(), CommandObjectProcessMinidumpDump::DumpLinuxProcStatus(), CommandObjectProcessMinidumpDump::DumpLinuxProcUptime(), and CommandObjectProcessMinidumpDump::SetDefaultOptionsIfNoneAreSet().
|
inline |
Definition at line 41 of file OptionGroupBoolean.h.
References m_value.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 51 of file OptionGroupBoolean.cpp.
References lldb_private::OptionValueBoolean::Clear(), and m_value.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 36 of file OptionGroupBoolean.cpp.
References lldb_private::OptionParser::eNoArgument, error(), lldb_private::OptionValueBoolean::GetDefaultValue(), m_option_definition, m_value, lldb_private::OptionDefinition::option_has_arg, lldb_private::OptionValueBoolean::SetCurrentValue(), lldb_private::OptionValue::SetOptionWasSet(), and lldb_private::OptionValueBoolean::SetValueFromString().
|
protected |
Definition at line 45 of file OptionGroupBoolean.h.
Referenced by GetDefinitions(), OptionGroupBoolean(), and SetOptionValue().
|
protected |
Definition at line 44 of file OptionGroupBoolean.h.
Referenced by GetOptionValue(), OptionParsingStarting(), and SetOptionValue().