Navigation
API > API/Plugins > API/Plugins/StructUtils
References
| Module | StructUtils |
| Header | /Engine/Plugins/Experimental/StructUtils/Source/StructUtils/Public/StructTypeBitSet.h |
| Include | #include "StructTypeBitSet.h" |
Syntax
template<typename TBaseStruct, typename TStructTrackerWrapper, typename TUStructType>
struct TStructTypeBitSet
Constructors
| Type | Name | Description | |
|---|---|---|---|
TStructTypeBitSet
(
const TUStructType& StructType |
|||
TStructTypeBitSet
(
std::initializer_list< const TUStructType* > InitList |
|||
TStructTypeBitSet
(
TConstArrayView< const TUStructType* > InitList |
|||
TStructTypeBitSet
(
TConstArrayView< FInstancedStruct > InitList |
This flavor of constructor is only available for UScriptStructs |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add () |
||
| void | Add
(
const TUStructType& InStructType |
||
| bool | Contains () |
||
| bool | Contains
(
const TUStructType& InStructType |
||
| int32 | |||
| TConstArrayView< TWeakObjectPtr< const TUStructType > > | |||
| void | DebugGetIndividualNames
(
TArray< FName >& OutFNames |
||
| TBitArray & | |||
| void | DebugGetStringDesc
(
FOutputDevice& Ar |
||
| FString | |||
| FName | DebugGetStructTypeName
(
const int32 StructTypeIndex |
||
| const TBitArray & | Unittesting purposes only | ||
| void | Resets all the information gathered on the tags. | ||
| void | ExportTypes
(
TArray< const TOutStructType*, Allocator >& OutTypes |
Note that this function is slow(ish) due to the FStructTracker utilizing WeakObjectPtrs to store types. | |
| SIZE_T | |||
| FIndexIterator | GetIndexIterator
(
const bool bValueToCheck |
||
| int32 | GetMaxNum () |
||
| TStructTypeBitSet | GetOverlap
(
const TStructTypeBitSet& Other |
||
| const TUStructType * | GetTypeAtIndex
(
const int32 Index |
||
| const TStructTypeBitSet & | |||
| int32 | GetTypeIndex
(
const TUStructType& InStructType |
||
| int32 | GetTypeIndex () |
||
| bool | HasAll
(
const TStructTypeBitSet& Other |
||
| bool | HasAny
(
const TStructTypeBitSet& Other |
||
| bool | HasNone
(
const TStructTypeBitSet& Other |
||
| bool | IsBitSet
(
const int32 BitIndex |
||
| bool | IsEmpty () |
||
| bool | IsEquivalent
(
const TStructTypeBitSet& Other |
||
| void | Remove () |
||
| void | Remove
(
const TStructTypeBitSet& Other |
||
| void | Remove
(
const TUStructType& InStructType |
||
| void | Reset () |
||
| void | |||
| void | SetAll
(
const bool bValue |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TStructTypeBitSet | operator-
(
const TStructTypeBitSet& Other |
||
| TStructTypeBitSet | operator-
(
const TUStructType& NewElement |
||
| bool | operator!=
(
const TStructTypeBitSet& Other |
||
| TStructTypeBitSet | operator&
(
const TStructTypeBitSet& Other |
||
| TStructTypeBitSet | operator|
(
const TStructTypeBitSet& Other |
||
| TStructTypeBitSet | operator+
(
const TUStructType& NewElement |
||
| TStructTypeBitSet | operator+
(
const TStructTypeBitSet& Other |
||
| void | operator+=
(
const TStructTypeBitSet& Other |
||
| void | operator-=
(
const TStructTypeBitSet& Other |
||
| bool | operator==
(
const TStructTypeBitSet& Other |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FIndexIterator | Retrieves indices of bits of given value. |
Typedefs
| Name | Description |
|---|---|
| FStructTrackerWrapper |