Navigation
API > API/Runtime > API/Runtime/Core
Pointer-like iterator type for ranged-for loops which checks that the container hasn't been resized during iteration.
| Name | TCheckedPointerIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
Syntax
template<typename ElementType, typename SizeType, bool bReverse>
struct TCheckedPointerIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| This iterator type only supports the minimal functionality needed to support C++ ranged-for syntax. | Containers/Array.h | ||
TCheckedPointerIterator
(
const SizeType& InNum, |
Containers/Array.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentNum | const SizeType * | Containers/Array.h | ||
| InitialNum | SizeType | Containers/Array.h | ||
| Ptr | ElementType * | Containers/Array.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool UEOpEquals
(
const TCheckedPointerIterator& Rhs |
Containers/Array.h | ||
bool UEOpLessThan
(
const TCheckedPointerIterator& Rhs |
Containers/Array.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCheckedPointerIterator operator-
(
ptrdiff_t N |
Containers/Array.h | ||
ptrdiff_t operator-
(
const TCheckedPointerIterator& Rhs |
Containers/Array.h | ||
TCheckedPointerIterator & operator--() |
Containers/Array.h | ||
TCheckedPointerIterator operator--
(
int |
Containers/Array.h | ||
ElementType & operator*() |
Containers/Array.h | ||
ElementType & operator[]
(
ptrdiff_t N |
Containers/Array.h | ||
TCheckedPointerIterator operator+
(
ptrdiff_t N |
Containers/Array.h | ||
TCheckedPointerIterator & operator++() |
Containers/Array.h | ||
TCheckedPointerIterator operator++
(
int |
Containers/Array.h | ||
TCheckedPointerIterator & operator+=
(
ptrdiff_t N |
Containers/Array.h | ||
TCheckedPointerIterator operator-=
(
ptrdiff_t N |
Containers/Array.h | ||
ElementType * operator->() |
Containers/Array.h |