Navigation
API > API/Runtime > API/Runtime/Core
Flag enumeration for control bitwise operator functionality
| Name | EBitwiseOperatorFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include Path | #include "Containers/BitArray.h" |
Syntax
enum EBitwiseOperatorFlags
{
MaxSize = 1 << 0,
MinSize = 1 << 1,
MaintainSize = 1 << 2,
OneFillMissingBits = 1 << 4,
}
Values
| Name | Remarks |
|---|---|
| MaxSize | Specifies that the result should be sized Max(A.Num(), B.Num()) |
| MinSize | Specifies that the result should be sized Min(A.Num(), B.Num()) |
| MaintainSize | Only valid for self-mutating bitwise operators - indicates that the size of the LHS operand should not be changed |
| OneFillMissingBits | When MaxSize or MaintainSize is specified and the operands are sized differently, any missing bits in the resulting bit array will be considered as 1, rather than 0 |