UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Interchange::TArrayAttributeHelper< ItemType > Class Template Reference

#include <InterchangeBaseNodeUtilities.h>

Public Member Functions

 ~TArrayAttributeHelper ()
 
void Initialize (const TSharedPtr< FAttributeStorage, ESPMode::ThreadSafe > &InAttributes, const FString &BaseKeyName)
 
int32 GetCount () const
 
void GetItem (const int32 Index, ItemType &OutItem) const
 
void GetItems (TArray< ItemType > &OutItems) const
 
bool AddItem (const ItemType &Item)
 
bool RemoveItem (const ItemType &ItemToDelete)
 
bool RemoveAllItems ()
 

Static Public Member Functions

static const FString & IndexKey ()
 

Detailed Description

template<typename ItemType>
class UE::Interchange::TArrayAttributeHelper< ItemType >

Helper class to manage an array of items inside an attribute storage

Constructor & Destructor Documentation

◆ ~TArrayAttributeHelper()

template<typename ItemType >
UE::Interchange::TArrayAttributeHelper< ItemType >::~TArrayAttributeHelper ( )
inline

Member Function Documentation

◆ AddItem()

template<typename ItemType >
bool UE::Interchange::TArrayAttributeHelper< ItemType >::AddItem ( const ItemType &  Item)
inline

◆ GetCount()

template<typename ItemType >
int32 UE::Interchange::TArrayAttributeHelper< ItemType >::GetCount ( ) const
inline

◆ GetItem()

template<typename ItemType >
void UE::Interchange::TArrayAttributeHelper< ItemType >::GetItem ( const int32  Index,
ItemType &  OutItem 
) const
inline

◆ GetItems()

template<typename ItemType >
void UE::Interchange::TArrayAttributeHelper< ItemType >::GetItems ( TArray< ItemType > &  OutItems) const
inline

◆ IndexKey()

template<typename ItemType >
static const FString & UE::Interchange::TArrayAttributeHelper< ItemType >::IndexKey ( )
inlinestatic

◆ Initialize()

template<typename ItemType >
void UE::Interchange::TArrayAttributeHelper< ItemType >::Initialize ( const TSharedPtr< FAttributeStorage, ESPMode::ThreadSafe > &  InAttributes,
const FString &  BaseKeyName 
)
inline

◆ RemoveAllItems()

template<typename ItemType >
bool UE::Interchange::TArrayAttributeHelper< ItemType >::RemoveAllItems ( )
inline

◆ RemoveItem()

template<typename ItemType >
bool UE::Interchange::TArrayAttributeHelper< ItemType >::RemoveItem ( const ItemType &  ItemToDelete)
inline

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