LLDB  mainline
OptionGroupUUID.h
Go to the documentation of this file.
1 //===-- OptionGroupUUID.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_OPTIONGROUPUUID_H
10 #define LLDB_INTERPRETER_OPTIONGROUPUUID_H
11 
14 
15 namespace lldb_private {
16 
17 // OptionGroupUUID
18 
19 class OptionGroupUUID : public OptionGroup {
20 public:
21  OptionGroupUUID() = default;
22 
23  ~OptionGroupUUID() 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 OptionValueUUID &GetOptionValue() const { return m_uuid; }
33 
34 protected:
36 };
37 
38 } // namespace lldb_private
39 
40 #endif // LLDB_INTERPRETER_OPTIONGROUPUUID_H
lldb_private::ExecutionContext
Definition: ExecutionContext.h:292
lldb_private::OptionGroupUUID::GetDefinitions
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Definition: OptionGroupUUID.cpp:21
lldb_private::OptionGroupUUID::OptionGroupUUID
OptionGroupUUID()=default
OptionValueUUID.h
lldb_private::OptionGroup
Definition: Options.h:233
Options.h
lldb_private::OptionGroupUUID::~OptionGroupUUID
~OptionGroupUUID() override=default
lldb_private::OptionGroupUUID
Definition: OptionGroupUUID.h:19
lldb_private::OptionGroupUUID::GetOptionValue
const OptionValueUUID & GetOptionValue() const
Definition: OptionGroupUUID.h:32
lldb_private::OptionValueUUID
Definition: OptionValueUUID.h:17
lldb_private::OptionGroupUUID::OptionParsingStarting
void OptionParsingStarting(ExecutionContext *execution_context) override
Definition: OptionGroupUUID.cpp:45
lldb_private::Status
Definition: Status.h:44
uint32_t
lldb_private::OptionGroupUUID::SetOptionValue
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
Definition: OptionGroupUUID.cpp:25
lldb_private::OptionGroupUUID::m_uuid
OptionValueUUID m_uuid
Definition: OptionGroupUUID.h:35
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16