UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Anim::TWrappedAttribute< InAllocator > Struct Template Reference

#include <WrappedAttribute.h>

Public Member Functions

 TWrappedAttribute ()
 
 TWrappedAttribute (const UScriptStruct *InStruct)
 
template<typename Type >
TEnableIf< TIsFundamentalType< Type >::Value, Type * >::Type GetPtr ()
 
template<typename Type >
TEnableIf<!TIsFundamentalType< Type >::Value, Type * >::Type GetPtr ()
 
template<typename Type >
Type & GetRef ()
 
template<typename Type >
TEnableIf< TIsFundamentalType< Type >::Value, constType * >::Type GetPtr () const
 
template<typename Type >
TEnableIf<!TIsFundamentalType< Type >::Value, constType * >::Type GetPtr () const
 
template<typename Type >
const Type & GetRef () const
 
template<typename AttributeType >
void Allocate ()
 
void Allocate (const UScriptStruct *InStruct)
 

Protected Attributes

TArray< uint8, InAllocatorStructMemory
 

Detailed Description

template<typename InAllocator>
struct UE::Anim::TWrappedAttribute< InAllocator >

Helper struct to wrap and templated operate raw memory

Constructor & Destructor Documentation

◆ TWrappedAttribute() [1/2]

template<typename InAllocator >
UE::Anim::TWrappedAttribute< InAllocator >::TWrappedAttribute ( )
inline

◆ TWrappedAttribute() [2/2]

template<typename InAllocator >
UE::Anim::TWrappedAttribute< InAllocator >::TWrappedAttribute ( const UScriptStruct InStruct)
inline

Construct with allocates memory buffer according to type size

Member Function Documentation

◆ Allocate() [1/2]

template<typename InAllocator >
template<typename AttributeType >
void UE::Anim::TWrappedAttribute< InAllocator >::Allocate ( )
inline

Allocated memory buffer according to type size

◆ Allocate() [2/2]

template<typename InAllocator >
void UE::Anim::TWrappedAttribute< InAllocator >::Allocate ( const UScriptStruct InStruct)
inline

Allocated memory buffer according to type size

◆ GetPtr() [1/4]

template<typename InAllocator >
template<typename Type >
TEnableIf< TIsFundamentalType< Type >::Value, Type * >::Type UE::Anim::TWrappedAttribute< InAllocator >::GetPtr ( )
inline

Returns typed ptr to memory

◆ GetPtr() [2/4]

template<typename InAllocator >
template<typename Type >
TEnableIf<!TIsFundamentalType< Type >::Value, Type * >::Type UE::Anim::TWrappedAttribute< InAllocator >::GetPtr ( )
inline

◆ GetPtr() [3/4]

template<typename InAllocator >
template<typename Type >
TEnableIf< TIsFundamentalType< Type >::Value, constType * >::Type UE::Anim::TWrappedAttribute< InAllocator >::GetPtr ( ) const
inline

Returns typed const ptr to memory

◆ GetPtr() [4/4]

template<typename InAllocator >
template<typename Type >
TEnableIf<!TIsFundamentalType< Type >::Value, constType * >::Type UE::Anim::TWrappedAttribute< InAllocator >::GetPtr ( ) const
inline

◆ GetRef() [1/2]

template<typename InAllocator >
template<typename Type >
Type & UE::Anim::TWrappedAttribute< InAllocator >::GetRef ( )
inline

◆ GetRef() [2/2]

template<typename InAllocator >
template<typename Type >
const Type & UE::Anim::TWrappedAttribute< InAllocator >::GetRef ( ) const
inline

Returns typed const reference to memory

Member Data Documentation

◆ StructMemory


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