LLDB mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::formatters::VectorTypeSyntheticFrontEnd Class Reference
Inheritance diagram for lldb_private::formatters::VectorTypeSyntheticFrontEnd:
Inheritance graph
[legend]

Public Member Functions

 VectorTypeSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp)
 
 ~VectorTypeSyntheticFrontEnd () override=default
 
size_t CalculateNumChildren () override
 
lldb::ValueObjectSP GetChildAtIndex (size_t idx) override
 
bool Update () override
 
bool MightHaveChildren () override
 
size_t GetIndexOfChildWithName (ConstString name) override
 
- Public Member Functions inherited from lldb_private::SyntheticChildrenFrontEnd
 SyntheticChildrenFrontEnd (ValueObject &backend)
 
virtual ~SyntheticChildrenFrontEnd ()=default
 
virtual size_t CalculateNumChildren ()=0
 
virtual size_t CalculateNumChildren (uint32_t max)
 
virtual lldb::ValueObjectSP GetChildAtIndex (size_t idx)=0
 
virtual size_t GetIndexOfChildWithName (ConstString name)=0
 
virtual bool Update ()=0
 
virtual bool MightHaveChildren ()=0
 
virtual lldb::ValueObjectSP GetSyntheticValue ()
 
virtual ConstString GetSyntheticTypeName ()
 

Private Attributes

lldb::Format m_parent_format = eFormatInvalid
 
lldb::Format m_item_format = eFormatInvalid
 
CompilerType m_child_type
 
size_t m_num_children = 0
 

Additional Inherited Members

- Public Types inherited from lldb_private::SyntheticChildrenFrontEnd
typedef std::shared_ptr< SyntheticChildrenFrontEndSharedPointer
 
typedef std::unique_ptr< SyntheticChildrenFrontEndAutoPointer
 
- Protected Member Functions inherited from lldb_private::SyntheticChildrenFrontEnd
void SetValid (bool valid)
 
bool IsValid ()
 
lldb::ValueObjectSP CreateValueObjectFromExpression (llvm::StringRef name, llvm::StringRef expression, const ExecutionContext &exe_ctx)
 
lldb::ValueObjectSP CreateValueObjectFromAddress (llvm::StringRef name, uint64_t address, const ExecutionContext &exe_ctx, CompilerType type)
 
lldb::ValueObjectSP CreateValueObjectFromData (llvm::StringRef name, const DataExtractor &data, const ExecutionContext &exe_ctx, CompilerType type)
 
- Protected Attributes inherited from lldb_private::SyntheticChildrenFrontEnd
ValueObjectm_backend
 

Detailed Description

Definition at line 220 of file VectorType.cpp.

Constructor & Destructor Documentation

◆ VectorTypeSyntheticFrontEnd()

lldb_private::formatters::VectorTypeSyntheticFrontEnd::VectorTypeSyntheticFrontEnd ( lldb::ValueObjectSP  valobj_sp)
inline

Definition at line 222 of file VectorType.cpp.

◆ ~VectorTypeSyntheticFrontEnd()

lldb_private::formatters::VectorTypeSyntheticFrontEnd::~VectorTypeSyntheticFrontEnd ( )
overridedefault

Member Function Documentation

◆ CalculateNumChildren()

size_t lldb_private::formatters::VectorTypeSyntheticFrontEnd::CalculateNumChildren ( )
inlineoverridevirtual

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 227 of file VectorType.cpp.

References m_num_children.

Referenced by GetChildAtIndex(), GetIndexOfChildWithName(), and Update().

◆ GetChildAtIndex()

lldb::ValueObjectSP lldb_private::formatters::VectorTypeSyntheticFrontEnd::GetChildAtIndex ( size_t  idx)
inlineoverridevirtual

◆ GetIndexOfChildWithName()

size_t lldb_private::formatters::VectorTypeSyntheticFrontEnd::GetIndexOfChildWithName ( ConstString  name)
inlineoverridevirtual

◆ MightHaveChildren()

bool lldb_private::formatters::VectorTypeSyntheticFrontEnd::MightHaveChildren ( )
inlineoverridevirtual

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 264 of file VectorType.cpp.

◆ Update()

bool lldb_private::formatters::VectorTypeSyntheticFrontEnd::Update ( )
inlineoverridevirtual

Member Data Documentation

◆ m_child_type

CompilerType lldb_private::formatters::VectorTypeSyntheticFrontEnd::m_child_type
private

Definition at line 277 of file VectorType.cpp.

Referenced by GetChildAtIndex(), and Update().

◆ m_item_format

lldb::Format lldb_private::formatters::VectorTypeSyntheticFrontEnd::m_item_format = eFormatInvalid
private

Definition at line 276 of file VectorType.cpp.

Referenced by GetChildAtIndex(), and Update().

◆ m_num_children

size_t lldb_private::formatters::VectorTypeSyntheticFrontEnd::m_num_children = 0
private

Definition at line 278 of file VectorType.cpp.

Referenced by CalculateNumChildren(), and Update().

◆ m_parent_format

lldb::Format lldb_private::formatters::VectorTypeSyntheticFrontEnd::m_parent_format = eFormatInvalid
private

Definition at line 275 of file VectorType.cpp.

Referenced by Update().


The documentation for this class was generated from the following file: