LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes Struct Reference

Public Member Functions

void SetIndexes (uint64_t value, Process &p)
 
size_t GetNumIndexes ()
 
lldb::ValueObjectSP GetIndexAtIndex (size_t idx, const CompilerType &desired_type)
 
void Clear ()
 
 InlinedIndexes ()
 

Private Member Functions

size_t _lengthForInlinePayload (uint32_t ptr_size)
 
std::pair< uint64_t, bool > _indexAtPositionForInlinePayload (size_t pos)
 

Private Attributes

uint64_t m_indexes = 0
 
size_t m_count = 0
 
uint32_t m_ptr_size = 0
 
Processm_process = nullptr
 

Detailed Description

Definition at line 170 of file NSIndexPath.cpp.

Constructor & Destructor Documentation

◆ InlinedIndexes()

NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::InlinedIndexes ( )
inline

Definition at line 214 of file NSIndexPath.cpp.

Member Function Documentation

◆ _indexAtPositionForInlinePayload()

std::pair< uint64_t, bool > NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::_indexAtPositionForInlinePayload ( size_t  pos)
inlineprivate

Definition at line 232 of file NSIndexPath.cpp.

References m_indexes, m_ptr_size, PACKED_INDEX_SHIFT_32(), and PACKED_INDEX_SHIFT_64().

Referenced by GetIndexAtIndex().

◆ _lengthForInlinePayload()

size_t NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::_lengthForInlinePayload ( uint32_t  ptr_size)
inlineprivate

Definition at line 223 of file NSIndexPath.cpp.

References m_count, m_indexes, and m_ptr_size.

Referenced by SetIndexes().

◆ Clear()

void NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::Clear ( )
inline

Definition at line 207 of file NSIndexPath.cpp.

References m_count, m_indexes, m_process, and m_ptr_size.

Referenced by NSIndexPathSyntheticFrontEnd::Impl::Clear().

◆ GetIndexAtIndex()

lldb::ValueObjectSP NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetIndexAtIndex ( size_t  idx,
const CompilerType desired_type 
)
inline

◆ GetNumIndexes()

size_t NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetNumIndexes ( )
inline

Definition at line 178 of file NSIndexPath.cpp.

References m_count.

Referenced by NSIndexPathSyntheticFrontEnd::Impl::GetNumIndexes().

◆ SetIndexes()

void NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::SetIndexes ( uint64_t  value,
Process p 
)
inline

Member Data Documentation

◆ m_count

size_t NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::m_count = 0
private

Definition at line 218 of file NSIndexPath.cpp.

Referenced by _lengthForInlinePayload(), Clear(), and GetNumIndexes().

◆ m_indexes

uint64_t NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::m_indexes = 0
private

◆ m_process

Process* NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::m_process = nullptr
private

Definition at line 220 of file NSIndexPath.cpp.

Referenced by Clear(), GetIndexAtIndex(), and SetIndexes().

◆ m_ptr_size

uint32_t NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::m_ptr_size = 0
private

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