Public Methods | |
void | destroy () |
IScriptEngine * | getEngine () const |
const oaString & | getName () const |
Static Public Methods | |
oaScriptEngineLink * | get (const oaString &seName) |
oaScriptEngineLink * | create (IScriptEngine *scriptEngineIn, const oaString &nameIn) |
|
This function creates the oaScriptEngineLink object in OpenAccess with the specified name.
|
|
This function destroys the oaScriptEngineLink object and removes the link between OpenAccess and the application IScriptEngine. |
|
This function returns the link associated with the specified script engine. If an existing link is not found, a link is created by trying to load the scriptEngine plug-in that has the same name. If the script engine plug-in cannot be successfully loaded, a link is created with the engine equal to NULL. This is done to avoid repeat attempts to load the plug-in when a script engine is accessed frequently. An application can try to reload a script engine by destroying the link before calling this function.
|
|
This function returns the IScriptEngine associated with this link. The return value can be NULL if the script engine plug-in is not successfully loaded. |
|
This function returns the name of the script engine. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.