Navigation
API > API/Runtime > API/Runtime/InterchangeCore
Helper class to manage an array of items inside an attribute storage
| Name | TArrayAttributeHelper |
| Type | class |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeBaseNodeUtilities.h |
| Include Path | #include "Nodes/InterchangeBaseNodeUtilities.h" |
Syntax
template<typename ItemType>
class TArrayAttributeHelper
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TArrayAttributeHelper() |
Nodes/InterchangeBaseNodeUtilities.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Attributes | TWeakPtr< FAttributeStorage, ESPMode::ThreadSafe > | Nodes/InterchangeBaseNodeUtilities.h | ||
| KeyCount | FAttributeKey | Nodes/InterchangeBaseNodeUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddItem
(
const ItemType& Item |
Nodes/InterchangeBaseNodeUtilities.h | ||
int32 GetCount() |
Nodes/InterchangeBaseNodeUtilities.h | ||
void GetItem
(
const int32 Index, |
Nodes/InterchangeBaseNodeUtilities.h | ||
void GetItems
(
TArray< ItemType >& OutItems |
Nodes/InterchangeBaseNodeUtilities.h | ||
void Initialize
(
const TSharedPtr< FAttributeStorage, ESPMode::ThreadSafe >& InAttributes, |
Nodes/InterchangeBaseNodeUtilities.h | ||
bool RemoveAllItems() |
Nodes/InterchangeBaseNodeUtilities.h | ||
bool RemoveItem
(
const ItemType& ItemToDelete |
Nodes/InterchangeBaseNodeUtilities.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & IndexKey() |
Nodes/InterchangeBaseNodeUtilities.h |