Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator > Class Template Reference

#include <SparseArray.h>

+ Collaboration diagram for TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >:

Public Member Functions

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

Private Attributes

const TSparseArrayArray
 
TConstDualSetBitIterator< typename Allocator::BitArrayAllocator, SubsetAllocator > BitArrayIt
 

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.

Definition at line 777 of file SparseArray.h.

Constructor & Destructor Documentation

◆ TConstSubsetIterator()

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

Definition at line 780 of file SparseArray.h.

Member Function Documentation

◆ GetIndex()

template<typename InElementType , typename Allocator >
template<typename SubsetAllocator = FDefaultBitArrayAllocator>
FORCEINLINE int32 TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::GetIndex ( ) const
inline

Definition at line 790 of file SparseArray.h.

◆ GetRelativeBitReference()

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

Definition at line 805 of file SparseArray.h.

◆ operator bool()

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

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

Definition at line 793 of file SparseArray.h.

◆ operator!()

template<typename InElementType , typename Allocator >
template<typename SubsetAllocator = FDefaultBitArrayAllocator>
FORCEINLINE bool TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::operator! ( ) const
inline

inverse of the "bool" operator

Definition at line 798 of file SparseArray.h.

◆ operator*()

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

Definition at line 803 of file SparseArray.h.

◆ operator++()

template<typename InElementType , typename Allocator >
template<typename SubsetAllocator = FDefaultBitArrayAllocator>
FORCEINLINE TConstSubsetIterator & TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::operator++ ( )
inline

Definition at line 784 of file SparseArray.h.

◆ operator->()

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

Definition at line 804 of file SparseArray.h.

Member Data Documentation

◆ Array

template<typename InElementType , typename Allocator >
template<typename SubsetAllocator = FDefaultBitArrayAllocator>
const TSparseArray& TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::Array
private

Definition at line 807 of file SparseArray.h.

◆ BitArrayIt

template<typename InElementType , typename Allocator >
template<typename SubsetAllocator = FDefaultBitArrayAllocator>
TConstDualSetBitIterator<typename Allocator::BitArrayAllocator,SubsetAllocator> TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >::BitArrayIt
private

Definition at line 808 of file SparseArray.h.


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