]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
default implementation of FindObjectByInternalEntry
authorasl <asl@opencascade.com>
Fri, 20 Nov 2009 07:50:45 +0000 (07:50 +0000)
committerasl <asl@opencascade.com>
Fri, 20 Nov 2009 07:50:45 +0000 (07:50 +0000)
src/Container/Component_i.cxx
src/Container/SALOME_ComponentPy.py
src/Container/SALOME_Component_i.hxx

index e6c194b595533d885937add50811676c30f36b57..f335e371cf5b296e97ac2d11c219c1d6810b0280 100644 (file)
@@ -561,9 +561,10 @@ CORBA::Long Engines_Component_i::CpuUsed_impl()
  *  CORBA method: 
  */
 //=============================================================================
-SALOME::GenericObj_ptr Engines_Component_i::FindObjectByInternalEntry( const char* theEntry )
+SALOME::GenericObj_ptr Engines_Component_i::FindObjectByInternalEntry( CORBA::Long studyId, const char* theEntry )
 {
-  return SALOME::GenericObj_ptr();
+  SALOME::GenericObj_var aRes;
+  return aRes._retn();
 }
 
 //=============================================================================
index ca42cc60b6905864c6d8f3ca064a9de8c3625db6..a0aaf62b0a0d8409f1c1650b4f10b22c3264a0ba 100755 (executable)
@@ -312,3 +312,8 @@ class SALOME_ComponentPy_i (Engines__POA.Component):
     def getObjectInfo(self, studyId, entry):
         return ""
 
+    #-------------------------------------------------------------------------
+
+    def FindObjectByInternalEntry( self, studyId, entry ):
+        return None
+
index 470c607ae6f2b61ee4a50d7f1fd8908bef883022..88ce703d8182c973925b01e2c6878a10a10dffea 100644 (file)
@@ -115,7 +115,7 @@ public:
   virtual bool hasObjectInfo() { return false; }
   virtual char* getObjectInfo(CORBA::Long studyId, const char* entry) { return CORBA::string_dup(""); }
 
-  SALOME::GenericObj_ptr FindObjectByInternalEntry( const char* theEntry );
+  virtual SALOME::GenericObj_ptr FindObjectByInternalEntry( CORBA::Long studyId, const char* theEntry );
   
   // --- local C++ methods