LLDB mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::OptionGroupFile Class Reference

#include <OptionGroupFile.h>

Inheritance diagram for lldb_private::OptionGroupFile:
Inheritance graph
[legend]

Public Member Functions

 OptionGroupFile (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)
 
 ~OptionGroupFile () override=default
 
llvm::ArrayRef< OptionDefinitionGetDefinitions () override
 
Status SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
 
void OptionParsingStarting (ExecutionContext *execution_context) override
 
OptionValueFileSpecGetOptionValue ()
 
const OptionValueFileSpecGetOptionValue () const
 
- Public Member Functions inherited from lldb_private::OptionGroup
 OptionGroup ()=default
 
virtual ~OptionGroup ()=default
 
virtual llvm::ArrayRef< OptionDefinitionGetDefinitions ()=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

OptionValueFileSpec m_file
 
OptionDefinition m_option_definition
 

Detailed Description

Definition at line 20 of file OptionGroupFile.h.

Constructor & Destructor Documentation

◆ OptionGroupFile()

OptionGroupFile::OptionGroupFile ( 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 
)

◆ ~OptionGroupFile()

lldb_private::OptionGroupFile::~OptionGroupFile ( )
overridedefault

Member Function Documentation

◆ GetDefinitions()

llvm::ArrayRef< OptionDefinition > lldb_private::OptionGroupFile::GetDefinitions ( )
inlineoverridevirtual

Implements lldb_private::OptionGroup.

Definition at line 29 of file OptionGroupFile.h.

References m_option_definition.

◆ GetOptionValue() [1/2]

OptionValueFileSpec & lldb_private::OptionGroupFile::GetOptionValue ( )
inline

◆ GetOptionValue() [2/2]

const OptionValueFileSpec & lldb_private::OptionGroupFile::GetOptionValue ( ) const
inline

Definition at line 40 of file OptionGroupFile.h.

References m_file.

◆ OptionParsingStarting()

void OptionGroupFile::OptionParsingStarting ( ExecutionContext execution_context)
overridevirtual

Implements lldb_private::OptionGroup.

Definition at line 40 of file OptionGroupFile.cpp.

References lldb_private::OptionValueFileSpec::Clear(), and m_file.

◆ SetOptionValue()

Status OptionGroupFile::SetOptionValue ( uint32_t  option_idx,
llvm::StringRef  option_value,
ExecutionContext execution_context 
)
overridevirtual

Member Data Documentation

◆ m_file

OptionValueFileSpec lldb_private::OptionGroupFile::m_file
protected

Definition at line 43 of file OptionGroupFile.h.

Referenced by GetOptionValue(), OptionParsingStarting(), and SetOptionValue().

◆ m_option_definition

OptionDefinition lldb_private::OptionGroupFile::m_option_definition
protected

Definition at line 44 of file OptionGroupFile.h.

Referenced by GetDefinitions(), and OptionGroupFile().


The documentation for this class was generated from the following files: