GVirtualMachine Class Reference

This class is the VM for the byte language. More...

#include <GScriptingPriv.h>

Inherits GScriptUtils.

List of all members.

Public Member Functions

bool Execute (GCompiledCode *Code, GStream *Log=0)
 Executes the whole script starting at the top.
bool ExecuteFunction (GCompiledCode *Code, GFunctionInfo *Func, ArgumentArray &Args, GVariant *Ret, GStream *Log=0)
 Execute just one method and return.


Detailed Description

This class is the VM for the byte language.

Member Function Documentation

bool GVirtualMachine::Execute ( GCompiledCode Code,
GStream Log = 0 
)

Executes the whole script starting at the top.

Parameters:
Code  [In] The code to execute
Log  [Optional] Log file for execution

bool GVirtualMachine::ExecuteFunction ( GCompiledCode Code,
GFunctionInfo *  Func,
ArgumentArray Args,
GVariant Ret,
GStream Log = 0 
)

Execute just one method and return.

Parameters:
Code  [In] The code to execute
Func  [In] The function to execute
Args  [In] The function's arguments
Ret  [Out] The return value of the function
Log  [Optional] Log file for execution


The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:05 2010 for Lgi by  doxygen 1.5.7.1