21 #ifndef __SALOMEDS_DRIVER_DEFAULT_IMPL_H__
22 #define __SALOMEDS_DRIVER_DEFAULT_IMPL_H__
29 #include CORBA_CLIENT_HEADER(SALOMEDS)
35 public virtual POA_SALOMEDS::Driver
42 SALOMEDS_DriverDefaultImpl(CORBA::ORB_ptr orb,
43 PortableServer::POA_ptr poa,
44 PortableServer::ObjectId * contId,
45 const char *instanceName,
46 const char *interfaceName);
49 virtual ~SALOMEDS_DriverDefaultImpl();
64 virtual bool Load(SALOMEDS::SComponent_ptr,
69 virtual bool LoadASCII(SALOMEDS::SComponent_ptr,
74 virtual void Close(SALOMEDS::SComponent_ptr IORSComponent);
76 virtual char* ComponentDataType();
78 virtual char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
79 const char* IORString,
80 CORBA::Boolean isMultiFile,
81 CORBA::Boolean isASCII);
83 virtual char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
84 const char* aLocalPersistentID,
85 CORBA::Boolean isMultiFile,
86 CORBA::Boolean isASCII);
88 virtual bool CanPublishInStudy(CORBA::Object_ptr theIOR);
90 virtual SALOMEDS::SObject_ptr PublishInStudy
91 (SALOMEDS::Study_ptr theStudy,
92 SALOMEDS::SObject_ptr theSObject,
93 CORBA::Object_ptr theObject,
97 virtual CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);
100 CORBA::Long& theObjectID);
102 virtual CORBA::Boolean CanPaste(
const char* theComponentName,
103 CORBA::Long theObjectID);
106 CORBA::Long theObjectID,
107 SALOMEDS::SObject_ptr theObject);