LLDB  mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::OptionDefinition Struct Reference

#include <OptionDefinition.h>

Collaboration diagram for lldb_private::OptionDefinition:
Collaboration graph
[legend]

Public Member Functions

bool HasShortOption () const
 Whether this has a short option character. More...
 

Public Attributes

uint32_t usage_mask
 Used to mark options that can be used together. More...
 
bool required
 This option is required (in the current usage level). More...
 
const char * long_option
 Full name for this option. More...
 
int short_option
 Single character for this option. More...
 
int option_has_arg
 no_argument, required_argument or optional_argument More...
 
OptionValidatorvalidator
 If non-NULL, option is valid iff |validator->IsValid()|, otherwise always valid. More...
 
OptionEnumValues enum_values
 If not empty, an array of enum values. More...
 
uint32_t completion_type
 The kind of completion for this option. More...
 
lldb::CommandArgumentType argument_type
 Type of argument this option takes. More...
 
const char * usage_text
 Full text explaining what this options does and what (if any) argument to pass it. More...
 

Detailed Description

Definition at line 20 of file OptionDefinition.h.

Member Function Documentation

◆ HasShortOption()

bool lldb_private::OptionDefinition::HasShortOption ( ) const
inline

Whether this has a short option character.

Definition at line 50 of file OptionDefinition.h.

References short_option.

Referenced by PrintOption().

Member Data Documentation

◆ argument_type

lldb::CommandArgumentType lldb_private::OptionDefinition::argument_type

◆ completion_type

uint32_t lldb_private::OptionDefinition::completion_type

◆ enum_values

OptionEnumValues lldb_private::OptionDefinition::enum_values

◆ long_option

const char* lldb_private::OptionDefinition::long_option

◆ option_has_arg

int lldb_private::OptionDefinition::option_has_arg

◆ required

bool lldb_private::OptionDefinition::required

◆ short_option

int lldb_private::OptionDefinition::short_option

◆ usage_mask

uint32_t lldb_private::OptionDefinition::usage_mask

◆ usage_text

const char* lldb_private::OptionDefinition::usage_text

◆ validator

OptionValidator* lldb_private::OptionDefinition::validator

The documentation for this struct was generated from the following file: