Navigation
API > API/Runtime > API/Runtime/InterchangeCore
Enum to return complete status of a storage operation. It supports success with additional information. It supports multiple errors.
| Name | UE::Interchange::EAttributeStorageResult |
| Type | enum |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/Types/AttributeStorage.h |
| Include Path | #include "Types/AttributeStorage.h" |
Syntax
namespace UE
{
namespace Interchange
{
enum EAttributeStorageResult
{
None = 0x0,
Operation_Success = 0x1,
Operation_Error_WrongType = (0x1 << 20),
Operation_Error_WrongSize = (0x1 << 21),
Operation_Error_AttributeAllocationCorrupted = (0x1 << 22),
Operation_Error_CannotFoundKey = (0x1 << 23),
Operation_Error_CannotRemoveAttribute = (0x1 << 24),
Operation_Error_CannotOverrideAttribute = (0x1 << 25),
Operation_Error_InvalidStorage = (0x1 << 26),
Operation_Error_InvalidMultiSizeValueData = (0x1 << 27),
}
}
}
Values
| Name | Remarks |
|---|---|
| None | |
| Operation_Success | Success result. |
| Operation_Error_WrongType | The type of the value was not matching the existing type. We cannot change the type of an existing attribute. |
| Operation_Error_WrongSize | The size of the value is different from the existing size. We cannot have a different size. |
| Operation_Error_AttributeAllocationCorrupted | The AttributeAllocationTable has an attribute whose offset is not valid in the storage. |
| Operation_Error_CannotFoundKey | We cannot find the specified key. |
| Operation_Error_CannotRemoveAttribute | There was an error when removing an attribute from the AttributeAllocationTable. The TArray remove has failed. |
| Operation_Error_CannotOverrideAttribute | We try to override an attribute but the specified options do not allow override. |
| Operation_Error_InvalidStorage | The storage is invalid (nullptr). |
| Operation_Error_InvalidMultiSizeValueData | Cannot get a valid value data pointer. |