Ark Server API (ASE) - 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 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
 

Friends

FORCEINLINE friend bool operator== (const TBaseIterator &Lhs, const TBaseIterator &Rhs)
 
FORCEINLINE friend bool operator!= (const TBaseIterator &Lhs, const TBaseIterator &Rhs)
 

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 612 of file SparseArray.h.

Member Typedef Documentation

◆ ArrayType

template<typename InElementType , typename Allocator >
template<bool bConst>
typedef TChooseClass<bConst,constTSparseArray,TSparseArray>::Result TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::ArrayType
private

Definition at line 618 of file SparseArray.h.

◆ BitArrayItType

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

Definition at line 615 of file SparseArray.h.

◆ ItElementType

template<typename InElementType , typename Allocator >
template<bool bConst>
typedef TChooseClass<bConst,constElementType,ElementType>::Result TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::ItElementType
private

Definition at line 619 of file SparseArray.h.

Constructor & Destructor Documentation

◆ TBaseIterator()

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

Definition at line 622 of file SparseArray.h.

Member Function Documentation

◆ GetIndex()

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

Definition at line 635 of file SparseArray.h.

◆ GetRelativeBitReference()

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

Definition at line 654 of file SparseArray.h.

◆ operator bool()

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

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

Definition at line 641 of file SparseArray.h.

◆ operator!()

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

inverse of the "bool" operator

Definition at line 647 of file SparseArray.h.

◆ operator*()

template<typename InElementType , typename Allocator >
template<bool bConst>
FORCEINLINE ItElementType & TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::operator* ( ) const
inline

Definition at line 652 of file SparseArray.h.

◆ operator++()

template<typename InElementType , typename Allocator >
template<bool bConst>
FORCEINLINE TBaseIterator & TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::operator++ ( )
inline

Definition at line 628 of file SparseArray.h.

◆ operator->()

template<typename InElementType , typename Allocator >
template<bool bConst>
FORCEINLINE ItElementType * TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::operator-> ( ) const
inline

Definition at line 653 of file SparseArray.h.

Friends And Related Symbol Documentation

◆ operator!=

template<typename InElementType , typename Allocator >
template<bool bConst>
FORCEINLINE friend bool operator!= ( const TBaseIterator< bConst > & Lhs,
const TBaseIterator< bConst > & Rhs )
friend

Definition at line 638 of file SparseArray.h.

◆ operator==

template<typename InElementType , typename Allocator >
template<bool bConst>
FORCEINLINE friend bool operator== ( const TBaseIterator< bConst > & Lhs,
const TBaseIterator< bConst > & Rhs )
friend

Definition at line 637 of file SparseArray.h.

Member Data Documentation

◆ Array

template<typename InElementType , typename Allocator >
template<bool bConst>
ArrayType& TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::Array
protected

Definition at line 657 of file SparseArray.h.

◆ BitArrayIt

template<typename InElementType , typename Allocator >
template<bool bConst>
BitArrayItType TSparseArray< InElementType, Allocator >::TBaseIterator< bConst >::BitArrayIt
protected

Definition at line 658 of file SparseArray.h.


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