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

Public Member Functions

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

Private Attributes

CompilerType m_element_type
 
CompilerType m_node_type
 
ValueObjectm_tree
 
size_t m_num_elements
 
ValueObjectm_next_element
 
std::vector< std::pair< ValueObject *, uint64_t > > m_elements_cache
 

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 27 of file LibCxxUnorderedMap.cpp.

Constructor & Destructor Documentation

◆ LibcxxStdUnorderedMapSyntheticFrontEnd()

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

◆ ~LibcxxStdUnorderedMapSyntheticFrontEnd()

lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::~LibcxxStdUnorderedMapSyntheticFrontEnd ( )
overridedefault

Member Function Documentation

◆ CalculateNumChildren()

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

◆ GetChildAtIndex()

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

◆ GetIndexOfChildWithName()

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

◆ MightHaveChildren()

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

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 207 of file LibCxxUnorderedMap.cpp.

References GetIndexOfChildWithName().

Referenced by Update().

◆ Update()

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

Member Data Documentation

◆ m_element_type

CompilerType lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::m_element_type
private

Definition at line 45 of file LibCxxUnorderedMap.cpp.

Referenced by GetChildAtIndex().

◆ m_elements_cache

std::vector<std::pair<ValueObject *, uint64_t> > lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::m_elements_cache
private

Definition at line 50 of file LibCxxUnorderedMap.cpp.

Referenced by GetChildAtIndex(), and Update().

◆ m_next_element

ValueObject* lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::m_next_element
private

Definition at line 49 of file LibCxxUnorderedMap.cpp.

Referenced by GetChildAtIndex(), and Update().

◆ m_node_type

CompilerType lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::m_node_type
private

Definition at line 46 of file LibCxxUnorderedMap.cpp.

Referenced by GetChildAtIndex().

◆ m_num_elements

size_t lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::m_num_elements
private

Definition at line 48 of file LibCxxUnorderedMap.cpp.

Referenced by CalculateNumChildren(), and Update().

◆ m_tree

ValueObject* lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::m_tree
private

Definition at line 47 of file LibCxxUnorderedMap.cpp.

Referenced by GetChildAtIndex(), and Update().


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