Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TConstDualSetBitIterator< Allocator, OtherAllocator, Both > Class Template Reference

#include <BitArray.h>

+ Inheritance diagram for TConstDualSetBitIterator< Allocator, OtherAllocator, Both >:
+ Collaboration diagram for TConstDualSetBitIterator< Allocator, OtherAllocator, Both >:

Public Member Functions

FORCEINLINE TConstDualSetBitIterator (const TBitArray< Allocator > &InArrayA, const TBitArray< OtherAllocator > &InArrayB, int32 StartIndex=0)
 
FORCEINLINE TConstDualSetBitIteratoroperator++ ()
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () const
 
FORCEINLINE int32 GetIndex () const
 
- Public Member Functions inherited from FRelativeBitReference
FORCEINLINE FRelativeBitReference (int32 BitIndex)
 

Private Member Functions

void FindFirstSetBit ()
 

Private Attributes

const TBitArray< Allocator > & ArrayA
 
const TBitArray< OtherAllocator > & ArrayB
 
uint32 UnvisitedBitMask
 
int32 CurrentBitIndex
 
int32 BaseBitIndex
 

Additional Inherited Members

- Public Attributes inherited from FRelativeBitReference
int32 WordIndex
 
uint32 Mask
 

Detailed Description

template<typename Allocator, typename OtherAllocator, bool Both>
class TConstDualSetBitIterator< Allocator, OtherAllocator, Both >

An iterator which only iterates over the bits which are set in both of two bit-arrays, if the Both template argument is true, or either if the argument is false.

Definition at line 1867 of file BitArray.h.

Constructor & Destructor Documentation

◆ TConstDualSetBitIterator()

Constructor.

Definition at line 1872 of file BitArray.h.

Member Function Documentation

◆ FindFirstSetBit()

void TConstDualSetBitIterator< Allocator, OtherAllocator, Both >::FindFirstSetBit ( )
inlineprivate

Find the first bit that is set in both arrays, starting with the current bit, inclusive.

Definition at line 1931 of file BitArray.h.

◆ GetIndex()

Index accessor.

Definition at line 1916 of file BitArray.h.

◆ operator bool()

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

Definition at line 1905 of file BitArray.h.

◆ operator!()

inverse of the "bool" operator

Definition at line 1910 of file BitArray.h.

◆ operator++()

Advancement operator.

Definition at line 1890 of file BitArray.h.

Member Data Documentation

◆ ArrayA

◆ ArrayB

◆ BaseBitIndex

Definition at line 1928 of file BitArray.h.

◆ CurrentBitIndex

Definition at line 1927 of file BitArray.h.

◆ UnvisitedBitMask

Definition at line 1926 of file BitArray.h.


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