1 //===-- OptionValueUUID.h --------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_OptionValueUUID_h_
11 #define liblldb_OptionValueUUID_h_
15 // Other libraries and framework includes
17 #include "lldb/Core/UUID.h"
18 #include "lldb/Interpreter/OptionValue.h"
20 namespace lldb_private {
22 class OptionValueUUID : public OptionValue
31 OptionValueUUID (const UUID &uuid) :
37 ~OptionValueUUID() override
41 //---------------------------------------------------------------------
42 // Virtual subclass pure virtual overrides
43 //---------------------------------------------------------------------
46 GetType() const override
52 DumpValue(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) override;
55 SetValueFromString(llvm::StringRef value,
56 VarSetOperationType op = eVarSetOperationAssign) override;
62 m_value_was_set = false;
67 DeepCopy() const override;
69 //---------------------------------------------------------------------
70 // Subclass specific functions
71 //---------------------------------------------------------------------
80 GetCurrentValue() const
86 SetCurrentValue (const UUID &value)
92 AutoComplete(CommandInterpreter &interpreter,
94 int match_start_point,
95 int max_return_elements,
97 StringList &matches) override;
103 } // namespace lldb_private
105 #endif // liblldb_OptionValueUUID_h_