LLDB mainline
|
#include <OptionValueBoolean.h>
Protected Attributes | |
bool | m_current_value |
bool | 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 OptionValueBoolean.h.
|
inline |
Definition at line 18 of file OptionValueBoolean.h.
References m_current_value, and m_default_value.
|
inline |
Definition at line 20 of file OptionValueBoolean.h.
References m_current_value, and m_default_value.
|
overridedefault |
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 76 of file OptionValueBoolean.cpp.
References lldb_private::CompletionRequest::GetCursorArgumentPrefix(), and lldb_private::CompletionRequest::TryCompleteCurrentArg().
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 40 of file OptionValueBoolean.h.
References m_current_value, m_default_value, and lldb_private::OptionValue::m_value_was_set.
Referenced by SetValueFromString().
|
overridevirtual |
Implements lldb_private::OptionValue.
Definition at line 21 of file OptionValueBoolean.cpp.
References lldb_private::OptionValue::eDumpOptionDefaultValue, lldb_private::OptionValue::eDumpOptionType, lldb_private::OptionValue::eDumpOptionValue, lldb_private::OptionValue::GetTypeAsCString(), m_current_value, m_default_value, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
inline |
Definition at line 70 of file OptionValueBoolean.h.
References m_current_value.
|
inline |
Definition at line 72 of file OptionValueBoolean.h.
References m_default_value.
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 27 of file OptionValueBoolean.h.
References lldb_private::OptionValue::eTypeBoolean.
|
inlineexplicit |
Convert to bool operator.
This allows code to check a OptionValueBoolean in conditions.
Definition at line 63 of file OptionValueBoolean.h.
References m_current_value.
Definition at line 65 of file OptionValueBoolean.h.
References m_current_value.
|
inline |
Definition at line 74 of file OptionValueBoolean.h.
References m_current_value.
|
inline |
Definition at line 76 of file OptionValueBoolean.h.
References m_default_value.
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 39 of file OptionValueBoolean.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, lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), m_current_value, lldb_private::OptionValue::m_value_was_set, lldb_private::OptionValue::NotifyValueChanged(), lldb_private::OptionValue::SetValueFromString(), and lldb_private::OptionArgParser::ToBoolean().
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 32 of file OptionValueBoolean.h.
References m_current_value.
|
protected |
Definition at line 79 of file OptionValueBoolean.h.
Referenced by Clear(), DumpValue(), GetCurrentValue(), operator bool(), operator=(), OptionValueBoolean(), OptionValueBoolean(), SetCurrentValue(), SetValueFromString(), and ToJSON().
|
protected |
Definition at line 80 of file OptionValueBoolean.h.
Referenced by Clear(), DumpValue(), GetDefaultValue(), OptionValueBoolean(), OptionValueBoolean(), and SetDefaultValue().