Public Member Functions | |
pickledArgs | execute (in string functionName, in pickledArgs inargs) raises (SALOME::SALOME_Exception) |
execute a python function defined in the node More... | |
void | defineNewCustomVar (in string varName, in pickledArgs valueOfVar) raises (SALOME::SALOME_Exception) |
void | executeAnotherPieceOfCode (in string codeStr) raises (SALOME::SALOME_Exception) |
void | Register () |
Increase the reference count (mark as used by another object). More... | |
void | UnRegister () |
Decrease the reference count (release by another object). More... | |
void | Destroy () |
Obsolete, left for compatibility reasons only. Use UnRegister() instead. More... | |
pickledArgs Engines::PyNode::execute | ( | in string | functionName, |
in pickledArgs | inargs | ||
) | raises (SALOME::SALOME_Exception) |
execute a python function defined in the node
functionName | the python function defined in the node to execute |
inargs | input argument values (tuple,dict) provided as a python pickle |
|
inherited |
This method allows to define a new global var called varName. This newly created var will be set to value valueOfVar.
|
inherited |
This methode executes the python code in codeStr and can append/remove symboles in context to make them available or not for future call of execute on this.
[in] | codeStr | - the python code (without statement) to be executed, that can modify the context initialized at initialization. |
|
inherited |
Increase the reference count (mark as used by another object).
|
inherited |
Decrease the reference count (release by another object).
|
inherited |
Obsolete, left for compatibility reasons only. Use UnRegister() instead.