| LLDB mainline
    | 
#include <OptionDefinition.h>
| Public Member Functions | |
| bool | HasShortOption () const | 
| Whether this has a short option character. | |
| Public Attributes | |
| uint32_t | usage_mask | 
| Used to mark options that can be used together. | |
| bool | required | 
| This option is required (in the current usage level). | |
| const char * | long_option | 
| Full name for this option. | |
| int | short_option | 
| Single character for this option. | |
| int | option_has_arg | 
| no_argument, required_argument or optional_argument | |
| OptionValidator * | validator | 
| If non-NULL, option is valid iff |validator->IsValid()|, otherwise always valid. | |
| OptionEnumValues | enum_values | 
| If not empty, an array of enum values. | |
| uint32_t | completion_type | 
| The kind of completion for this option. | |
| lldb::CommandArgumentType | argument_type | 
| Type of argument this option takes. | |
| const char * | usage_text | 
| Full text explaining what this options does and what (if any) argument to pass it. | |
Definition at line 20 of file OptionDefinition.h.
| 
 | inline | 
Whether this has a short option character.
Definition at line 50 of file OptionDefinition.h.
References short_option.
Referenced by lldb_private::Options::GenerateOptionUsage(), and PrintOption().
| lldb::CommandArgumentType lldb_private::OptionDefinition::argument_type | 
Type of argument this option takes.
Definition at line 44 of file OptionDefinition.h.
Referenced by PrintOption(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| uint32_t lldb_private::OptionDefinition::completion_type | 
The kind of completion for this option.
Contains values of the lldb::CompletionType enum.
Definition at line 42 of file OptionDefinition.h.
Referenced by CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| OptionEnumValues lldb_private::OptionDefinition::enum_values | 
If not empty, an array of enum values.
Definition at line 39 of file OptionDefinition.h.
Referenced by lldb_private::Options::GenerateOptionUsage(), CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray(), and CommandObjectCommandsScriptAdd::CommandOptions::SetOptionValue().
| const char* lldb_private::OptionDefinition::long_option | 
Full name for this option.
Definition at line 27 of file OptionDefinition.h.
Referenced by FindArgumentIndexForOption(), lldb_private::Options::HandleOptionCompletion(), lldb_private::OptionParser::Parse(), lldb_private::Options::Parse(), PrintOption(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| int lldb_private::OptionDefinition::option_has_arg | 
no_argument, required_argument or optional_argument
Definition at line 34 of file OptionDefinition.h.
Referenced by lldb_private::OptionParser::Parse(), lldb_private::Options::Parse(), lldb_private::Options::ParseAlias(), lldb_private::Options::ParseForCompletion(), PrintOption(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| bool lldb_private::OptionDefinition::required | 
This option is required (in the current usage level).
Definition at line 25 of file OptionDefinition.h.
Referenced by PrintOption(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| int lldb_private::OptionDefinition::short_option | 
Single character for this option.
If the option doesn't use a short option character, this has to be a integer value that is not a printable ASCII code point and also unique in the used set of options.
Definition at line 32 of file OptionDefinition.h.
Referenced by lldb_private::Options::GenerateOptionUsage(), lldb_private::OptionGroupOptions::GetGroupWithOption(), HasShortOption(), PrintOption(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| uint32_t lldb_private::OptionDefinition::usage_mask | 
Used to mark options that can be used together.
If (1 << n & usage_mask) != 0 then this option belongs to option set n.
Definition at line 23 of file OptionDefinition.h.
Referenced by CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| const char* lldb_private::OptionDefinition::usage_text | 
Full text explaining what this options does and what (if any) argument to pass it.
Definition at line 47 of file OptionDefinition.h.
Referenced by lldb_private::Options::GenerateOptionUsage(), lldb_private::Options::HandleOptionCompletion(), lldb_private::Options::OutputFormattedUsageText(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().
| OptionValidator* lldb_private::OptionDefinition::validator | 
If non-NULL, option is valid iff |validator->IsValid()|, otherwise always valid.
Definition at line 37 of file OptionDefinition.h.
Referenced by lldb_private::Options::OutputFormattedUsageText(), lldb_private::Options::Parse(), and CommandObjectScriptingObjectParsed::CommandOptions::SetOptionsFromArray().