Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TBitArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 FindFrom
(
bool bValue, |
Finds the first occurrence of the specified value (true/false) in the array, starting from the given bit index, and returns the bit index. | Containers/BitArray.h | |
int32 FindFrom
(
bool bValue, |
Finds the first occurrence of the specified value (true/false) in the array, starting from the given bit index, and returns the bit index. | Containers/BitArray.h |
FindFrom(bool, IndexType)
Description
Finds the first occurrence of the specified value (true/false) in the array, starting from the given bit index, and returns the bit index. If the specified value is not found from the given index, INDEX_NONE is returned.
StartIndex is expected to be in the inclusive range [0, Num()].
| Name | FindFrom |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include Path | #include "Containers/BitArray.h" |
template<typename IndexType>
int32 FindFrom
(
bool bValue,
IndexType StartIndex
) const
The index of the first occurrence of the specified value (true/false) from StartIndex, or INDEX_NONE if not found.
Parameters
| Name | Remarks |
|---|---|
| bValue | The value (true/false) to search for. |
| StartIndex | The index to start the search from. |
FindFrom(bool, IndexType, IndexType)
Description
Finds the first occurrence of the specified value (true/false) in the array, starting from the given bit index, and returns the bit index. If the specified value is not found from the given index, INDEX_NONE is returned.
StartIndex is expected to be in the inclusive range [0, Num()].
EndIndexExclusive is expected to be in the inclusive range [0, Num()].
| Name | FindFrom |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include Path | #include "Containers/BitArray.h" |
template<typename IndexType>
int32 FindFrom
(
bool bValue,
IndexType StartIndex,
IndexType EndIndexExclusive
) const
The index of the first occurrence of the specified value (true/false) from StartIndex to EndIndexExclusive, or INDEX_NONE if not found.
Parameters
| Name | Remarks |
|---|---|
| bValue | The value (true/false) to search for. |
| StartIndex | The index to start the search from. |
| EndIndexExclusive | The index to end the search at. |