Navigation
API > API/Runtime > API/Runtime/SlateCore
A custom iterator for FSlotProxy implementations, with behavior similar to TPanelChildrenConstIterator.
| Name | TSlotProxyIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
Syntax
template<typename SlotProxyType, std::enable_if_t<, std::decay_t< SlotProxyType > >), int >>
class TSlotProxyIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSlotProxyIterator
(
const TArrayView< SlotProxyType >& InContainer, |
Layout/LayoutUtils.h | ||
TSlotProxyIterator
(
const TArrayView< SlotProxyType >& InContainer, |
Layout/LayoutUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Container | const TArrayView< SlotProxyType > & | Layout/LayoutUtils.h | ||
| Index | int32 | Layout/LayoutUtils.h | ||
| LayoutFlow | EFlowDirection | Layout/LayoutUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetIndex() |
Returns an index to the current element. | Layout/LayoutUtils.h | |
void Reset() |
Resets the iterator to the first element. | Layout/LayoutUtils.h | |
void SetToEnd() |
Sets iterator to the last element. | Layout/LayoutUtils.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSlotProxyIterator & operator--() |
Moves iterator to the previous element in the container. | Layout/LayoutUtils.h | |
operator bool() |
Conversion to "bool" returning true if the iterator has not reached the last element. | Layout/LayoutUtils.h | |
const SlotProxyType & operator* () |
Layout/LayoutUtils.h | ||
SlotProxyType & operator* () |
Layout/LayoutUtils.h | ||
TSlotProxyIterator & operator++() |
Advances iterator to the next element in the container. | Layout/LayoutUtils.h | |
const SlotProxyType * operator-> () |
Layout/LayoutUtils.h | ||
SlotProxyType * operator-> () |
Layout/LayoutUtils.h |