23 #ifndef __SALOMEDSIMPL_DRIVER_H__
24 #define __SALOMEDSIMPL_DRIVER_H__
42 const std::string& theURL,
43 long& theStreamLength,
44 bool isMultiFile) = 0;
47 const std::string& theURL,
48 long& theStreamLength,
49 bool isMultiFile) = 0;
52 const unsigned char* theStream,
53 const long theStreamLength,
54 const std::string& theURL,
55 bool isMultiFile) = 0;
58 const unsigned char* theStream,
59 const long theStreamLength,
60 const std::string& theURL,
61 bool isMultiFile) = 0;
70 const std::string& IORString,
75 const std::string& aLocalPersistentID,
83 long& theStreamLength) = 0;
85 virtual bool CanPaste(
const std::string& theComponentName,
int theObjectID) = 0;
87 virtual std::string
PasteInto(
const unsigned char* theStream,
88 const long theStreamLength,
95 long& theStreamLength) = 0;
#define SALOMEDSIMPL_EXPORT
Definition: SALOMEDSImpl_Defines.hxx:34
Definition: SALOMEDSImpl_Driver.hxx:99
virtual SALOMEDSImpl_Driver * GetDriverByIOR(const std::string &theIOR)=0
virtual SALOMEDSImpl_Driver * GetDriverByType(const std::string &theComponentType)=0
Definition: SALOMEDSImpl_Driver.hxx:34
virtual bool LoadASCII(const SALOMEDSImpl_SComponent &theComponent, const unsigned char *theStream, const long theStreamLength, const std::string &theURL, bool isMultiFile)=0
virtual std::string IORToLocalPersistentID(const SALOMEDSImpl_SObject &theSObject, const std::string &IORString, bool isMultiFile, bool isASCII)=0
virtual std::string Version()=0
virtual SALOMEDSImpl_TMPFile * SaveASCII(const SALOMEDSImpl_SComponent &theComponent, const std::string &theURL, long &theStreamLength, bool isMultiFile)=0
virtual SALOMEDSImpl_TMPFile * DumpPython(bool isPublished, bool isMultiFile, bool &isValidScript, long &theStreamLength)=0
virtual std::string GetIOR()=0
virtual std::string ComponentDataType()=0
virtual std::string PasteInto(const unsigned char *theStream, const long theStreamLength, int theObjectID, const SALOMEDSImpl_SObject &theObject)=0
virtual bool CanPaste(const std::string &theComponentName, int theObjectID)=0
virtual void Close(const SALOMEDSImpl_SComponent &theComponent)=0
virtual std::string LocalPersistentIDToIOR(const SALOMEDSImpl_SObject &theSObject, const std::string &aLocalPersistentID, bool isMultiFile, bool isASCII)=0
virtual ~SALOMEDSImpl_Driver()
Definition: SALOMEDSImpl_Driver.hxx:37
virtual bool Load(const SALOMEDSImpl_SComponent &theComponent, const unsigned char *theStream, const long theStreamLength, const std::string &theURL, bool isMultiFile)=0
virtual SALOMEDSImpl_TMPFile * CopyFrom(const SALOMEDSImpl_SObject &theObject, int &theObjectID, long &theStreamLength)=0
virtual SALOMEDSImpl_TMPFile * Save(const SALOMEDSImpl_SComponent &theComponent, const std::string &theURL, long &theStreamLength, bool isMultiFile)=0
virtual bool CanCopy(const SALOMEDSImpl_SObject &theObject)=0
Definition: SALOMEDSImpl_SComponent.hxx:44
Definition: SALOMEDSImpl_SObject.hxx:41
Definition: SALOMEDSImpl_TMPFile.hxx:31