remove adjusting pointers for covariant returns

This commit is contained in:
apo 2005-06-08 04:59:17 +00:00
parent c38c10811a
commit 4679b8437b
2 changed files with 9 additions and 8 deletions

View File

@ -32,8 +32,8 @@
#include<string> #include<string>
class SMESH_MEDFamily_i: class SMESH_MEDFamily_i:
public POA_SALOME_MED::FAMILY, virtual public POA_SALOME_MED::FAMILY,
public SMESH_MEDSupport_i virtual public SMESH_MEDSupport_i
{ {
protected : protected :
SMESH_MEDFamily_i(); SMESH_MEDFamily_i();
@ -61,8 +61,8 @@ public :
// IDL Methods // IDL Methods
void setProtocol(SALOME::TypeOfCommunication typ) {} void setProtocol(SALOME::TypeOfCommunication typ) {}
void release() {} void release() {}
SALOME::SenderInt_ptr getSenderForNumber(long int) {return SALOME::SenderInt::_nil();} SALOME::Sender_ptr getSenderForNumber(long int) {return SALOME::Sender::_nil();}
SALOME::SenderInt_ptr getSenderForNumberIndex() {return SALOME::SenderInt::_nil();} SALOME::Sender_ptr getSenderForNumberIndex() {return SALOME::Sender::_nil();}
CORBA::Long getIdentifier() CORBA::Long getIdentifier()
throw (SALOME::SALOME_Exception); throw (SALOME::SALOME_Exception);

View File

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