UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::TIrisFastArrayEditor< FastArrayType > Class Template Reference

#include <IrisFastArraySerializerInternal.h>

Public Types

typedef FastArrayType::ItemArrayType FastArrayItemArrayType
 
typedef FastArrayItemArrayType::ElementType FastArrayItemType
 
using FIrisFastArraySerializerPrivateAccessor = Private::FIrisFastArraySerializerPrivateAccessor
 

Public Member Functions

 TIrisFastArrayEditor (FastArrayType &InFastArray)
 
void MarkItemDirty (FastArrayItemType &Item)
 
void MarkArrayDirty ()
 
void AddLocal (const FastArrayItemType &ItemEntry)
 
FastArrayItemTypeEditLocal (int32 ItemIdx)
 
void Add (const FastArrayItemType &ItemEntry)
 
FastArrayItemTypeEdit (int32 ItemIdx)
 
FastArrayItemTypeoperator[] (int32 ItemIdx)
 
void Remove (int32 ItemIdx)
 
void RemoveAtSwap (int32 ItemIdx)
 
int32 Num () const
 
void Empty ()
 

Detailed Description

template<typename FastArrayType>
class UE::Net::TIrisFastArrayEditor< FastArrayType >

Experimental support for more explicit interface to edit FastArrays which can be used to avoid polling The idea is that the interface would implement a subset of the Array interface and be used instead of directly modifying the array

Member Typedef Documentation

◆ FastArrayItemArrayType

template<typename FastArrayType >
typedef FastArrayType::ItemArrayType UE::Net::TIrisFastArrayEditor< FastArrayType >::FastArrayItemArrayType

◆ FastArrayItemType

template<typename FastArrayType >
typedef FastArrayItemArrayType::ElementType UE::Net::TIrisFastArrayEditor< FastArrayType >::FastArrayItemType

◆ FIrisFastArraySerializerPrivateAccessor

template<typename FastArrayType >
using UE::Net::TIrisFastArrayEditor< FastArrayType >::FIrisFastArraySerializerPrivateAccessor = Private::FIrisFastArraySerializerPrivateAccessor

Constructor & Destructor Documentation

◆ TIrisFastArrayEditor()

template<typename FastArrayType >
UE::Net::TIrisFastArrayEditor< FastArrayType >::TIrisFastArrayEditor ( FastArrayType &  InFastArray)
inline

Member Function Documentation

◆ Add()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::Add ( const FastArrayItemType ItemEntry)

Add Item to array and call MarkItemDirty

◆ AddLocal()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::AddLocal ( const FastArrayItemType ItemEntry)
inline

Local add which will add item to array without dirtying it

◆ Edit()

template<typename FastArrayType >
TIrisFastArrayEditor< FastArrayType >::FastArrayItemType & UE::Net::TIrisFastArrayEditor< FastArrayType >::Edit ( int32  ItemIdx)

Edit Item in array and call MarkItemDirty

◆ EditLocal()

template<typename FastArrayType >
FastArrayItemType & UE::Net::TIrisFastArrayEditor< FastArrayType >::EditLocal ( int32  ItemIdx)
inline

Local edit which will modify local item without dirtying it

◆ Empty()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::Empty ( )

Empty array and call MarkArrayDirty

◆ MarkArrayDirty()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::MarkArrayDirty ( )
inline

Forwards MarkArrayDirty call to FastArray and if the FastArray is bound it will also update DirtyState tracking

◆ MarkItemDirty()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::MarkItemDirty ( FastArrayItemType Item)

Forwards MarkItemDirty call to FastArray and if the FastArray is bound it will also update DirtyState tracking

◆ Num()

template<typename FastArrayType >
int32 UE::Net::TIrisFastArrayEditor< FastArrayType >::Num ( ) const
inline

◆ operator[]()

template<typename FastArrayType >
FastArrayItemType & UE::Net::TIrisFastArrayEditor< FastArrayType >::operator[] ( int32  ItemIdx)
inline

Mutable access to Item, will call MarkItemDirty

◆ Remove()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::Remove ( int32  ItemIdx)

Remove item at the specified index, will forward call to MarkArrayDirty, if bound will mark all potentially moved items as dirty

◆ RemoveAtSwap()

template<typename FastArrayType >
void UE::Net::TIrisFastArrayEditor< FastArrayType >::RemoveAtSwap ( int32  ItemIdx)

Remove item at the specified index, will only mark the affected item dirty


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