2005/5/9

     
 

class ActiveScript

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdkx::com::ActiveScript Class Reference

#include <ActiveScript.h>

Inheritance diagram for acdkx::com::ActiveScript:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

With ActiveScript a VBScript or JavaScript interpreter can be embedded in a ACDK application.


Public Member Functions

 ActiveScript (IN(RString) language)
void parseEval (IN(RString) code)
void setVar (IN(RString) name, IN(acdk::lang::Object) obj)
 Sets a variable in global namespace of the interpreter The variable will always be an Acdk.acdk::lang::Object and not converted to an native COM class.


Private Attributes

IHolder< IActiveScriptParse > _interface
RActiveScriptSite _activeScriptSide


Constructor & Destructor Documentation

acdkx::com::ActiveScript::ActiveScript IN(RString language  ) 
 


Member Function Documentation

void acdkx::com::ActiveScript::parseEval IN(RString code  ) 
 

void acdkx::com::ActiveScript::setVar IN(RString name,
IN(acdk::lang::Object obj
 

Sets a variable in global namespace of the interpreter The variable will always be an Acdk.acdk::lang::Object and not converted to an native COM class.

Therefore if you want to set an String value you have to use following code globalvar.toString() in the script code to receive the native string.


Member Data Documentation

RActiveScriptSite acdkx::com::ActiveScript::_activeScriptSide [private]
 

IHolder<IActiveScriptParse> acdkx::com::ActiveScript::_interface [private]