LLDB mainline
|
#include <OptionGroupUInt64.h>
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< OptionDefinition > | GetDefinitions () override |
Status | SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override |
void | OptionParsingStarting (ExecutionContext *execution_context) override |
OptionValueUInt64 & | GetOptionValue () |
const OptionValueUInt64 & | 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 | |
OptionValueUInt64 | m_value |
OptionDefinition | m_option_definition |
Definition at line 19 of file OptionGroupUInt64.h.
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 | ||
) |
Definition at line 16 of file OptionGroupUInt64.cpp.
References lldb_private::OptionDefinition::argument_type, lldb_private::OptionDefinition::completion_type, 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 28 of file OptionGroupUInt64.h.
References m_option_definition.
|
inline |
Definition at line 37 of file OptionGroupUInt64.h.
References m_value.
Referenced by CommandObjectTargetModulesLoad::DoExecute(), and CommandObjectProcessKDPPacketSend::DoExecute().
|
inline |
Definition at line 39 of file OptionGroupUInt64.h.
References m_value.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 42 of file OptionGroupUInt64.cpp.
References lldb_private::OptionValueUInt64::Clear(), and m_value.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 35 of file OptionGroupUInt64.cpp.
References error(), m_value, and lldb_private::OptionValueUInt64::SetValueFromString().
|
protected |
Definition at line 43 of file OptionGroupUInt64.h.
Referenced by GetDefinitions(), and OptionGroupUInt64().
|
protected |
Definition at line 42 of file OptionGroupUInt64.h.
Referenced by GetOptionValue(), OptionParsingStarting(), and SetOptionValue().