Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TSparseArray
An iterator which only iterates over the elements of the array which correspond to set bits in a separate bit array.
| Name | TConstSubsetIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/SparseArray.h |
| Include Path | #include "Containers/SparseArray.h" |
Syntax
template<typename SubsetAllocator>
class TConstSubsetIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TConstSubsetIterator
(
const TSparseArray& InArray, |
Containers/SparseArray.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Array | const TSparseArray & | Containers/SparseArray.h | ||
| BitArrayIt | TConstDualSetBitIterator< typename Allocator::BitArrayAllocator, SubsetAllocator > | Containers/SparseArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetIndex() |
Containers/SparseArray.h | ||
const FRelativeBitReference & GetRelativeBitReference() |
Containers/SparseArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Conversion to "bool" returning true if the iterator is valid. | Containers/SparseArray.h | |
bool operator!() |
Inverse of the "bool" operator | Containers/SparseArray.h | |
const ElementType & operator*() |
Containers/SparseArray.h | ||
TConstSubsetIterator & operator++() |
Containers/SparseArray.h | ||
const ElementType * operator->() |
Containers/SparseArray.h |