import"SALOME_PyNode.idl";
◆ defineNewCustomVar()
This method allows to define a new global var called varName.
This newly created var will be set to value valueOfVar.
◆ Destroy()
| void SALOME::GenericObj::Destroy |
( |
| ) |
|
|
inherited |
Obsolete, left for compatibility reasons only.
Use UnRegister() instead.
◆ execute()
execute a python function defined in the node
- Parameters
-
| functionName | the python function defined in the node to execute |
| inargs | input argument values (tuple,dict) provided as a python pickle |
- Returns
- output argument values (tuple) as a python pickle
Referenced by KERNEL_PY.salome_pynode.SmartPyNode::__getattr__().
◆ executeAnotherPieceOfCode()
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.
- Parameters
-
| [in] | codeStr | - the python code (without statement) to be executed, that can modify the context initialized at initialization. |
◆ getCode()
| string Engines::PyNodeBase::getCode |
( |
| ) |
|
|
inherited |
◆ getContainer()
| Container Engines::PyNodeBase::getContainer |
( |
| ) |
|
|
inherited |
◆ getName()
| string Engines::PyNodeBase::getName |
( |
| ) |
|
|
inherited |
◆ Register()
| void SALOME::GenericObj::Register |
( |
| ) |
|
|
inherited |
Increase the reference count (mark as used by another object).
◆ UnRegister()
| void SALOME::GenericObj::UnRegister |
( |
| ) |
|
|
inherited |