import"SALOME_PyNode.idl";

Public Member Functions | |
| Container | getContainer () |
| string | getCode () |
| string | getName () |
| void | defineNewCustomVar (in string varName, in pickledArgs valueOfVar) raises (SALOME::SALOME_Exception) |
| This method allows to define a new global var called varName. More... | |
| void | executeAnotherPieceOfCode (in string codeStr) raises (SALOME::SALOME_Exception) |
| This method 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. More... | |
| 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. More... | |
| void Engines::PyNodeBase::defineNewCustomVar | ( | in string | varName, |
| in pickledArgs | valueOfVar | ||
| ) | |||
| raises | ( | SALOME::SALOME_Exception | |
| ) | |||
This method allows to define a new global var called varName.
This newly created var will be set to value valueOfVar.
|
inherited |
Obsolete, left for compatibility reasons only.
Use UnRegister() instead.
| void Engines::PyNodeBase::executeAnotherPieceOfCode | ( | in string | codeStr | ) | |
| raises | ( | SALOME::SALOME_Exception | |||
| ) | |||||
This method 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. |
| string Engines::PyNodeBase::getCode | ( | ) |
| Container Engines::PyNodeBase::getContainer | ( | ) |
| string Engines::PyNodeBase::getName | ( | ) |
Referenced by studyedit.StudyEditor::findItem(), and KERNEL_PY.kernel.studyedit.StudyEditor::findItem().
|
inherited |
Increase the reference count (mark as used by another object).
|
inherited |
Decrease the reference count (release by another object).
Referenced by SALOME_PyNode.Generic::Destroy().