LLDB  mainline
Public Member Functions | List of all members
lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd Class Reference

#include <LibCxx.h>

Inheritance diagram for lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd:
Collaboration graph
[legend]

Public Member Functions

 LibcxxSharedPtrSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp)
 
size_t CalculateNumChildren () override
 
lldb::ValueObjectSP GetChildAtIndex (size_t idx) override
 
bool Update () override
 
bool MightHaveChildren () override
 
size_t GetIndexOfChildWithName (ConstString name) override
 
 ~LibcxxSharedPtrSyntheticFrontEnd () 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 ()
 

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 86 of file LibCxx.h.

Constructor & Destructor Documentation

◆ LibcxxSharedPtrSyntheticFrontEnd()

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

◆ ~LibcxxSharedPtrSyntheticFrontEnd()

lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd::~LibcxxSharedPtrSyntheticFrontEnd ( )
overridedefault

Referenced by GetIndexOfChildWithName().

Member Function Documentation

◆ CalculateNumChildren()

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

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 352 of file LibCxx.cpp.

Referenced by LibcxxSharedPtrSyntheticFrontEnd().

◆ GetChildAtIndex()

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

◆ GetIndexOfChildWithName()

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

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 432 of file LibCxx.cpp.

References UINT32_MAX, and ~LibcxxSharedPtrSyntheticFrontEnd().

Referenced by MightHaveChildren().

◆ MightHaveChildren()

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

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 427 of file LibCxx.cpp.

References GetIndexOfChildWithName().

Referenced by Update().

◆ Update()

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

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