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

#include <OptionGroupOutputFile.h>

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

Public Member Functions

 OptionGroupOutputFile ()
 
 ~OptionGroupOutputFile () 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
 
const OptionValueFileSpecGetFile ()
 
const OptionValueBooleanGetAppend ()
 
bool AnyOptionWasSet () 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
 
OptionValueBoolean m_append
 

Detailed Description

Definition at line 19 of file OptionGroupOutputFile.h.

Constructor & Destructor Documentation

◆ OptionGroupOutputFile()

OptionGroupOutputFile::OptionGroupOutputFile ( )

Definition at line 16 of file OptionGroupOutputFile.cpp.

◆ ~OptionGroupOutputFile()

lldb_private::OptionGroupOutputFile::~OptionGroupOutputFile ( )
overridedefault

Member Function Documentation

◆ AnyOptionWasSet()

bool lldb_private::OptionGroupOutputFile::AnyOptionWasSet ( ) const
inline

◆ GetAppend()

const OptionValueBoolean & lldb_private::OptionGroupOutputFile::GetAppend ( )
inline

Definition at line 34 of file OptionGroupOutputFile.h.

References m_append.

Referenced by CommandObjectMemoryRead::DoExecute().

◆ GetDefinitions()

llvm::ArrayRef< OptionDefinition > OptionGroupOutputFile::GetDefinitions ( )
overridevirtual

Implements lldb_private::OptionGroup.

Definition at line 29 of file OptionGroupOutputFile.cpp.

References g_option_table.

◆ GetFile()

const OptionValueFileSpec & lldb_private::OptionGroupOutputFile::GetFile ( )
inline

Definition at line 32 of file OptionGroupOutputFile.h.

References m_file.

Referenced by CommandObjectMemoryRead::DoExecute().

◆ OptionParsingStarting()

void OptionGroupOutputFile::OptionParsingStarting ( ExecutionContext execution_context)
overridevirtual

◆ SetOptionValue()

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

Member Data Documentation

◆ m_append

OptionValueBoolean lldb_private::OptionGroupOutputFile::m_append
protected

◆ m_file

OptionValueFileSpec lldb_private::OptionGroupOutputFile::m_file
protected

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