LLDB  mainline
OptionGroupOutputFile.h
Go to the documentation of this file.
1 //===-- OptionGroupOutputFile.h ---------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_INTERPRETER_OPTIONGROUPOUTPUTFILE_H
10 #define LLDB_INTERPRETER_OPTIONGROUPOUTPUTFILE_H
11 
15 
16 namespace lldb_private {
17 // OptionGroupOutputFile
18 
20 public:
22 
23  ~OptionGroupOutputFile() override = default;
24 
25  llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
26 
27  Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
28  ExecutionContext *execution_context) override;
29 
30  void OptionParsingStarting(ExecutionContext *execution_context) override;
31 
32  const OptionValueFileSpec &GetFile() { return m_file; }
33 
34  const OptionValueBoolean &GetAppend() { return m_append; }
35 
36  bool AnyOptionWasSet() const {
38  }
39 
40 protected:
43 };
44 
45 } // namespace lldb_private
46 
47 #endif // LLDB_INTERPRETER_OPTIONGROUPOUTPUTFILE_H
lldb_private::ExecutionContext
Definition: ExecutionContext.h:292
lldb_private::OptionGroupOutputFile::SetOptionValue
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
Definition: OptionGroupOutputFile.cpp:34
lldb_private::OptionValue::OptionWasSet
bool OptionWasSet() const
Definition: OptionValue.h:303
lldb_private::OptionGroupOutputFile::OptionGroupOutputFile
OptionGroupOutputFile()
Definition: OptionGroupOutputFile.cpp:16
lldb_private::OptionValueBoolean
Definition: OptionValueBoolean.h:16
lldb_private::OptionGroup
Definition: Options.h:233
lldb_private::OptionGroupOutputFile::GetDefinitions
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Definition: OptionGroupOutputFile.cpp:29
lldb_private::OptionGroupOutputFile::m_file
OptionValueFileSpec m_file
Definition: OptionGroupOutputFile.h:41
lldb_private::OptionGroupOutputFile::m_append
OptionValueBoolean m_append
Definition: OptionGroupOutputFile.h:42
lldb_private::OptionValueFileSpec
Definition: OptionValueFileSpec.h:20
lldb_private::OptionGroupOutputFile::GetFile
const OptionValueFileSpec & GetFile()
Definition: OptionGroupOutputFile.h:32
Options.h
lldb_private::OptionGroupOutputFile
Definition: OptionGroupOutputFile.h:19
lldb_private::OptionGroupOutputFile::AnyOptionWasSet
bool AnyOptionWasSet() const
Definition: OptionGroupOutputFile.h:36
lldb_private::Status
Definition: Status.h:44
uint32_t
lldb_private::OptionGroupOutputFile::GetAppend
const OptionValueBoolean & GetAppend()
Definition: OptionGroupOutputFile.h:34
lldb_private::OptionGroupOutputFile::OptionParsingStarting
void OptionParsingStarting(ExecutionContext *execution_context) override
Definition: OptionGroupOutputFile.cpp:56
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::OptionGroupOutputFile::~OptionGroupOutputFile
~OptionGroupOutputFile() override=default
OptionValueBoolean.h
OptionValueFileSpec.h