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

#include <SparseArray.h>

+ Inheritance diagram for TSparseArray< InElementType, Allocator >::TIterator:
+ Collaboration diagram for TSparseArray< InElementType, Allocator >::TIterator:

Public Member Functions

 TIterator (TSparseArray &InArray)
 
 TIterator (TSparseArray &InArray, const typename TBaseIterator< false >::BitArrayItType &InBitArrayIt)
 
void RemoveCurrent ()
 
- Public Member Functions inherited from TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >
 TBaseIterator (ArrayType &InArray, const BitArrayItType &InBitArrayIt)
 
FORCEINLINE TBaseIteratoroperator++ ()
 
FORCEINLINE int32 GetIndex () const
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE ItElementTypeoperator* () const
 
FORCEINLINE ItElementTypeoperator-> () const
 
FORCEINLINE const FRelativeBitReferenceGetRelativeBitReference () const
 

Additional Inherited Members

- Public Types inherited from TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >
typedef TConstSetBitIterator< typename Allocator::BitArrayAllocator > BitArrayItType
 
- Protected Attributes inherited from TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >
ArrayTypeArray
 
BitArrayItType BitArrayIt
 

Detailed Description

template<typename InElementType, typename Allocator>
class TSparseArray< InElementType, Allocator >::TIterator

Iterates over all allocated elements in a sparse array.

Definition at line 664 of file SparseArray.h.

Constructor & Destructor Documentation

◆ TIterator() [1/2]

template<typename InElementType , typename Allocator >
TSparseArray< InElementType, Allocator >::TIterator::TIterator ( TSparseArray & InArray)
inline

Definition at line 667 of file SparseArray.h.

◆ TIterator() [2/2]

template<typename InElementType , typename Allocator >
TSparseArray< InElementType, Allocator >::TIterator::TIterator ( TSparseArray & InArray,
const typename TBaseIterator< false >::BitArrayItType & InBitArrayIt )
inline

Definition at line 672 of file SparseArray.h.

Member Function Documentation

◆ RemoveCurrent()

template<typename InElementType , typename Allocator >
void TSparseArray< InElementType, Allocator >::TIterator::RemoveCurrent ( )
inline

Safely removes the current element from the array.

Definition at line 678 of file SparseArray.h.


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