UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TSlotProxyIterator< UE_REQUIRES > Class Template Reference

#include <LayoutUtils.h>

Public Member Functions

 TSlotProxyIterator (const TArrayView< SlotProxyType > &InContainer, EFlowDirection InLayoutFlow)
 
 TSlotProxyIterator (const TArrayView< SlotProxyType > &InContainer, EOrientation InOrientation, EFlowDirection InLayoutFlow)
 
TSlotProxyIteratoroperator++ ()
 
TSlotProxyIteratoroperator-- ()
 
const SlotProxyTypeoperator* () const
 
SlotProxyTypeoperator* ()
 
const SlotProxyTypeoperator-> () const
 
SlotProxyTypeoperator-> ()
 
 operator bool () const
 
int32 GetIndex () const
 
void Reset ()
 
void SetToEnd ()
 

Detailed Description

template<typename SlotProxyType UE_REQUIRES>
class TSlotProxyIterator< UE_REQUIRES >

A custom iterator for FSlotProxy implementations, with behavior similar to TPanelChildrenConstIterator.

Constructor & Destructor Documentation

◆ TSlotProxyIterator() [1/2]

template<typename SlotProxyType UE_REQUIRES>
TSlotProxyIterator< UE_REQUIRES >::TSlotProxyIterator ( const TArrayView< SlotProxyType > &  InContainer,
EFlowDirection  InLayoutFlow 
)
inline

◆ TSlotProxyIterator() [2/2]

template<typename SlotProxyType UE_REQUIRES>
TSlotProxyIterator< UE_REQUIRES >::TSlotProxyIterator ( const TArrayView< SlotProxyType > &  InContainer,
EOrientation  InOrientation,
EFlowDirection  InLayoutFlow 
)
inline

Member Function Documentation

◆ GetIndex()

template<typename SlotProxyType UE_REQUIRES>
int32 TSlotProxyIterator< UE_REQUIRES >::GetIndex ( ) const
inline

Returns an index to the current element.

◆ operator bool()

template<typename SlotProxyType UE_REQUIRES>
TSlotProxyIterator< UE_REQUIRES >::operator bool ( ) const
inlineexplicit

conversion to "bool" returning true if the iterator has not reached the last element.

◆ operator*() [1/2]

template<typename SlotProxyType UE_REQUIRES>
SlotProxyType & TSlotProxyIterator< UE_REQUIRES >::operator* ( )
inline

◆ operator*() [2/2]

template<typename SlotProxyType UE_REQUIRES>
const SlotProxyType & TSlotProxyIterator< UE_REQUIRES >::operator* ( ) const
inline

◆ operator++()

template<typename SlotProxyType UE_REQUIRES>
TSlotProxyIterator & TSlotProxyIterator< UE_REQUIRES >::operator++ ( )
inline

Advances iterator to the next element in the container.

◆ operator--()

template<typename SlotProxyType UE_REQUIRES>
TSlotProxyIterator & TSlotProxyIterator< UE_REQUIRES >::operator-- ( )
inline

Moves iterator to the previous element in the container.

◆ operator->() [1/2]

template<typename SlotProxyType UE_REQUIRES>
SlotProxyType * TSlotProxyIterator< UE_REQUIRES >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename SlotProxyType UE_REQUIRES>
const SlotProxyType * TSlotProxyIterator< UE_REQUIRES >::operator-> ( ) const
inline

◆ Reset()

template<typename SlotProxyType UE_REQUIRES>
void TSlotProxyIterator< UE_REQUIRES >::Reset ( )
inline

Resets the iterator to the first element.

◆ SetToEnd()

template<typename SlotProxyType UE_REQUIRES>
void TSlotProxyIterator< UE_REQUIRES >::SetToEnd ( )
inline

Sets iterator to the last element.


The documentation for this class was generated from the following file: