Go to the documentation of this file.
16 OptionGroupString::OptionGroupString(
uint32_t usage_mask,
bool required,
17 const char *long_option,
int short_option,
20 const char *usage_text,
21 const char *default_value)
22 : m_value(default_value, default_value) {
36 llvm::StringRef option_arg,
Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override
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.
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
void OptionParsingStarting(ExecutionContext *execution_context) override
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
OptionDefinition m_option_definition
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.
lldb::CommandArgumentType argument_type
Type of argument this option takes.
int short_option
Single character for this option.
OptionValueString m_value