Go to the documentation of this file.
16 OptionGroupBoolean::OptionGroupBoolean(
uint32_t usage_mask,
bool required,
17 const char *long_option,
18 int short_option,
const char *usage_text,
20 bool no_argument_toggle_default)
21 : m_value(default_value, default_value) {
37 llvm::StringRef option_value,
void SetCurrentValue(bool value)
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
OptionDefinition m_option_definition
bool required
This option is required (in the current usage level).
OptionValidator * validator
If non-NULL, option is valid iff |validator->IsValid()|, otherwise always valid.
OptionValueBoolean m_value
static llvm::raw_ostream & error(Stream &strm)
uint32_t completion_type
The kind of completion for this option.
const char * usage_text
Full text explaining what this options does and what (if any) argument to pass it.
const char * long_option
Full name for this option.
int option_has_arg
no_argument, required_argument or optional_argument
uint32_t usage_mask
Used to mark options that can be used together.
A class that represents a running process on the host machine.
OptionEnumValues enum_values
If not empty, an array of enum values.
bool GetDefaultValue() const
lldb::CommandArgumentType argument_type
Type of argument this option takes.
int short_option
Single character for this option.
Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override
void OptionParsingStarting(ExecutionContext *execution_context) override