Go to the documentation of this file.
29 return cast_valobj_ptr->
GetSP();
47 return children_count <= max ? children_count : max;
bool UpdateValue() override
virtual bool CanProvideValue()
void SetValueIsValid(bool valid)
const Value & GetValue() const
Status GetValueAsData(ExecutionContext *exe_ctx, DataExtractor &data, Module *module)
ValueType GetValueType() const
static lldb::ValueObjectSP Create(ValueObject &parent, ConstString name, const CompilerType &cast_type)
void SetValueDidChange(bool value_changed)
llvm::Optional< uint64_t > GetByteSize() override
const Status & GetError()
void SetCompilerType(const CompilerType &compiler_type)
DataExtractor m_data
A data extractor that can be used to extract the value.
const Scalar & GetScalar() const
bool Success() const
Test for success condition.
ValueObjectCast(ValueObject &parent, ConstString name, const CompilerType &cast_type)
lldb::ValueObjectSP GetSP()
void SetAddressTypeOfChildren(AddressType at)
A ValueObject that represents a given value represented as a different type.
bool Fail() const
Test for error condition.
bool UpdateValueIfNeeded(bool update_format=true)
lldb::ValueType GetValueType() const override
const ExecutionContextRef & GetExecutionContextRef() const
void SetName(ConstString name)
Change the name of the current ValueObject.
uint32_t GetNumChildren(bool omit_empty_base_classes, const ExecutionContext *exe_ctx) const
bool IsInScope() override
virtual lldb::ValueType GetValueType() const =0
CompilerType GetCompilerTypeImpl() override
EvaluationPoint m_update_point
Stores both the stop id and the full context at which this value was last updated.
ValueObject * m_parent
The parent value object, or nullptr if this has no parent.
CompilerType GetCompilerType()
virtual lldb::ModuleSP GetModule()
Return the module associated with this value object in case the value is from an executable file and ...
Generic representation of a type in a programming language.
A class that represents a running process on the host machine.
size_t CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
void Clear()
Clear the object state.
uint64_t GetValueByteSize(Status *error_ptr, ExecutionContext *exe_ctx)
Status m_error
An error object that can describe any errors that occur when updating values.
~ValueObjectCast() override
AddressType GetAddressTypeOfChildren()