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

#include <OptionGroupUInt64.h>

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

Public Member Functions

 OptionGroupUInt64 (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, uint64_t default_value)
 
 ~OptionGroupUInt64 () override
 
llvm::ArrayRef< OptionDefinition > GetDefinitions () override
 
Status SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
 
Status SetOptionValue (uint32_t, const char *, ExecutionContext *)=delete
 
void OptionParsingStarting (ExecutionContext *execution_context) override
 
OptionValueUInt64GetOptionValue ()
 
const OptionValueUInt64GetOptionValue () const
 
- Public Member Functions inherited from lldb_private::OptionGroup
 OptionGroup ()=default
 
virtual ~OptionGroup ()=default
 
virtual Status OptionParsingFinished (ExecutionContext *execution_context)
 

Protected Attributes

OptionValueUInt64 m_value
 
OptionDefinition m_option_definition
 

Detailed Description

Definition at line 19 of file OptionGroupUInt64.h.

Constructor & Destructor Documentation

◆ OptionGroupUInt64()

OptionGroupUInt64::OptionGroupUInt64 ( 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,
uint64_t  default_value 
)

◆ ~OptionGroupUInt64()

OptionGroupUInt64::~OptionGroupUInt64 ( )
override

Definition at line 35 of file OptionGroupUInt64.cpp.

Member Function Documentation

◆ GetDefinitions()

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

◆ GetOptionValue() [1/2]

OptionValueUInt64& lldb_private::OptionGroupUInt64::GetOptionValue ( )
inline

Definition at line 38 of file OptionGroupUInt64.h.

References m_value.

Referenced by CommandObjectProcessKDPPacketSend::DoExecute().

◆ GetOptionValue() [2/2]

const OptionValueUInt64& lldb_private::OptionGroupUInt64::GetOptionValue ( ) const
inline

Definition at line 40 of file OptionGroupUInt64.h.

References m_value.

◆ OptionParsingStarting()

void OptionGroupUInt64::OptionParsingStarting ( ExecutionContext execution_context)
overridevirtual

Implements lldb_private::OptionGroup.

Definition at line 44 of file OptionGroupUInt64.cpp.

References lldb_private::OptionValueUInt64::Clear(), and m_value.

Referenced by GetDefinitions().

◆ SetOptionValue() [1/2]

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

◆ SetOptionValue() [2/2]

Status lldb_private::OptionGroupUInt64::SetOptionValue ( uint32_t  ,
const char *  ,
ExecutionContext  
)
delete

Member Data Documentation

◆ m_option_definition

OptionDefinition lldb_private::OptionGroupUInt64::m_option_definition
protected

Definition at line 44 of file OptionGroupUInt64.h.

Referenced by GetDefinitions(), and OptionGroupUInt64().

◆ m_value

OptionValueUInt64 lldb_private::OptionGroupUInt64::m_value
protected

Definition at line 43 of file OptionGroupUInt64.h.

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


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