changed a field of Driver from Driver_ptr to Driver_var
{
protected:
SALOMEDS::Driver_var _driver;
- CORBA::ORB_ptr _orb;
+ CORBA::ORB_var _orb;
public:
_orb = CORBA::ORB::_duplicate(theORB);
}
+ ~SALOMEDS_Driver_i() {
+ }
+
virtual TCollection_AsciiString GetIOR()
{
CORBA::String_var ior = _orb->object_to_string(_driver);
virtual CORBA::Boolean Copy(SALOMEDS::SObject_ptr theObject);
virtual CORBA::Boolean CanPaste(SALOMEDS::SObject_ptr theObject);
virtual SALOMEDS::SObject_ptr Paste(SALOMEDS::SObject_ptr theObject) throw(SALOMEDS::StudyBuilder::LockProtection);
+
+ virtual char* ConvertObjectToIOR(CORBA::Object_ptr theObject) {return _orb->object_to_string(theObject); }
+ virtual CORBA::Object_ptr ConvertIORToObject(const char* theIOR) { return _orb->string_to_object(theIOR); };
void ping(){};
};