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

Public Member Functions

 LibcxxStdVectorSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp)
 
 ~LibcxxStdVectorSyntheticFrontEnd () override
 
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 (uint32_t max)
 
virtual lldb::ValueObjectSP GetSyntheticValue ()
 
virtual ConstString GetSyntheticTypeName ()
 

Private Attributes

ValueObjectm_start
 
ValueObjectm_finish
 
CompilerType m_element_type
 
uint32_t m_element_size
 

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 21 of file LibCxxVector.cpp.

Constructor & Destructor Documentation

◆ LibcxxStdVectorSyntheticFrontEnd()

lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::LibcxxStdVectorSyntheticFrontEnd ( lldb::ValueObjectSP  valobj_sp)

Definition at line 70 of file LibCxxVector.cpp.

References Update(), and ~LibcxxStdVectorSyntheticFrontEnd().

◆ ~LibcxxStdVectorSyntheticFrontEnd()

lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::~LibcxxStdVectorSyntheticFrontEnd ( )
override

Definition at line 78 of file LibCxxVector.cpp.

References CalculateNumChildren().

Referenced by LibcxxStdVectorSyntheticFrontEnd().

Member Function Documentation

◆ CalculateNumChildren()

size_t lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::CalculateNumChildren ( )
overridevirtual

◆ GetChildAtIndex()

lldb::ValueObjectSP lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::GetChildAtIndex ( size_t  idx)
overridevirtual

◆ GetIndexOfChildWithName()

size_t lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::GetIndexOfChildWithName ( ConstString  name)
overridevirtual

◆ MightHaveChildren()

bool lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::MightHaveChildren ( )
overridevirtual

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 162 of file LibCxxVector.cpp.

References GetIndexOfChildWithName().

Referenced by Update().

◆ Update()

bool lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::Update ( )
overridevirtual

Member Data Documentation

◆ m_element_size

uint32_t lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::m_element_size
private

Definition at line 41 of file LibCxxVector.cpp.

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

◆ m_element_type

CompilerType lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::m_element_type
private

Definition at line 40 of file LibCxxVector.cpp.

Referenced by GetChildAtIndex(), and Update().

◆ m_finish

ValueObject* lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::m_finish
private

◆ m_start

ValueObject* lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::m_start
private

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