UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Dataflow::FContextCacheElementUStructArray Struct Reference

#include <DataflowContextCache.h>

+ Inheritance diagram for UE::Dataflow::FContextCacheElementUStructArray:

Public Member Functions

 FContextCacheElementUStructArray (FGuid InNodeGuid, const FProperty *InProperty, const FConstStructArrayView &InStructArrayView, uint32 InNodeHash, FTimestamp Timestamp)
 
 FContextCacheElementUStructArray (FGuid InNodeGuid, const FProperty *InProperty, const FConstStructView &InStructView, uint32 InNodeHash, FTimestamp Timestamp)
 
template<typename T >
 FContextCacheElementUStructArray (FGuid InNodeGuid, const FProperty *InProperty, TArray< T > &&InStructArray, uint32 InNodeHash, FTimestamp Timestamp)
 
 FContextCacheElementUStructArray (const FContextCacheElementUStructArray &Other)
 
virtual ~FContextCacheElementUStructArray () override=default
 
template<typename T >
const TArray< T > & GetData (const IContextCacheStore &, const FProperty *, const TArray< T > &) const
 
virtual const voidGetUntypedData (const IContextCacheStore &, const FProperty *) const override
 
virtual bool IsArray (const IContextCacheStore &Context) const override
 
virtual int32 GetNumArrayElements (const IContextCacheStore &Context) const override
 
virtual TUniquePtr< FContextCacheElementBaseCreateFromArrayElement (const IContextCacheStore &Context, int32 Index, const FProperty *InProperty, const FGuid &InNodeGuid, uint32 InNodeHash, const FTimestamp &InTimestamp) const override
 
virtual TUniquePtr< FContextCacheElementBaseCreateArrayFromElement (const IContextCacheStore &Context, const FProperty *InProperty, const FGuid &InNodeGuid, uint32 InNodeHash, const FTimestamp &InTimestamp) const override
 
virtual TUniquePtr< FContextCacheElementBaseClone (const IContextCacheStore &Context) const override
 
DATAFLOWCORE_API void AddReferencedObjects (FReferenceCollector &Collector) override
 
DATAFLOWCORE_API FString GetReferencerName () const override
 
- Public Member Functions inherited from UE::Dataflow::FContextCacheElementBase
 FContextCacheElementBase (EType CacheElementType, FGuid InNodeGuid=FGuid(), const FProperty *InProperty=nullptr, uint32 InNodeHash=0, FTimestamp InTimestamp=FTimestamp::Invalid)
 
virtual ~FContextCacheElementBase ()
 
TUniquePtr< FContextCacheElementBaseCreateReference (FContextCacheKey InReferenceDataKey) const
 
template<typename T >
const T & GetTypedData (const IContextCacheStore &Context, const FProperty *PropertyIn, const T &Default) const
 
EType GetType () const
 
const FPropertyGetProperty () const
 
const FTimestampGetTimestamp () const
 
void SetTimestamp (const FTimestamp &InTimestamp)
 
const FGuidGetNodeGuid () const
 
const uint32 GetNodeHash () const
 
void SetProperty (const FProperty *NewProperty)
 
void UpdatePropertyAndNodeData (const FProperty *InProperty, const FGuid &InNodeGuid, uint32 InNodeHash, const FTimestamp &InTimestamp)
 
- Public Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 

Additional Inherited Members

- Public Types inherited from UE::Dataflow::FContextCacheElementBase
enum  EType {
  CacheElementTyped , CacheElementReference , CacheElementNull , CacheElementUObject ,
  CacheElementUObjectArray , CacheElementUStruct , CacheElementUStructArray
}
 
- Public Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 
- Static Public Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 
- Static Public Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 

Constructor & Destructor Documentation

◆ FContextCacheElementUStructArray() [1/4]

UE::Dataflow::FContextCacheElementUStructArray::FContextCacheElementUStructArray ( FGuid  InNodeGuid,
const FProperty InProperty,
const FConstStructArrayView InStructArrayView,
uint32  InNodeHash,
FTimestamp  Timestamp 
)
inlineexplicit

◆ FContextCacheElementUStructArray() [2/4]

UE::Dataflow::FContextCacheElementUStructArray::FContextCacheElementUStructArray ( FGuid  InNodeGuid,
const FProperty InProperty,
const FConstStructView InStructView,
uint32  InNodeHash,
FTimestamp  Timestamp 
)
inlineexplicit

◆ FContextCacheElementUStructArray() [3/4]

template<typename T >
UE::Dataflow::FContextCacheElementUStructArray::FContextCacheElementUStructArray ( FGuid  InNodeGuid,
const FProperty InProperty,
TArray< T > &&  InStructArray,
uint32  InNodeHash,
FTimestamp  Timestamp 
)
inlineexplicit

◆ FContextCacheElementUStructArray() [4/4]

UE::Dataflow::FContextCacheElementUStructArray::FContextCacheElementUStructArray ( const FContextCacheElementUStructArray Other)
inlineexplicit

◆ ~FContextCacheElementUStructArray()

virtual UE::Dataflow::FContextCacheElementUStructArray::~FContextCacheElementUStructArray ( )
overridevirtualdefault

Member Function Documentation

◆ AddReferencedObjects()

void UE::Dataflow::FContextCacheElementUStructArray::AddReferencedObjects ( FReferenceCollector Collector)
overridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ Clone()

TUniquePtr< FContextCacheElementBase > UE::Dataflow::FContextCacheElementUStructArray::Clone ( const IContextCacheStore Context) const
overridevirtual

◆ CreateArrayFromElement()

TUniquePtr< FContextCacheElementBase > UE::Dataflow::FContextCacheElementUStructArray::CreateArrayFromElement ( const IContextCacheStore Context,
const FProperty InProperty,
const FGuid InNodeGuid,
uint32  InNodeHash,
const FTimestamp InTimestamp 
) const
overridevirtual

◆ CreateFromArrayElement()

TUniquePtr< FContextCacheElementBase > UE::Dataflow::FContextCacheElementUStructArray::CreateFromArrayElement ( const IContextCacheStore Context,
int32  Index,
const FProperty InProperty,
const FGuid InNodeGuid,
uint32  InNodeHash,
const FTimestamp InTimestamp 
) const
overridevirtual

◆ GetData()

template<typename T >
const TArray< T > & UE::Dataflow::FContextCacheElementUStructArray::GetData ( const IContextCacheStore ,
const FProperty ,
const TArray< T > &   
) const
inline

◆ GetNumArrayElements()

int32 UE::Dataflow::FContextCacheElementUStructArray::GetNumArrayElements ( const IContextCacheStore Context) const
overridevirtual

◆ GetReferencerName()

FString UE::Dataflow::FContextCacheElementUStructArray::GetReferencerName ( ) const
overridevirtual

Overload this method to report a name for your referencer

Implements FGCObject.

◆ GetUntypedData()

const void * UE::Dataflow::FContextCacheElementUStructArray::GetUntypedData ( const IContextCacheStore ,
const FProperty  
) const
overridevirtual

◆ IsArray()

bool UE::Dataflow::FContextCacheElementUStructArray::IsArray ( const IContextCacheStore Context) const
overridevirtual

The documentation for this struct was generated from the following files: