9#ifndef LLDB_VALUEOBJECT_VALUEOBJECTCONSTRESULTCHILD_H
10#define LLDB_VALUEOBJECT_VALUEOBJECTCONSTRESULTCHILD_H
33 uint32_t byte_size, int32_t byte_offset, uint32_t bitfield_bit_size,
34 uint32_t bitfield_bit_offset,
bool is_base_class,
bool is_deref_of_parent,
46 uint32_t offset,
const CompilerType &type,
bool can_create,
51 AddrAndType
GetAddressOf(
bool scalar_is_load_address =
true)
override;
54 uint32_t item_count = 1)
override;
67 return m_impl.CreateChildAtIndex(idx);
70 return m_impl.CreateSyntheticArrayMember(idx);
static llvm::raw_ostream & error(Stream &strm)
Generic representation of a type in a programming language.
A uniqued constant string class.
ValueObjectChild(ValueObject &parent, const CompilerType &compiler_type, ConstString name, uint64_t byte_size, int32_t byte_offset, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset, bool is_base_class, bool is_deref_of_parent, AddressType child_ptr_or_ref_addr_type, uint64_t language_flags)
lldb::ValueObjectSP GetSyntheticChildAtOffset(uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString()) override
virtual CompilerType GetCompilerType()
AddrAndType GetAddressOf(bool scalar_is_load_address=true) override
ValueObject * CreateSyntheticArrayMember(size_t idx) override
Should only be called by ValueObject::GetSyntheticArrayMember().
size_t GetPointeeData(DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1) override
ValueObjectConstResultChild(const ValueObjectConstResultChild &)=delete
const ValueObjectConstResultChild & operator=(const ValueObjectConstResultChild &)=delete
~ValueObjectConstResultChild() override
ValueObject * CreateChildAtIndex(size_t idx) override
Should only be called by ValueObject::GetChildAtIndex().
ValueObjectConstResultChild(ValueObject &parent, const CompilerType &compiler_type, ConstString name, uint32_t byte_size, int32_t byte_offset, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset, bool is_base_class, bool is_deref_of_parent, lldb::addr_t live_address, uint64_t language_flags)
friend class ValueObjectConstResultImpl
lldb::ValueObjectSP DoCast(const CompilerType &compiler_type) override
ValueObjectConstResultImpl m_impl
friend class ValueObjectConstResult
lldb::ValueObjectSP AddressOf(Status &error) override
lldb::ValueObjectSP Dereference(Status &error) override
CompilerType GetCompilerType()
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP