Navigation
API > API/Runtime > API/Runtime/Engine
Helper struct to wrap and templated operate raw memory
| Name | TWrappedAttribute |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/WrappedAttribute.h |
| Include Path | #include "Animation/WrappedAttribute.h" |
Syntax
template<typename InAllocator>
struct TWrappedAttribute
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/WrappedAttribute.h | |||
TWrappedAttribute
(
const UScriptStruct* InStruct |
Construct with allocates memory buffer according to type size | Animation/WrappedAttribute.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Allocate () |
Allocated memory buffer according to type size | Animation/WrappedAttribute.h | |
void Allocate
(
const UScriptStruct* InStruct |
Allocated memory buffer according to type size | Animation/WrappedAttribute.h | |
TEnableIf< TIsFundamentalType< Type >::Value, Type * >::Type GetPtr () |
Returns typed ptr to memory | Animation/WrappedAttribute.h | |
| Animation/WrappedAttribute.h | |||
TEnableIf< TIsFundamentalType< Type >::Value, constType * >::Type GetPtr () |
Returns typed const ptr to memory | Animation/WrappedAttribute.h | |
| Animation/WrappedAttribute.h | |||
Type & GetRef () |
Animation/WrappedAttribute.h | ||
const Type & GetRef () |
Returns typed const reference to memory | Animation/WrappedAttribute.h |