PyNode createPyNode(in string nodeName, in string code) raises(SALOME::SALOME_Exception);
//! Retrieves the last created PyNode instance with createPyNode.
- PyNode getDefaultPyNode();
+ PyNode getDefaultPyNode(in string nodeName);
//! Create a PyScriptNode in the container
/*!
PyScriptNode createPyScriptNode(in string nodeName, in string code) raises(SALOME::SALOME_Exception);
//! Retrieves the last created PyScriptNode instance with createPyScriptNode.
- PyScriptNode getDefaultPyScriptNode();
+ PyScriptNode getDefaultPyScriptNode(in string nodeName);
};
/*! \brief Interface of the %component.
*
*/
//=============================================================================
-Engines::PyNode_ptr Engines_Container_i::getDefaultPyNode()
+Engines::PyNode_ptr Engines_Container_i::getDefaultPyNode(const char *nodeName)
{
if(!CORBA::is_nil(_dftPyNode))
return Engines::PyNode::_duplicate(_dftPyNode);
*
*/
//=============================================================================
-Engines::PyScriptNode_ptr Engines_Container_i::getDefaultPyScriptNode()
+Engines::PyScriptNode_ptr Engines_Container_i::getDefaultPyScriptNode(const char *nodeName)
{
if(!CORBA::is_nil(_dftPyScriptNode))
return Engines::PyScriptNode::_duplicate(_dftPyScriptNode);
virtual Engines::Salome_file_ptr createSalome_file(const char* origFileName);
void copyFile(Engines::Container_ptr container, const char* remoteFile, const char* localFile);
Engines::PyNode_ptr createPyNode(const char* nodeName, const char* code);
- Engines::PyNode_ptr getDefaultPyNode();
+ Engines::PyNode_ptr getDefaultPyNode(const char *nodeName);
Engines::PyScriptNode_ptr createPyScriptNode(const char* nodeName, const char* code);
- Engines::PyScriptNode_ptr getDefaultPyScriptNode();
+ Engines::PyScriptNode_ptr getDefaultPyScriptNode(const char *nodeName);
// --- local C++ methods
Engines::EngineComponent_ptr
return node._retn();
}
-Engines::PyNode_ptr Engines_Parallel_Container_i::getDefaultPyNode()
+Engines::PyNode_ptr Engines_Parallel_Container_i::getDefaultPyNode(const char *nodeName)
{
INFOS("Python component not yet implemented");
return Engines::PyNode::_nil();
return node._retn();
}
-Engines::PyScriptNode_ptr Engines_Parallel_Container_i::getDefaultPyScriptNode()
+Engines::PyScriptNode_ptr Engines_Parallel_Container_i::getDefaultPyScriptNode(const char *nodeName)
{
INFOS("Python script node not yet implemented");
return Engines::PyScriptNode::_nil();
virtual Engines::Salome_file_ptr createSalome_file(const char* origFileName);
void copyFile(Engines::Container_ptr container, const char* remoteFile, const char* localFile);
Engines::PyNode_ptr createPyNode(const char* nodeName, const char* code);
- Engines::PyNode_ptr getDefaultPyNode();
+ Engines::PyNode_ptr getDefaultPyNode(const char *nodeName);
Engines::PyScriptNode_ptr createPyScriptNode(const char* nodeName, const char* code);
- Engines::PyScriptNode_ptr getDefaultPyScriptNode();
+ Engines::PyScriptNode_ptr getDefaultPyScriptNode(const char *nodeName);
protected:
SALOME_NamingService *_NS;