LLDB mainline
|
#include <OptionValueArgs.h>
Public Member Functions | |
OptionValueArgs () | |
~OptionValueArgs () override=default | |
size_t | GetArgs (Args &args) const |
Type | GetType () const override |
![]() | |
std::shared_ptr< typename Base::TopmostBase > | Clone () const override |
![]() | |
OptionValueArray (uint32_t type_mask=UINT32_MAX, bool raw_value_dump=false) | |
~OptionValueArray () override=default | |
OptionValue::Type | GetType () const override |
void | DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) override |
llvm::json::Value | ToJSON (const ExecutionContext *exe_ctx) override |
Status | SetValueFromString (llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override |
void | Clear () override |
lldb::OptionValueSP | DeepCopy (const lldb::OptionValueSP &new_parent) const override |
bool | IsAggregateValue () const override |
lldb::OptionValueSP | GetSubValue (const ExecutionContext *exe_ctx, llvm::StringRef name, bool will_modify, Status &error) const override |
size_t | GetSize () const |
lldb::OptionValueSP | operator[] (size_t idx) const |
lldb::OptionValueSP | GetValueAtIndex (size_t idx) const |
bool | AppendValue (const lldb::OptionValueSP &value_sp) |
bool | InsertValue (size_t idx, const lldb::OptionValueSP &value_sp) |
bool | ReplaceValue (size_t idx, const lldb::OptionValueSP &value_sp) |
bool | DeleteValue (size_t idx) |
size_t | GetArgs (Args &args) const |
Status | SetArgs (const Args &args, VarSetOperationType op) |
![]() | |
std::shared_ptr< typename Base::TopmostBase > | Clone () const override |
![]() | |
OptionValue ()=default | |
virtual | ~OptionValue ()=default |
virtual Type | GetType () const =0 |
virtual bool | ValueIsTransparent () const |
virtual const char * | GetTypeAsCString () const |
virtual void | DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask)=0 |
virtual llvm::json::Value | ToJSON (const ExecutionContext *exe_ctx) |
virtual Status | SetValueFromString (llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) |
virtual void | Clear ()=0 |
virtual lldb::OptionValueSP | DeepCopy (const lldb::OptionValueSP &new_parent) const |
virtual void | AutoComplete (CommandInterpreter &interpreter, CompletionRequest &request) |
virtual lldb::OptionValueSP | GetSubValue (const ExecutionContext *exe_ctx, llvm::StringRef name, bool will_modify, Status &error) const |
virtual Status | SetSubValue (const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef name, llvm::StringRef value) |
virtual bool | IsAggregateValue () const |
virtual ConstString | GetName () const |
virtual bool | DumpQualifiedName (Stream &strm) const |
uint32_t | GetTypeAsMask () |
uint64_t | GetUInt64Value (uint64_t fail_value, bool *success_ptr) |
OptionValueArch * | GetAsArch () |
const OptionValueArch * | GetAsArch () const |
OptionValueArray * | GetAsArray () |
const OptionValueArray * | GetAsArray () const |
OptionValueArgs * | GetAsArgs () |
const OptionValueArgs * | GetAsArgs () const |
OptionValueBoolean * | GetAsBoolean () |
OptionValueChar * | GetAsChar () |
const OptionValueBoolean * | GetAsBoolean () const |
const OptionValueChar * | GetAsChar () const |
OptionValueDictionary * | GetAsDictionary () |
const OptionValueDictionary * | GetAsDictionary () const |
OptionValueEnumeration * | GetAsEnumeration () |
const OptionValueEnumeration * | GetAsEnumeration () const |
OptionValueFileSpec * | GetAsFileSpec () |
const OptionValueFileSpec * | GetAsFileSpec () const |
OptionValueFileSpecList * | GetAsFileSpecList () |
const OptionValueFileSpecList * | GetAsFileSpecList () const |
OptionValueFormat * | GetAsFormat () |
const OptionValueFormat * | GetAsFormat () const |
OptionValueLanguage * | GetAsLanguage () |
const OptionValueLanguage * | GetAsLanguage () const |
OptionValuePathMappings * | GetAsPathMappings () |
const OptionValuePathMappings * | GetAsPathMappings () const |
OptionValueProperties * | GetAsProperties () |
const OptionValueProperties * | GetAsProperties () const |
OptionValueRegex * | GetAsRegex () |
const OptionValueRegex * | GetAsRegex () const |
OptionValueSInt64 * | GetAsSInt64 () |
const OptionValueSInt64 * | GetAsSInt64 () const |
OptionValueString * | GetAsString () |
const OptionValueString * | GetAsString () const |
OptionValueUInt64 * | GetAsUInt64 () |
const OptionValueUInt64 * | GetAsUInt64 () const |
OptionValueUUID * | GetAsUUID () |
const OptionValueUUID * | GetAsUUID () const |
OptionValueFormatEntity * | GetAsFormatEntity () |
const OptionValueFormatEntity * | GetAsFormatEntity () const |
bool | GetBooleanValue (bool fail_value=false) const |
bool | SetBooleanValue (bool new_value) |
char | GetCharValue (char fail_value) const |
char | SetCharValue (char new_value) |
int64_t | GetEnumerationValue (int64_t fail_value=-1) const |
bool | SetEnumerationValue (int64_t value) |
FileSpec | GetFileSpecValue () const |
bool | SetFileSpecValue (const FileSpec &file_spec) |
FileSpecList | GetFileSpecListValue () const |
lldb::Format | GetFormatValue (lldb::Format fail_value=lldb::eFormatDefault) const |
bool | SetFormatValue (lldb::Format new_value) |
lldb::LanguageType | GetLanguageValue (lldb::LanguageType fail_value=lldb::eLanguageTypeUnknown) const |
bool | SetLanguageValue (lldb::LanguageType new_language) |
const FormatEntity::Entry * | GetFormatEntity () const |
const RegularExpression * | GetRegexValue () const |
int64_t | GetSInt64Value (int64_t fail_value=0) const |
bool | SetSInt64Value (int64_t new_value) |
llvm::StringRef | GetStringValue (llvm::StringRef fail_value) const |
llvm::StringRef | GetStringValue () const |
bool | SetStringValue (llvm::StringRef new_value) |
uint64_t | GetUInt64Value (uint64_t fail_value=0) const |
bool | SetUInt64Value (uint64_t new_value) |
UUID | GetUUIDValue () const |
bool | SetUUIDValue (const UUID &uuid) |
bool | OptionWasSet () const |
void | SetOptionWasSet () |
void | SetParent (const lldb::OptionValueSP &parent_sp) |
lldb::OptionValueSP | GetParent () const |
void | SetValueChangedCallback (std::function< void()> callback) |
void | NotifyValueChanged () |
Definition at line 16 of file OptionValueArgs.h.
|
inline |
Definition at line 18 of file OptionValueArgs.h.
|
overridedefault |
size_t OptionValueArgs::GetArgs | ( | Args & | args | ) | const |
Definition at line 16 of file OptionValueArgs.cpp.
References lldb_private::Args::AppendArgument(), lldb_private::Args::Clear(), lldb_private::Args::GetArgumentCount(), and lldb_private::OptionValueArray::m_values.
Referenced by lldb_private::OptionValueProperties::GetPropertyAtIndexAsArgs().
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 25 of file OptionValueArgs.h.
References lldb_private::OptionValue::eTypeArgs.