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]

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=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
 
OptionValueUInt64GetOptionValue ()
 
const OptionValueUInt64GetOptionValue () 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

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()

lldb_private::OptionGroupUInt64::~OptionGroupUInt64 ( )
overridedefault

Member Function Documentation

◆ GetDefinitions()

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

Implements lldb_private::OptionGroup.

Definition at line 28 of file OptionGroupUInt64.h.

References m_option_definition.

◆ GetOptionValue() [1/2]

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

◆ GetOptionValue() [2/2]

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

Definition at line 39 of file OptionGroupUInt64.h.

References m_value.

◆ OptionParsingStarting()

void OptionGroupUInt64::OptionParsingStarting ( ExecutionContext execution_context)
overridevirtual

◆ SetOptionValue()

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

Member Data Documentation

◆ m_option_definition

OptionDefinition lldb_private::OptionGroupUInt64::m_option_definition
protected

Definition at line 43 of file OptionGroupUInt64.h.

Referenced by GetDefinitions(), and OptionGroupUInt64().

◆ m_value

OptionValueUInt64 lldb_private::OptionGroupUInt64::m_value
protected

Definition at line 42 of file OptionGroupUInt64.h.

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


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