Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Helpers > API/Plugins/PCG/Helpers/Parsing
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/Parsing/PCGIndexing.h |
| Include | #include "Helpers/Parsing/PCGIndexing.h" |
Syntax
class FPCGIndexCollection
Remarks
An abstract collection of FPCGIndexRange data that represents a concrete set of indices.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPCGIndexCollection
(
const int32 InArraySize |
The constructor must accept the size of the array to support negative terminating indices. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddRange
(
const FPCGIndexRange& NewRange |
Add a new index range to the collection directly via an index range. | |
| bool | Add a new index range to the collection directly via start and end indices. | ||
| bool | ContainsIndex
(
int32 Index |
Returns true if this collection contains the given index. | |
| int32 | GetArraySize () |
Returns the abstract size of the array tied to the collection. | |
| int32 | Gets the total number of concrete indices within the collection. | ||
| int32 | Gets the number of range structures currently in the collection. | ||
| bool | RangeIsValid
(
const FPCGIndexRange& Range |
Validates that a range is acceptable for this collection. Returns true if valid, false otherwise |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FPCGIndexCollection& Other |