|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::python::PythonInterpreter Class Reference#include <PythonInterpreter.h>
Inheritance diagram for acdk::python::PythonInterpreter:
List of all members.
Constructor & Destructor Documentation
acdk::python::PythonInterpreter::PythonInterpreter |
( |
|
) |
|
|
Member Function Documentation
|
Calls a script function.
Note: may not all script interpreter support this function - Parameters:
-
func | the name of the function |
args | the arguments for the function |
- Returns:
- result of the call
Reimplemented from acdk::lang::dmi::ScriptInterpreter. |
|
Evaluate the code .
On some interpreter it is equal to parse. - Parameters:
-
script | the script to eval |
- Returns:
- the output or result of the script fragment
Implements acdk::lang::dmi::ScriptInterpreter. |
int acdk::python::PythonInterpreter::getLastReturnCode |
( |
|
) |
[inline] |
|
|
Do debug the given Script.
May not work on all scripting languages - Parameters:
-
in | Inputstream for users input and script |
out | Scripts output and users Echo output |
err | Error stream |
|
|
Calls a script method of given object.
- Parameters:
-
obj | the 'this' object of the script, which is a wrapper to the scripting |
func | the name of the function |
args | the arguments for the function |
- Returns:
- result of the call
Reimplemented from acdk::lang::dmi::ScriptInterpreter. |
virtual void acdk::python::PythonInterpreter::parse |
( |
IN(RString) |
script |
) |
[virtual] |
|
virtual void acdk::python::PythonInterpreter::parse |
( |
IN(::acdk::io::RFile) |
file |
) |
[virtual] |
|
|
Parse a file.
On some interpreter also execute the script. - Parameters:
-
|
Member Data Documentation
|
|