FRigVMVarExprAST

An abstract syntax tree var expression represents the definition of mutable memory for a single variable.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RigVMDeveloper

Header

/Engine/Source/Developer/RigVMDeveloper/Public/RigVMCompiler/RigVMAST.h

Include

#include "RigVMCompiler/RigVMAST.h"

Syntax

class FRigVMVarExprAST : public FRigVMExprAST

Remarks

An abstract syntax tree var expression represents the definition of mutable memory for a single variable. In C++ the var expression is a variable declaration: int A; The var expression references a pin from the model.

Constructors

Name Description

Public function

FRigVMVarExprAST

(
    const FRigVMVarExprAST&
)

Disable copy constructor

Protected function

FRigVMVarExprAST

(
    const FRigVMParserAST* InParse...,
    URigVMPin* InPin,
    EType InType
)

Default constructor (protected so that only parser can access it)

Destructors

Name Description

Public function Virtual

~FRigVMVarExprAST()

Virtual destructor

Functions

Name Description

Public function Const

FString

 

GetCPPType()

Returns the C++ data type of this variable

Public function Const

UObject *...

 

GetCPPTypeObject()

Returns the C++ data type object (ustruct / uenum)

Public function Const

FString

 

GetDefaultValue()

Returns the default value on the pin for this variable

Public function Const

URigVMPin &#...

 

GetPin()

Returns the pin in the model this variable is representing

Public function Const

ERigVMPinDir...

 

GetPinDirection()

Returns the pin direction of this variable (input, output, hidden etc)

Public function Const

bool

 

IsExecuteContext()

Returns true if this variable is an execute context

Public function Const

bool

 

IsGraphParameter()

Returns true if this variable is a graph parameter

Public function Const

bool

 

IsGraphVariable()

Returns true if this variable is a graph variable

Overridden from FRigVMExprAST

Name Description

Public function Virtual Const

bool

 

IsA

(
    EType InType
)

Overload of the type checking mechanism

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss