Navigation
API > API/Plugins > API/Plugins/OptimusCore
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusExpressionEvaluator.h |
| Include | #include "OptimusExpressionEvaluator.h" |
Syntax
class FEngine
Constructors
| Type | Name | Description | |
|---|---|---|---|
FEngine
(
EParseFlags InParseFlags |
|||
FEngine
(
const TMap< FName, int32 >& InConstants, |
Initialize the engine with constants, making a copy of the value constant map. | ||
FEngine
(
TMap< FName, int32 >&& InConstants, |
Initialize the engine with constants, taking ownership of the value constant map. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TOptional< int32 > | Evaluate
(
FStringView InExpression |
Evaluate an expression directly and returns the result. | |
| int32 | Execute
(
const FExpressionObject& InExpressionObject |
Executes the given expression object | |
| const TMap< FName, int32 > & | Return existing constants and their values. | ||
| TVariant< FExpressionObject, FParseError > | Parse
(
FStringView InExpression |
Parse an expression and either receive an error or a expression execution object that matches this evaluator. | |
| void | UpdateConstantValues
(
const TMap< FName, int32 >& InConstants |
Update existing constant values. No new constants are added. | |
| TOptional< FParseError > | Verify
(
FStringView InExpression |
Verify an expression. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EOperatorToken |
Typedefs
| Name | Description |
|---|---|
| FToken |