IScriptEngine Class Reference

Inheritance diagram for IScriptEngine:

IBase


Public Methods

virtual Value eval (const char *code)=0
virtual Value eval (const char *fun, IValueIter *args)=0
virtual void setVariable (const char *name, IBaseValue *value)=0
virtual Value getVariable (const char *name)=0
virtual void defineProc (const char *name, IBaseValue *body)=0
virtual void undefineProc (const char *name)=0
virtual void addObserver (IScriptObserver *observer)=0
virtual void removeObserver (IScriptObserver *observer)=0

Static Public Methods

const GuidgetId ()

Public Types

typedef SRef< IBaseValueValue

Detailed Description

This is an abstract class that specifies the interface for the script engine. This interface is used to perform actions by a script engine.


Member Typedef Documentation

SRef< IBaseValue > IScriptEngine::Value
 


Member Function Documentation

void IScriptEngine::addObserver IScriptObserver *    observer [pure virtual]
 

Parameters:
observer 

void IScriptEngine::defineProc const char *    name,
IBaseValue *    body
[pure virtual]
 

Parameters:
name 
body 

Value IScriptEngine::eval const char *    fun,
IValueIter *    args
[pure virtual]
 

Parameters:
fun 
args 

Value IScriptEngine::eval const char *    code [pure virtual]
 

Parameters:
code 

static const Guid & IScriptEngine::getId   [inline, static]
 

Value IScriptEngine::getVariable const char *    name [pure virtual]
 

Parameters:
name 

void IScriptEngine::removeObserver IScriptObserver *    observer [pure virtual]
 

Parameters:
observer 

void IScriptEngine::setVariable const char *    name,
IBaseValue *    value
[pure virtual]
 

Parameters:
name 
value 

void IScriptEngine::undefineProc const char *    name [pure virtual]
 

Parameters:
name 


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

Return to top of page