]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
remove adjusting pointers for covariant returns
authorapo <apo@opencascade.com>
Wed, 8 Jun 2005 04:59:17 +0000 (04:59 +0000)
committerapo <apo@opencascade.com>
Wed, 8 Jun 2005 04:59:17 +0000 (04:59 +0000)
src/SMESH_I/SMESH_MEDFamily_i.hxx
src/SMESH_I/SMESH_MEDMesh_i.hxx

index e60379c04908474c0b3bcf902e14fa57426fc5e2..58116ae9eaf2aae74bcb28e8d06c77eb213e20cc 100644 (file)
@@ -32,8 +32,8 @@
 #include<string>
 
 class SMESH_MEDFamily_i:
-  public POA_SALOME_MED::FAMILY,
-  public SMESH_MEDSupport_i
+  virtual public POA_SALOME_MED::FAMILY,
+  virtual public SMESH_MEDSupport_i
 {
 protected :
   SMESH_MEDFamily_i();
@@ -61,8 +61,8 @@ public :
   // IDL Methods
   void setProtocol(SALOME::TypeOfCommunication typ) {}
   void release() {}
-  SALOME::SenderInt_ptr getSenderForNumber(long int) {return SALOME::SenderInt::_nil();}
-  SALOME::SenderInt_ptr getSenderForNumberIndex() {return SALOME::SenderInt::_nil();}
+  SALOME::Sender_ptr getSenderForNumber(long int) {return SALOME::Sender::_nil();}
+  SALOME::Sender_ptr getSenderForNumberIndex() {return SALOME::Sender::_nil();}
   
   CORBA::Long            getIdentifier()      
     throw (SALOME::SALOME_Exception);
index 3e8fe7a35f49d93fbea05a845c2d709ecd4eae39..ee482b0c8bef658092638f5c9799fe2e2b451727 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(MED)
+#include CORBA_SERVER_HEADER(SALOME_Comm)
 #include <string>
 #include <vector>
 #include <map>
@@ -43,8 +44,8 @@
 
 class SMESH_Mesh_i;
 
-class SMESH_MEDMesh_i:
-       public POA_SALOME_MED::MESH, public PortableServer::RefCountServantBase
+class SMESH_MEDMesh_i: virtual public POA_SALOME_MED::MESH, 
+                      virtual public PortableServer::RefCountServantBase
 {
   public: private: protected:
        // C++ object containing values
@@ -77,8 +78,8 @@ class SMESH_MEDMesh_i:
        // IDL Methods
        void setProtocol(SALOME::TypeOfCommunication typ) {}
        void release() {}
-       SALOME::SenderDouble_ptr getSenderForCoordinates(long int) {return SALOME::SenderDouble::_nil();}
-       SALOME::SenderInt_ptr getSenderForConnectivity(long int, long int, long int, long int) {return SALOME::SenderInt::_nil();}
+       SALOME::Sender_ptr getSenderForCoordinates(long int) {return SALOME::Sender::_nil();}
+       SALOME::Sender_ptr getSenderForConnectivity(long int, long int, long int, long int) {return SALOME::Sender::_nil();}
        
        char *getName() throw(SALOME::SALOME_Exception);
        CORBA::Long getSpaceDimension() throw(SALOME::SALOME_Exception);