ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
VirtualMachine::Command::OperationParam Union Reference

Description:

A union of different parameter types for the commands.

Definition at line 110 of file virtualmachine.hpp.

#include <virtualmachine.hpp>

Collaboration diagram for VirtualMachine::Command::OperationParam:
[legend]

Public Field Index:

CallbackDecl Callback
 A C++ callback function to invoke.
 
PC Distance
 A distance to jump.
 
ProgramNestedProgram
 The nested virtual machine program to invoke.
 
Box Value
 A constant value to push to the stack.
 

Public Method Index:

 OperationParam (Box value)
 
 OperationParam (CallbackDecl callback)
 
 OperationParam (integer distance)
 
 OperationParam (Program *program)
 

Field Details:

◆ Callback

CallbackDecl Callback

A C++ callback function to invoke.

Definition at line 113 of file virtualmachine.hpp.

◆ Distance

PC Distance

A distance to jump.

Definition at line 112 of file virtualmachine.hpp.

◆ NestedProgram

Program* NestedProgram

The nested virtual machine program to invoke.

Definition at line 115 of file virtualmachine.hpp.

◆ Value

Box Value

A constant value to push to the stack.

Definition at line 114 of file virtualmachine.hpp.

Constructor(s) / Destructor Details::

◆ OperationParam() [1/4]

OperationParam ( integer distance)
inline

Union constructor.

Parameters
distanceStored in Distance.

Definition at line 121 of file virtualmachine.hpp.

◆ OperationParam() [2/4]

OperationParam ( CallbackDecl callback)
inline

Union constructor.

Parameters
callbackStored in Callback.

Definition at line 129 of file virtualmachine.hpp.

◆ OperationParam() [3/4]

OperationParam ( Box value)
inline

Union constructor.

Parameters
valueStored in Value.

Definition at line 137 of file virtualmachine.hpp.

◆ OperationParam() [4/4]

OperationParam ( Program * program)
inline

Union constructor.

Parameters
programStored in NestedProgram.

Definition at line 145 of file virtualmachine.hpp.


The documentation for this union was generated from the following file: