TConstSetBitIterator

An iterator which only iterates over set bits.

Windows
MacOS
Linux

Inheritance Hierarchy

FRelativeBitReference

TConstSetBitIterator

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/BitArray.h

Include

#include "Containers/BitArray.h"

Syntax

template<typename Allocator>
class TConstSetBitIterator : public FRelativeBitReference

Remarks

An iterator which only iterates over set bits.

Constructors

Name Description

Public function

TConstSetBitIterator

(
    const TBitArray< Allocator >& InAr...,
    int32 StartIndex
)

Constructor.

Functions

Name Description

Public function Const

int32

 

GetIndex()

Index accessor.

Operators

Name Description

Public function Const

 

operator bool()

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

Public function Const

bool

 

operator!()

Inverse of the "bool" operator

Public function

TConstSetBit...

 

operator++()

Forwards iteration operator.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss