9#ifndef LLDB_INTERPRETER_OPTIONVALUEDICTIONARY_H
10#define LLDB_INTERPRETER_OPTIONVALUEDICTIONARY_H
15#include "llvm/ADT/StringMap.h"
20 :
public Cloneable<OptionValueDictionary, OptionValue> {
24 bool raw_value_dump =
true)
35 uint32_t dump_mask)
override;
68 llvm::StringRef name, llvm::StringRef value)
override;
71 bool can_replace =
true);
static llvm::raw_ostream & error(Stream &strm)
A command line argument class.
A class that implements CRTP-based "virtual constructor" idiom.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
size_t GetArgs(Args &args) const
size_t GetNumValues() const
void DumpValue(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) override
llvm::StringMap< lldb::OptionValueSP > m_values
lldb::OptionValueSP DeepCopy(const lldb::OptionValueSP &new_parent) const override
Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override
Status SetSubValue(const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef name, llvm::StringRef value) override
OptionValueDictionary(uint32_t type_mask=UINT32_MAX, OptionEnumValues enum_values=OptionEnumValues(), bool raw_value_dump=true)
OptionEnumValues m_enum_values
bool IsAggregateValue() const override
OptionValue::Type GetType() const override
Status SetArgs(const Args &args, VarSetOperationType op)
bool IsHomogenous() const
llvm::json::Value ToJSON(const ExecutionContext *exe_ctx) override
lldb::OptionValueSP GetValueForKey(llvm::StringRef key) const
bool DeleteValueForKey(llvm::StringRef key)
lldb::OptionValueSP GetSubValue(const ExecutionContext *exe_ctx, llvm::StringRef name, Status &error) const override
bool SetValueForKey(llvm::StringRef key, const lldb::OptionValueSP &value_sp, bool can_replace=true)
~OptionValueDictionary() override=default
static OptionValue::Type ConvertTypeMaskToType(uint32_t type_mask)
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
VarSetOperationType
Settable state variable types.
llvm::ArrayRef< OptionEnumValueElement > OptionEnumValues
std::shared_ptr< lldb_private::OptionValue > OptionValueSP