LLDB mainline
|
#include <OptionValueArray.h>
Protected Types | |
typedef std::vector< lldb::OptionValueSP > | collection |
Protected Types inherited from lldb_private::OptionValue | |
using | TopmostBase = OptionValue |
Protected Attributes | |
uint32_t | m_type_mask |
collection | m_values |
bool | m_raw_value_dump |
Protected Attributes inherited from lldb_private::OptionValue | |
lldb::OptionValueWP | m_parent_wp |
std::function< void()> | m_callback |
bool | m_value_was_set = false |
Definition at line 18 of file OptionValueArray.h.
|
protected |
Definition at line 118 of file OptionValueArray.h.
|
inline |
Definition at line 20 of file OptionValueArray.h.
|
overridedefault |
|
inline |
Definition at line 70 of file OptionValueArray.h.
References m_type_mask, and m_values.
Referenced by SetArgs(), and CommandObjectRegisterRead::CommandOptions::SetOptionValue().
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 38 of file OptionValueArray.h.
References lldb_private::OptionValue::m_value_was_set, and m_values.
Referenced by CommandObjectRegisterRead::CommandOptions::OptionParsingStarting(), and SetArgs().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 309 of file OptionValueArray.cpp.
References lldb_private::OptionValue::DeepCopy(), and lldbassert.
|
inline |
Definition at line 105 of file OptionValueArray.h.
References m_values.
|
overridevirtual |
Implements lldb_private::OptionValue.
Definition at line 17 of file OptionValueArray.cpp.
References lldb_private::OptionValue::ConvertTypeMaskToType(), lldb_private::OptionValue::eDumpOptionCommand, lldb_private::OptionValue::eDumpOptionRaw, lldb_private::OptionValue::eDumpOptionType, lldb_private::OptionValue::eDumpOptionValue, lldb_private::Stream::EOL(), lldb_private::OptionValue::eTypeArray, lldb_private::OptionValue::eTypeBoolean, lldb_private::OptionValue::eTypeChar, lldb_private::OptionValue::eTypeDictionary, lldb_private::OptionValue::eTypeEnum, lldb_private::OptionValue::eTypeFileLineColumn, lldb_private::OptionValue::eTypeFileSpec, lldb_private::OptionValue::eTypeFileSpecList, lldb_private::OptionValue::eTypeFormat, lldb_private::OptionValue::eTypeInvalid, lldb_private::OptionValue::eTypePathMap, lldb_private::OptionValue::eTypeProperties, lldb_private::OptionValue::eTypeSInt64, lldb_private::OptionValue::eTypeString, lldb_private::OptionValue::eTypeUInt64, lldb_private::OptionValue::eTypeUUID, lldb_private::OptionValue::GetBuiltinTypeAsCString(), GetType(), lldb_private::OptionValue::GetTypeAsCString(), lldb_private::Stream::Indent(), lldb_private::Stream::IndentLess(), lldb_private::Stream::IndentMore(), m_raw_value_dump, m_type_mask, m_values, and lldb_private::Stream::Printf().
size_t OptionValueArray::GetArgs | ( | Args & | args | ) | const |
Definition at line 152 of file OptionValueArray.cpp.
References lldb_private::Args::AppendArgument(), lldb_private::Args::Clear(), lldb_private::Args::GetArgumentCount(), and m_values.
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsArgs().
|
inline |
Definition at line 54 of file OptionValueArray.h.
References m_values.
Referenced by CommandObjectRegisterRead::DoExecute(), EmulationStateARM::LoadStateFromDictionary(), and SetArgs().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 96 of file OptionValueArray.cpp.
References error(), lldb_private::OptionValue::GetTypeAsCString(), m_values, and UINT32_MAX.
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 27 of file OptionValueArray.h.
References lldb_private::OptionValue::eTypeArray.
Referenced by DumpValue().
|
inline |
Definition at line 63 of file OptionValueArray.h.
References m_values.
Referenced by EmulationStateARM::LoadStateFromDictionary().
|
inline |
Definition at line 80 of file OptionValueArray.h.
References m_type_mask, and m_values.
|
inlineoverridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 46 of file OptionValueArray.h.
|
inline |
Definition at line 56 of file OptionValueArray.h.
References m_values.
|
inline |
Definition at line 93 of file OptionValueArray.h.
References m_type_mask, and m_values.
Status OptionValueArray::SetArgs | ( | const Args & | args, |
VarSetOperationType | op | ||
) |
Definition at line 164 of file OptionValueArray.cpp.
References AppendValue(), Clear(), lldb_private::OptionValue::CreateValueFromCStringForTypeMask(), error(), lldb_private::eVarSetOperationAppend, lldb_private::eVarSetOperationAssign, lldb_private::eVarSetOperationClear, lldb_private::eVarSetOperationInsertAfter, lldb_private::eVarSetOperationInsertBefore, lldb_private::eVarSetOperationInvalid, lldb_private::eVarSetOperationRemove, lldb_private::eVarSetOperationReplace, lldb_private::Args::GetArgumentAtIndex(), lldb_private::Args::GetArgumentCount(), GetSize(), m_type_mask, lldb_private::OptionValue::m_value_was_set, and m_values.
Referenced by lldb_private::OptionValueProperties::SetPropertyAtIndexFromArgs(), and SetValueFromString().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 86 of file OptionValueArray.cpp.
References error(), lldb_private::OptionValue::NotifyValueChanged(), and SetArgs().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 78 of file OptionValueArray.cpp.
References m_values.
|
protected |
Definition at line 122 of file OptionValueArray.h.
Referenced by DumpValue().
|
protected |
Definition at line 120 of file OptionValueArray.h.
Referenced by AppendValue(), DumpValue(), InsertValue(), ReplaceValue(), and SetArgs().
|
protected |
Definition at line 121 of file OptionValueArray.h.
Referenced by AppendValue(), Clear(), DeleteValue(), DumpValue(), lldb_private::OptionValueArgs::GetArgs(), GetArgs(), GetSize(), GetSubValue(), GetValueAtIndex(), InsertValue(), operator[](), ReplaceValue(), SetArgs(), and ToJSON().