Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/RigVM/Public/RigVMCore/RigVMByteCode.h |
Include |
#include "RigVMCore/RigVMByteCode.h" |
struct FRigVMByteCode
The FRigVMByteCode is a container to store a list of instructions with their corresponding data. The byte code is then used within a VM to execute. To iterate over the instructions within the byte code you can use GetInstructions() to retrieve a FRigVMInstructionArray.
Name | Description | |
---|---|---|
|
FRigVMByteCode() |
Name | Description | ||
---|---|---|---|
|
AddArrayAddOp ( |
Adds an array add operator |
|
|
AddArrayAppendOp ( |
Adds an array append operator |
|
|
AddArrayCloneOp ( |
Adds an array clone operator |
|
|
AddArrayDifferenceOp ( |
Adds an array difference operator |
|
|
AddArrayFindOp ( |
Adds an array find operator |
|
|
AddArrayGetAtIndexOp ( |
Adds an array get at index operator |
|
|
AddArrayGetNumOp ( |
Adds an array get num operator |
|
|
AddArrayInsertOp ( |
Adds an array insert operator |
|
|
AddArrayIntersectionOp ( |
Adds an array intersection operator |
|
|
AddArrayIteratorOp ( |
Adds an array iterator operator |
|
|
AddArrayRemoveOp ( |
Adds an array remove operator |
|
|
AddArrayResetOp ( |
Adds an array reset operator |
|
|
AddArrayReverseOp ( |
Adds an array reverse operator |
|
|
AddArraySetAtIndexOp ( |
Adds an array set at index operator |
|
|
AddArraySetNumOp ( |
Adds an array set num operator |
|
|
AddArrayUnionOp ( |
Adds an array union operator |
|
|
AddBeginBlockOp ( |
Adds an operator to end the last memory slice |
|
|
AddCopyOp ( |
Adds a copy operator to copy the content of a source argument to a target argument |
|
|
AddCopyOp ( |
Adds a copy operator to copy the content of a source argument to a target argument |
|
|
AddDecrementOp ( |
Adds an decrement operator to decrement a int32 argument |
|
|
AddEndBlockOp() |
Adds an operator to end the last memory slice |
|
|
AddEqualsOp ( |
Adds an equals operator to store the comparison result of A and B into a Result argument |
|
|
AddExecuteOp ( |
Adds an execute operator given its function index operands |
|
|
AddExitOp() |
Adds an exit operator to exit the execution loop |
|
|
AddFalseOp ( |
Adds a false operator to set a given argument to false |
|
|
AddIncrementOp ( |
Adds an increment operator to increment a int32 argument |
|
|
AddJumpIfOp ( |
Adds an absolute, forward or backward jump operator based on a condition argument |
|
|
AddJumpOp ( |
Adds an absolute, forward or backward jump operator |
|
|
AddNotEqualsOp ( |
Adds an not-equals operator to store the comparison result of A and B into a Result argument |
|
|
AddTrueOp ( |
Adds a true operator to set a given argument to true |
|
|
AddZeroOp ( |
Adds a zero operator to zero the memory of a given argument |
|
|
DumpToText() |
||
|
Empty() |
Resets the container and removes all memory |
|
|
FindEntryIndex ( |
Returns the index of an entry given a name or INDEX_NONE |
|
|
GetAllInstructionIndicesForCallPath |
Returns all found instruction indices for a given callpath |
|
|
const TArray... |
GetAllInstructionIndicesForCallstack |
Returns all found instruction indices for a given callpath |
|
const TArray... |
GetAllInstructionIndicesForSubject ( |
Returns all found instruction indices for a given subject |
|
const TArray... |
GetByteCode() |
Returns the raw data of the byte code |
|
GetCallPathForInstruction ( |
Returns the callpath which was used to inject a given instruction |
|
|
const TArray... |
GetCallstackForInstruction ( |
Returns the callstack which was used to inject a given instruction |
|
GetCallstackHash ( |
Computes a hash for a given callstack |
|
|
GetCallstackHash |
Computes a hash for a given callstack |
|
|
GetCallstackHashForInstruction ( |
Returns the callstack hash which was used to inject a given instruction |
|
|
const FRigVM... |
GetEntry ( |
Returns the entry with a given index |
|
GetFirstInstructionIndexForCallPath |
Returns the first hit instruction index for a given callpath (or INDEX_NONE) |
|
|
GetFirstInstructionIndexForCallstack |
Returns the first hit instruction index for a given callpath (or INDEX_NONE) |
|
|
GetFirstInstructionIndexForSubject ( |
Returns the first hit instruction index for a given subject (or INDEX_NONE) |
|
|
FRigVMOperan... |
GetInputOperands ( |
Returns the input operands of a given instruction |
|
FRigVMInstru... |
GetInstructions() |
Returns an instruction array for iterating over all operators |
|
GetNumInstructions() |
Returns the number of instructions within this byte code |
|
|
GetOpAlignment ( |
Returns the alignment for an operator given its opcode |
|
|
const OpType... |
GetOpAt ( |
Returns an operator for a given instruction |
|
const OpType... |
GetOpAt ( |
Returns an operator at a given byte code index |
|
OpType & |
GetOpAt ( |
Returns an operator at a given byte code index |
|
OpType & |
GetOpAt ( |
Returns an operator for a given instruction |
|
GetOpCodeAt ( |
Returns the opcode at a given byte index |
|
|
GetOperandAlignment() |
Returns the alignment for an operand |
|
|
FRigVMOperan... |
GetOperandsAt |
Returns a list of operands at a given byte code index |
|
FRigVMOperan... |
GetOperandsForExecuteOp ( |
Returns the operands for a given execute instruction |
|
GetOpNumBytesAt |
Returns the size of the operator in bytes at a given byte index |
|
|
FRigVMOperan... |
GetOutputOperands ( |
Returns the output operands of a given instruction |
|
FRigVMByteCo... |
GetStatistics() |
Returns the statistics information |
|
UObject *... |
GetSubjectForInstruction ( |
Returns the subject which was used to inject a given instruction |
|
Load ( |
||
|
Num() |
Returns the number of instructions in this container |
|
|
NumEntries() |
Returns the number of entries |
|
|
Reset() |
Resets the container and maintains all memory |
|
|
Save ( |
||
|
Serialize ( |
||
|
SetOperandsForInstruction ( |
Name | Description | ||
---|---|---|---|
|
const uint8 ... |
operator[] ( |
Const accessor for a byte given its index |
Name |
Description |
---|---|
EmptyInstructionIndices |