LLDB mainline
|
#include <OptionValueFormat.h>
Protected Attributes | |
lldb::Format | m_current_value |
lldb::Format | m_default_value |
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 16 of file OptionValueFormat.h.
|
inline |
Definition at line 19 of file OptionValueFormat.h.
|
inline |
Definition at line 22 of file OptionValueFormat.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 40 of file OptionValueFormat.h.
References m_current_value, m_default_value, and lldb_private::OptionValue::m_value_was_set.
Referenced by lldb_private::OptionGroupFormat::OptionParsingStarting(), and SetValueFromString().
|
overridevirtual |
Implements lldb_private::OptionValue.
Definition at line 18 of file OptionValueFormat.cpp.
References lldb_private::OptionValue::eDumpOptionType, lldb_private::OptionValue::eDumpOptionValue, lldb_private::FormatManager::GetFormatAsCString(), lldb_private::OptionValue::GetTypeAsCString(), m_current_value, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
inline |
Definition at line 47 of file OptionValueFormat.h.
References m_current_value.
Referenced by CommandObjectMemoryRead::DoExecute(), and lldb_private::OptionGroupFormat::GetFormat().
|
inline |
Definition at line 49 of file OptionValueFormat.h.
References m_default_value.
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 29 of file OptionValueFormat.h.
References lldb_private::OptionValue::eTypeFormat.
|
inline |
Definition at line 51 of file OptionValueFormat.h.
References m_current_value.
Referenced by CommandObjectMemoryRead::DoExecute(), and lldb_private::OptionGroupFormat::SetOptionValue().
|
inline |
Definition at line 53 of file OptionValueFormat.h.
References m_default_value.
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 33 of file OptionValueFormat.cpp.
References Clear(), 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, m_current_value, lldb_private::OptionValue::m_value_was_set, lldb_private::OptionValue::NotifyValueChanged(), lldb_private::OptionValue::SetValueFromString(), and lldb_private::OptionArgParser::ToFormat().
Referenced by lldb_private::OptionGroupFormat::SetOptionValue().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 29 of file OptionValueFormat.cpp.
References lldb_private::FormatManager::GetFormatAsCString(), and m_current_value.
|
protected |
Definition at line 56 of file OptionValueFormat.h.
Referenced by Clear(), DumpValue(), GetCurrentValue(), SetCurrentValue(), SetValueFromString(), and ToJSON().
|
protected |
Definition at line 57 of file OptionValueFormat.h.
Referenced by Clear(), GetDefaultValue(), and SetDefaultValue().