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

Public Member Functions

 LibcxxStdMapSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp)
 
 ~LibcxxStdMapSyntheticFrontEnd () 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 Member Functions

bool GetDataType ()
 
void GetValueOffset (const lldb::ValueObjectSP &node)
 

Private Attributes

ValueObjectm_tree
 
ValueObjectm_root_node
 
CompilerType m_element_type
 
uint32_t m_skip_size
 
size_t m_count
 
std::map< size_t, MapIteratorm_iterators
 

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 175 of file LibCxxMap.cpp.

Constructor & Destructor Documentation

◆ LibcxxStdMapSyntheticFrontEnd()

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

◆ ~LibcxxStdMapSyntheticFrontEnd()

lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::~LibcxxStdMapSyntheticFrontEnd ( )
overridedefault

Member Function Documentation

◆ CalculateNumChildren()

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

◆ GetChildAtIndex()

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

◆ GetDataType()

bool lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::GetDataType ( )
private

◆ GetIndexOfChildWithName()

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

◆ GetValueOffset()

void lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::GetValueOffset ( const lldb::ValueObjectSP &  node)
private

◆ MightHaveChildren()

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

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 452 of file LibCxxMap.cpp.

References GetIndexOfChildWithName().

Referenced by Update().

◆ Update()

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

Member Data Documentation

◆ m_count

size_t lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::m_count
private

Definition at line 200 of file LibCxxMap.cpp.

Referenced by CalculateNumChildren(), and Update().

◆ m_element_type

CompilerType lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::m_element_type
private

Definition at line 198 of file LibCxxMap.cpp.

Referenced by GetChildAtIndex(), GetDataType(), and GetValueOffset().

◆ m_iterators

std::map<size_t, MapIterator> lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::m_iterators
private

Definition at line 201 of file LibCxxMap.cpp.

Referenced by GetChildAtIndex(), and Update().

◆ m_root_node

ValueObject* lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::m_root_node
private

Definition at line 197 of file LibCxxMap.cpp.

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

◆ m_skip_size

uint32_t lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::m_skip_size
private

Definition at line 199 of file LibCxxMap.cpp.

Referenced by GetChildAtIndex(), and GetValueOffset().

◆ m_tree

ValueObject* lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::m_tree
private

Definition at line 196 of file LibCxxMap.cpp.

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


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