Navigation
API > API/Runtime > API/Runtime/Core
A node in an expression. Can be constructed from any C++ type that has a corresponding DEFINE_EXPRESSION_NODE_TYPE. Evaluation behaviour (unary/binary operator etc) is defined in the expression grammar, rather than the type itself.
| Name | FExpressionNode |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
| Include Path | #include "Misc/ExpressionParserTypes.h" |
Syntax
class FExpressionNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor | Misc/ExpressionParserTypes.h | ||
FExpressionNode
(
T In |
Construction from client expression data type | Misc/ExpressionParserTypes.h | |
FExpressionNode
(
FExpressionNode&& In |
Movable, but non copyable. | Misc/ExpressionParserTypes.h | |
FExpressionNode
(
const FExpressionNode& |
Misc/ExpressionParserTypes.h | ||
FExpressionNode
(
T In |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FExpressionNode() |
Misc/ExpressionParserTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxStackAllocationSize | uint32 | The maximum size of type we will allow allocation on the stack (for efficiency). | Misc/ExpressionParserTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InlineBytes | uint8 | Misc/ExpressionParserTypes.h | ||
| TypeId | FGuid | TypeID - 16 bytes | Misc/ExpressionParserTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T * Cast() |
Cast this node to the specified type. Will return nullptr if the types do not match. | Misc/ExpressionParserTypes.h | |
FExpressionNode Copy() |
Copy this node and its wrapped data | Misc/ExpressionParserTypes.h | |
const FGuid & GetTypeId() |
Get the type identifier of this node | Misc/ExpressionParserTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExpressionNode & operator=
(
FExpressionNode&& In |
Misc/ExpressionParserTypes.h | ||
FExpressionNode & operator=
(
const FExpressionNode& |
Misc/ExpressionParserTypes.h |