Navigation
API > API/Plugins > API/Plugins/UAFAnimNode
A simple stack implementation that supports an indirect allocator for its entries. Type safety is enforced at runtime and compile time where possible.
In order to use a stack with a new type, make sure that the type has been registered with the following macro: UE_UAF_REGISTER_STACK_TYPE.
| Name | TUAFStack |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimNode/Source/UAFAnimNode/Public/UAF/UAFStack.h |
| Include Path | #include "UAF/UAFStack.h" |
Syntax
template<typename ValueType>
class TUAFStack : public UE::UAF::FUAFStack
Inheritance Hierarchy
- FUAFStack → TUAFStack
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TUAFStack
(
const FUAFStackName& Name |
Constructs a named stack. | UAF/UAFStack.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TUAFStack() |
UAF/UAFStack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ValueType * Peek
(
uint32 OffsetFromTop |
Peeks at an element with the specified offset from the top and returns it. | UAF/UAFStack.h | |
ValueType * PeekMutable
(
uint32 OffsetFromTop |
UAF/UAFStack.h | ||
ValueType Pop() |
Pops and returns a value from the stack. | UAF/UAFStack.h | |
void Push
(
ValueType&& Value |
Pushes a new value onto the stack. | UAF/UAFStack.h |