engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
TStaticBitArray< NumBits > 模板类 参考

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)
 

详细描述

template<uint32 NumBits>
class TStaticBitArray< NumBits >

A statically sized bit array.

成员函数说明

◆ FindFirstClearBit()

template<uint32 NumBits>
int32 TStaticBitArray< NumBits >::FindFirstClearBit ( ) const
inline

Finds the first clear bit in the array and returns the bit index.

If there isn't one, INDEX_NONE is returned.

◆ FindFirstSetBit()

template<uint32 NumBits>
int32 TStaticBitArray< NumBits >::FindFirstSetBit ( ) const
inline

Finds the first set bit in the array and returns it's index.

If there isn't one, INDEX_NONE is returned.


该类的文档由以下文件生成: