|
| | FNetBitArray () |
| |
| | FNetBitArray (uint32 BitCount) |
| |
| | FNetBitArray (uint32 BitCountIn, const ENoResetNoValidateType) |
| |
| bool | operator== (const FNetBitArray &Other) const |
| |
| void | Init (uint32 BitCount) |
| |
| void | InitAndCopy (const FNetBitArray &Source) |
| |
| void | InitAndCopy (const FNetBitArrayView &Source) |
| |
| void | Empty () |
| |
| void | SetNumBits (uint32 BitCount) |
| |
| void | AddBits (uint32 BitCount) |
| |
| uint32 | GetNumBits () const |
| |
| uint32 | GetNumWords () const |
| |
| const StorageWordType * | GetDataChecked (uint32 MaxWordIterationCount) const UE_LIFETIMEBOUND |
| |
| StorageWordType * | GetDataChecked (uint32 MaxWordIterationCount) UE_LIFETIMEBOUND |
| |
| const StorageWordType * | GetData () const UE_LIFETIMEBOUND |
| |
| StorageWordType * | GetData () UE_LIFETIMEBOUND |
| |
| StorageWordType | GetWord (uint32 WordIndex) const UE_LIFETIMEBOUND |
| |
| StorageWordType & | GetWord (uint32 WordIndex) UE_LIFETIMEBOUND |
| |
| void | Reset () |
| |
| void | ClearAllBits () |
| |
| void | SetAllBits () |
| |
| bool | IsBitSet (uint32 Index) const |
| |
| bool | IsAnyBitSet () const |
| |
| bool | IsAnyBitSet (uint32 StartIndex, uint32 Count) const |
| |
| bool | IsNoBitSet () const |
| |
| void | SetBit (uint32 Index) |
| |
| void | SetBitValue (uint32 Index, bool bValue) |
| |
| void | SetBits (uint32 StartIndex, uint32 Count) |
| |
| void | ClearBits (uint32 StartIndex, uint32 Count) |
| |
| void | ClearBit (uint32 Index) |
| |
| void | OrBitValue (uint32 Index, bool bValue) |
| |
| void | AndBitValue (uint32 Index, bool bValue) |
| |
| bool | GetBit (uint32 Index) const |
| |
| uint32 | FindFirstZero () const |
| |
| uint32 | FindFirstOne () const |
| |
| uint32 | FindFirstZero (uint32 StartIndex) const |
| |
| uint32 | FindFirstOne (uint32 StartIndex) const |
| |
| uint32 | FindLastZero () const |
| |
| uint32 | FindLastOne () const |
| |
| NETCORE_API FString | ToString () const |
| |
| uint32 | GetSetBitIndices (uint32 StartIndex, uint32 Count, uint32 *OutIndices, uint32 OutIndicesCapacity) const |
| |
| uint32 | CountSetBits (uint32 StartIndex=0, uint32 Count=~0U) const |
| |
| void | Copy (const FNetBitArray &Other) |
| |
| void | Copy (const FNetBitArrayView &Other) |
| |
| template<typename WordOpFunctor > |
| void | Set (const FNetBitArray &First, WordOpFunctor &&WordOp, const FNetBitArray &Second) |
| |
| template<typename WordOpFunctor > |
| void | Combine (const FNetBitArray &Other, WordOpFunctor &&WordOp) |
| |
| template<typename WordOpFunctor1 , typename WordOpFunctor2 > |
| void | CombineMultiple (WordOpFunctor1 &&Op, const FNetBitArray &ArrayA, WordOpFunctor2 &&Op2, const FNetBitArray &ArrayB) |
| |
| template<typename T > |
| void | ForAllSetBits (T &&Functor) const |
| |
| template<typename T > |
| void | ForAllSetBitsInRange (const uint32 StartBit, const uint32 EndBit, T &&Functor) const |
| |
| template<typename T > |
| void | ForAllUnsetBits (T &&Functor) const |
| |
| Private::FNetBitArrayRangedForConstIterator | begin () const |
| |
| Private::FNetBitArrayRangedForConstIterator | end () const |
| |
|
| template<typename T , typename V > |
| static void | ForAllSetBits (const FNetBitArray &A, const FNetBitArray &B, T &&WordOpFunctor, V &&Functor) |
| |
| template<typename WordOpFunctor1 , typename WordOpFunctor2 , typename UserFunctor > |
| static void | ForAllSetBitsMultiple (const FNetBitArray &A, WordOpFunctor1 &&Op1, const FNetBitArray &B, WordOpFunctor2 &&Op2, const FNetBitArray &C, UserFunctor &&Functor) |
| |
| template<typename T , typename V > |
| static void | ForAllExclusiveBits (const FNetBitArray &A, const FNetBitArray &B, T &&FunctorA, V &&FunctorB) |
| |
| template<typename T , typename V , typename Predicate > |
| static void | ForAllExclusiveBitsByPredicate (const FNetBitArray &A, const FNetBitArray &B, T &&FunctorA, V &&FunctorB, Predicate &&Pred) |
| |
| static constexpr StorageWordType | AndOp (StorageWordType A, StorageWordType B) |
| |
| static constexpr StorageWordType | AndNotOp (StorageWordType A, StorageWordType B) |
| |
| static constexpr StorageWordType | OrOp (StorageWordType A, StorageWordType B) |
| |
| static constexpr StorageWordType | XorOp (StorageWordType A, StorageWordType B) |
| |
| static uint32 | RoundUpToMaxWordBitCount (uint32 Value) |
| |
Simple bit array with internal storage. Has very little error checking as it is used in performance critical code.