UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator > Class Template Reference

#include <SparseArray.h>

Public Member Functions

 TConstSubsetIterator (const TSparseArray &InArray, const TBitArray< SubsetAllocator > &InBitArray)
 
TConstSubsetIteratoroperator++ ()
 
UE_FORCEINLINE_HINT int32 GetIndex () const
 
UE_FORCEINLINE_HINT operator bool () const
 
UE_FORCEINLINE_HINT bool operator! () const
 
UE_FORCEINLINE_HINT const ElementType & operator* () const
 
UE_FORCEINLINE_HINT const ElementType * operator-> () const
 
UE_FORCEINLINE_HINT const FRelativeBitReferenceGetRelativeBitReference () const
 

Detailed Description

template<typename InElementType, typename Allocator>
template<typename SubsetAllocator = FDefaultBitArrayAllocator>
class TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >

An iterator which only iterates over the elements of the array which correspond to set bits in a separate bit array.

Constructor & Destructor Documentation

◆ TConstSubsetIterator()

template<typename SubsetAllocator = FDefaultBitArrayAllocator>
TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::TConstSubsetIterator ( const TSparseArray InArray,
const TBitArray< SubsetAllocator > &  InBitArray 
)
inline

Member Function Documentation

◆ GetIndex()

◆ GetRelativeBitReference()

template<typename SubsetAllocator = FDefaultBitArrayAllocator>
UE_FORCEINLINE_HINT const FRelativeBitReference & TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::GetRelativeBitReference ( ) const
inline

◆ operator bool()

template<typename SubsetAllocator = FDefaultBitArrayAllocator>
UE_FORCEINLINE_HINT TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::operator bool ( ) const
inlineexplicit

conversion to "bool" returning true if the iterator is valid.

◆ operator!()

inverse of the "bool" operator

◆ operator*()

template<typename SubsetAllocator = FDefaultBitArrayAllocator>
UE_FORCEINLINE_HINT const ElementType & TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::operator* ( ) const
inline

◆ operator++()

◆ operator->()

template<typename SubsetAllocator = FDefaultBitArrayAllocator>
UE_FORCEINLINE_HINT const ElementType * TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::operator-> ( ) const
inline

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