LLDB  mainline
Classes | Public Member Functions | Private Attributes | List of all members
lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 > Class Template Reference
Inheritance diagram for lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >:
Collaboration graph
[legend]

Classes

struct  DictionaryItemDescriptor
 

Public Member Functions

 GenericNSDictionaryMSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp)
 
 ~GenericNSDictionaryMSyntheticFrontEnd () 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

ExecutionContextRef m_exe_ctx_ref
 
uint8_t m_ptr_size
 
lldb::ByteOrder m_order
 
D32 * m_data_32
 
D64 * m_data_64
 
CompilerType m_pair_type
 
std::vector< DictionaryItemDescriptorm_children
 

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

template<typename D32, typename D64>
class lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >

Definition at line 196 of file NSDictionary.cpp.

Constructor & Destructor Documentation

◆ GenericNSDictionaryMSyntheticFrontEnd()

template<typename D32 , typename D64 >
lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::GenericNSDictionaryMSyntheticFrontEnd ( lldb::ValueObjectSP  valobj_sp)

◆ ~GenericNSDictionaryMSyntheticFrontEnd()

template<typename D32 , typename D64 >
lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::~GenericNSDictionaryMSyntheticFrontEnd< D32, D64 > ( )
override

Member Function Documentation

◆ CalculateNumChildren()

template<typename D32 , typename D64 >
size_t lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::CalculateNumChildren ( )
overridevirtual

◆ GetChildAtIndex()

template<typename D32 , typename D64 >
lldb::ValueObjectSP lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::GetChildAtIndex ( size_t  idx)
overridevirtual

Implements lldb_private::SyntheticChildrenFrontEnd.

Definition at line 981 of file NSDictionary.cpp.

References lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::CalculateNumChildren(), lldb_private::SyntheticChildrenFrontEnd::CreateValueObjectFromData(), error(), lldb_private::Status::Fail(), GetLLDBNSPairType(), lldb_private::ExecutionContextRef::GetProcessSP(), lldb_private::StreamString::GetString(), lldb_private::ValueObject::GetTargetSP(), lldb_private::CompilerType::IsValid(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::DictionaryItemDescriptor::key_ptr, lldb_private::SyntheticChildrenFrontEnd::m_backend, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_children, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_data_32, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_data_64, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_exe_ctx_ref, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_order, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_pair_type, lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_ptr_size, lldb_private::formatters::Foundation1100::NSDictionaryMSyntheticFrontEnd::NSDictionaryMSyntheticFrontEnd(), lldb_private::Stream::Printf(), lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::DictionaryItemDescriptor::val_ptr, and lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::DictionaryItemDescriptor::valobj_sp.

◆ GetIndexOfChildWithName()

template<typename D32 , typename D64 >
size_t lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::GetIndexOfChildWithName ( ConstString  name)
overridevirtual

◆ MightHaveChildren()

template<typename D32 , typename D64 >
bool lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::MightHaveChildren ( )
overridevirtual

◆ Update()

template<typename D32 , typename D64 >
bool lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::Update ( )
overridevirtual

Member Data Documentation

◆ m_children

template<typename D32 , typename D64 >
std::vector<DictionaryItemDescriptor> lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_children
private

◆ m_data_32

template<typename D32 , typename D64 >
D32* lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_data_32
private

◆ m_data_64

template<typename D32 , typename D64 >
D64* lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_data_64
private

◆ m_exe_ctx_ref

template<typename D32 , typename D64 >
ExecutionContextRef lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_exe_ctx_ref
private

◆ m_order

template<typename D32 , typename D64 >
lldb::ByteOrder lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_order
private

◆ m_pair_type

template<typename D32 , typename D64 >
CompilerType lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_pair_type
private

◆ m_ptr_size

template<typename D32 , typename D64 >
uint8_t lldb_private::formatters::GenericNSDictionaryMSyntheticFrontEnd< D32, D64 >::m_ptr_size
private

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