LLDB mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::OptionGroupBoolean Class Reference

#include <OptionGroupBoolean.h>

Inheritance diagram for lldb_private::OptionGroupBoolean:
Inheritance graph
[legend]

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< OptionDefinitionGetDefinitions () override
 
Status SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
 
void OptionParsingStarting (ExecutionContext *execution_context) override
 
OptionValueBooleanGetOptionValue ()
 
const OptionValueBooleanGetOptionValue () const
 
- Public Member Functions inherited from lldb_private::OptionGroup
 OptionGroup ()=default
 
virtual ~OptionGroup ()=default
 
virtual llvm::ArrayRef< OptionDefinitionGetDefinitions ()=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
 

Detailed Description

Definition at line 18 of file OptionGroupBoolean.h.

Constructor & Destructor Documentation

◆ OptionGroupBoolean()

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 
)

◆ ~OptionGroupBoolean()

lldb_private::OptionGroupBoolean::~OptionGroupBoolean ( )
overridedefault

Member Function Documentation

◆ GetDefinitions()

llvm::ArrayRef< OptionDefinition > lldb_private::OptionGroupBoolean::GetDefinitions ( )
inlineoverridevirtual

Implements lldb_private::OptionGroup.

Definition at line 30 of file OptionGroupBoolean.h.

References m_option_definition.

◆ GetOptionValue() [1/2]

OptionValueBoolean & lldb_private::OptionGroupBoolean::GetOptionValue ( )
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().

◆ GetOptionValue() [2/2]

const OptionValueBoolean & lldb_private::OptionGroupBoolean::GetOptionValue ( ) const
inline

Definition at line 41 of file OptionGroupBoolean.h.

References m_value.

◆ OptionParsingStarting()

void OptionGroupBoolean::OptionParsingStarting ( ExecutionContext execution_context)
overridevirtual

◆ SetOptionValue()

Status OptionGroupBoolean::SetOptionValue ( uint32_t  option_idx,
llvm::StringRef  option_value,
ExecutionContext execution_context 
)
overridevirtual

Member Data Documentation

◆ m_option_definition

OptionDefinition lldb_private::OptionGroupBoolean::m_option_definition
protected

Definition at line 45 of file OptionGroupBoolean.h.

Referenced by GetDefinitions(), OptionGroupBoolean(), and SetOptionValue().

◆ m_value

OptionValueBoolean lldb_private::OptionGroupBoolean::m_value
protected

Definition at line 44 of file OptionGroupBoolean.h.

Referenced by GetOptionValue(), OptionParsingStarting(), and SetOptionValue().


The documentation for this class was generated from the following files: