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

#include <OptionGroupString.h>

Inheritance diagram for lldb_private::OptionGroupString:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::OptionGroupString:
Collaboration graph
[legend]

Public Member Functions

 OptionGroupString (uint32_t usage_mask, bool required, const char *long_option, int short_option, uint32_t completion_type, lldb::CommandArgumentType argument_type, const char *usage_text, const char *default_value)
 
 ~OptionGroupString () 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
 
OptionValueStringGetOptionValue ()
 
const OptionValueStringGetOptionValue () const
 
- Public Member Functions inherited from lldb_private::OptionGroup
 OptionGroup ()=default
 
virtual ~OptionGroup ()=default
 
virtual Status OptionParsingFinished (ExecutionContext *execution_context)
 

Protected Attributes

OptionValueString m_value
 
OptionDefinition m_option_definition
 

Detailed Description

Definition at line 18 of file OptionGroupString.h.

Constructor & Destructor Documentation

◆ OptionGroupString()

OptionGroupString::OptionGroupString ( uint32_t  usage_mask,
bool  required,
const char *  long_option,
int  short_option,
uint32_t  completion_type,
lldb::CommandArgumentType  argument_type,
const char *  usage_text,
const char *  default_value 
)

◆ ~OptionGroupString()

lldb_private::OptionGroupString::~OptionGroupString ( )
overridedefault

Member Function Documentation

◆ GetDefinitions()

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

Implements lldb_private::OptionGroup.

Definition at line 27 of file OptionGroupString.h.

References m_option_definition.

◆ GetOptionValue() [1/2]

OptionValueString& lldb_private::OptionGroupString::GetOptionValue ( )
inline

Definition at line 36 of file OptionGroupString.h.

References m_value.

Referenced by CommandObjectProcessKDPPacketSend::DoExecute().

◆ GetOptionValue() [2/2]

const OptionValueString& lldb_private::OptionGroupString::GetOptionValue ( ) const
inline

Definition at line 38 of file OptionGroupString.h.

References m_value.

◆ OptionParsingStarting()

void OptionGroupString::OptionParsingStarting ( ExecutionContext execution_context)
overridevirtual

◆ SetOptionValue()

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

Member Data Documentation

◆ m_option_definition

OptionDefinition lldb_private::OptionGroupString::m_option_definition
protected

Definition at line 42 of file OptionGroupString.h.

Referenced by GetDefinitions(), and OptionGroupString().

◆ m_value

OptionValueString lldb_private::OptionGroupString::m_value
protected

Definition at line 41 of file OptionGroupString.h.

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


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