A statically sized bit array. 更多...
#include <StaticBitArray.h>
Public 成员函数 | |
| int32 | FindFirstClearBit () const |
| Finds the first clear bit in the array and returns the bit index. 更多... | |
| int32 | FindFirstSetBit () const |
| Finds the first set bit in the array and returns it's index. 更多... | |
| FString | ToString () const |
| Converts the bitarray to a string representing the binary representation of the array | |
| FORCEINLINE | TStaticBitArray () |
| Minimal initialization constructor | |
| FORCEINLINE | TStaticBitArray (bool, uint32 InBitIndex) |
| Constructor to initialize to a single bit | |
| TStaticBitArray (const FString &Str) | |
| Constructor to initialize from string | |
| FORCEINLINE | TStaticBitArray (UnspecifiedZeroType) |
| Constructor that allows initializing by assignment from 0 | |
友元 | |
| FORCEINLINE bool | operator!= (const TStaticBitArray< NumBits > &A, const TStaticBitArray< NumBits > &B) |
| != simple maps to == | |
| FORCEINLINE bool | operator!= (const TStaticBitArray< NumBits > &A, UnspecifiedBoolType Value) |
| != simple maps to == | |
| FArchive & | operator<< (FArchive &Ar, TStaticBitArray &BitArray) |
| Serializer. | |
| FORCEINLINE bool | operator== (const TStaticBitArray< NumBits > &A, UnspecifiedBoolType Value) |
| This operator only exists to disambiguate == in statements of the form (flags == 0) | |
A statically sized bit array.
|
inline |
Finds the first clear bit in the array and returns the bit index.
If there isn't one, INDEX_NONE is returned.
|
inline |
Finds the first set bit in the array and returns it's index.
If there isn't one, INDEX_NONE is returned.