Version: 8.3.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Engines::PyNodeBase Interface Reference
Inheritance diagram for Engines::PyNodeBase:
Inheritance graph

Public Member Functions

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...
 

Member Function Documentation

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.

void Engines::PyNodeBase::executeAnotherPieceOfCode ( in string  codeStr) raises (SALOME::SALOME_Exception)

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.

Parameters
[in]codeStr- the python code (without statement) to be executed, that can modify the context initialized at initialization.
void SALOME::GenericObj::Register ( )
inherited

Increase the reference count (mark as used by another object).

void SALOME::GenericObj::UnRegister ( )
inherited

Decrease the reference count (release by another object).

void SALOME::GenericObj::Destroy ( )
inherited

Obsolete, left for compatibility reasons only. Use UnRegister() instead.