Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
Syntax
template<typename ContainerType>
struct TScriptContainerIterator
Remarks
Templated iterator to go through script helper containers that may contain invalid entries that are not part of the valid number of elements (i.e. GetMaxIndex() != Num() ). The iterator
- will advance to the first valid entry on creation and when incremented
- can be dereferenced to an internal index to be used with methods like Get
- Ptr or Get
- PtrWithoutCheck
- Ptr or Get
- can also be used directly with methods like Get
- PtrChecked
- can return the associated logical index (number of valid visited entries) by calling GetLogicalIndex()
Constructors
| Type | Name | Description | |
|---|---|---|---|
TScriptContainerIterator
(
const ContainerType& InContainer |
|||
TScriptContainerIterator
(
const ContainerType& InContainer, |
Functions
Operators
| Type | Name | Description | |
|---|---|---|---|
| int32 | operator* () |
||
| TScriptContainerIterator & | operator++ () |
||
| TScriptContainerIterator | operator++
(
int |