Navigation
API > API/Plugins > API/Plugins/AnimNext
A constexpr safe UID
Encapsulates an constexpr UID. The string is exposed in non-shipping builds for logging and debugging purposes. The UID should be generated from the provided string using FNV1a with 32 bits.
The whole struct is meant to be 'constexpr' to allow inlining.
| Name | FConstExprUID |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/ConstExprUID.h |
| Include Path | #include "ConstExprUID.h" |
Syntax
struct FConstExprUID
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FConstExprUID () |
Constructs an invalid UID. | ConstExprUID.h | |
constexpr FConstExprUID
(
FFConstExprUIDRaw InUID, |
Constructs a UID. | ConstExprUID.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| INVALID_UID | FFConstExprUIDRaw | ConstExprUID.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DebugName | const TCHAR * | ConstExprUID.h | ||
| UID | FFConstExprUIDRaw | ConstExprUID.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TCHAR * GetDebugName() |
Returns a literal string to the debug name. | ConstExprUID.h | |
FFConstExprUIDRaw GetUID() |
Returns the raw UID. | ConstExprUID.h | |
bool IsValid() |
Returns whether this UID is valid or not. | ConstExprUID.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FConstExprUID MakeFromString
(
const TCHAR* InName |
Constructs a UID. | ConstExprUID.h |