Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TSparseArray< InElementType, Allocator >::TBaseIterator< bConst > Class Template Reference
+ Inheritance diagram for TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >:
+ Collaboration diagram for TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >:

Public Types

typedef TConstSetBitIterator< typename Allocator::BitArrayAllocator > BitArrayItType
 

Public Member Functions

 TBaseIterator (ArrayType &InArray, const BitArrayItType &InBitArrayIt)
 
FORCEINLINE TBaseIteratoroperator++ ()
 
FORCEINLINE int32 GetIndex () const
 
FORCEINLINE bool operator== (const TBaseIterator &Rhs) const
 
FORCEINLINE bool operator!= (const TBaseIterator &Rhs) const
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE ItElementTypeoperator* () const
 
FORCEINLINE ItElementTypeoperator-> () const
 
FORCEINLINE const FRelativeBitReferenceGetRelativeBitReference () const
 

Protected Attributes

ArrayTypeArray
 
BitArrayItType BitArrayIt
 

Private Types

typedef TChooseClass< bConst, constTSparseArray, TSparseArray >::Result ArrayType
 
typedef TChooseClass< bConst, constElementType, ElementType >::Result ItElementType
 

Detailed Description

template<typename InElementType, typename Allocator>
template<bool bConst>
class TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >

The base class of sparse array iterators.

Definition at line 871 of file SparseArray.h.

Member Typedef Documentation

◆ ArrayType

◆ BitArrayItType

template<bool bConst>
typedef TConstSetBitIterator<typename Allocator::BitArrayAllocator> TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::BitArrayItType

Definition at line 874 of file SparseArray.h.

◆ ItElementType

Constructor & Destructor Documentation

◆ TBaseIterator()

template<bool bConst>
TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::TBaseIterator ( ArrayType & InArray,
const BitArrayItType & InBitArrayIt )
inlineexplicit

Definition at line 881 of file SparseArray.h.

Member Function Documentation

◆ GetIndex()

template<bool bConst>
FORCEINLINE int32 TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::GetIndex ( ) const
inline

Definition at line 894 of file SparseArray.h.

◆ GetRelativeBitReference()

template<bool bConst>
FORCEINLINE const FRelativeBitReference & TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::GetRelativeBitReference ( ) const
inline

Definition at line 913 of file SparseArray.h.

◆ operator bool()

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

Definition at line 900 of file SparseArray.h.

◆ operator!()

template<bool bConst>
FORCEINLINE bool TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::operator! ( ) const
inline

inverse of the "bool" operator

Definition at line 906 of file SparseArray.h.

◆ operator!=()

◆ operator*()

Definition at line 911 of file SparseArray.h.

◆ operator++()

◆ operator->()

Definition at line 912 of file SparseArray.h.

◆ operator==()

Definition at line 896 of file SparseArray.h.

Member Data Documentation

◆ Array

Definition at line 916 of file SparseArray.h.

◆ BitArrayIt

Definition at line 917 of file SparseArray.h.


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