Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Util
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Util/SparseIndexCollectionTypes.h |
| Include | #include "Util/SparseIndexCollectionTypes.h" |
Syntax
class FIndexFlagSet
Remarks
This class provides optionally sparse or dense boolean flags for a set of integer indices
Constructors
| Type | Name | Description | |
|---|---|---|---|
FIndexFlagSet
(
bool bSetSparse, |
|||
FIndexFlagSet
(
int MaxIndex, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
int Index |
||
| bool | Contains
(
int Index |
||
| int | Count () |
Returns number of values in set | |
| void | InitAuto
(
int MaxIndex, |
Initialize to either sparse or dense automatically, based on max index and estimated number of set indices | |
| void | InitManual
(
bool bSetSparse, |
Initialize to sparse or dense based on the explicit caller choice | |
| void | Remove
(
int Index |
Operators
| Type | Name | Description | |
|---|---|---|---|
| const bool | operator[]
(
unsigned int Index |
Array-style accessor that returns true if Index is in set, false otherwise |