Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/FAttributeStorage
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EAttributeStorageResult GetAttribute
(
const FAttributeKey& ElementAttributeKey, |
Retrieve a copy of an attribute value. | Types/AttributeStorage.h | |
EAttributeStorageResult GetAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect enum instantiations to underlying type. | Types/AttributeStorage.h | |
EAttributeStorageResult GetAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect TEnumAsByte instantiations to underlying type. | Types/AttributeStorage.h | |
EAttributeStorageResult GetAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect TArray |
Types/AttributeStorage.h | |
EAttributeStorageResult GetAttribute
(
const FAttributeKey& ElementAttributeKey, |
Redirect TArray |
Types/AttributeStorage.h |
GetAttribute(const FAttributeKey &, T &)
Description
Retrieve a copy of an attribute value. Return success if the attribute is added.
Possible errors
- Key do not exist
- Key exist with a different type
- Key exist with a wrong size
| Name | GetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
| Source | /Engine/Source/Runtime/Interchange/Core/Private/Types/AttributeStorage.cpp |
template<typename T, typename>
EAttributeStorageResult GetAttribute
(
const FAttributeKey & ElementAttributeKey,
T & OutValue
) const
Parameters
| Name | Remarks |
|---|---|
| ElementAttributeKey | is the storage key (the path) of the attribute. |
| OutValue | the reference value where we copy of the attribute value. |
GetAttribute(const FAttributeKey &, E &)
Description
Redirect enum instantiations to underlying type.
| Name | GetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename E, typename, int>
EAttributeStorageResult GetAttribute
(
const FAttributeKey & ElementAttributeKey,
E & OutValue
) const
GetAttribute(const FAttributeKey &, B &)
Description
Redirect TEnumAsByte instantiations to underlying type.
| Name | GetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename B , typename, int, int>
EAttributeStorageResult GetAttribute
(
const FAttributeKey & ElementAttributeKey,
B & OutValue
) const
GetAttribute(const FAttributeKey &, ArrayOfE &)
Description
Redirect TArray
| Name | GetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename ArrayOfE, typename, int, int, int>
EAttributeStorageResult GetAttribute
(
const FAttributeKey & ElementAttributeKey,
ArrayOfE & OutValue
) const
GetAttribute(const FAttributeKey &, ArrayOfB &)
Description
Redirect TArray
| Name | GetAttribute |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
template<typename ArrayOfB, typename, int, int, int, int>
EAttributeStorageResult GetAttribute
(
const FAttributeKey & ElementAttributeKey,
ArrayOfB & OutValue
) const