Version: 8.3.0
SALOMEDSImpl_Driver Class Referenceabstract

#include <SALOMEDSImpl_Driver.hxx>

Inheritance diagram for SALOMEDSImpl_Driver:

Public Member Functions

virtual std::string GetIOR ()=0
 
virtual SALOMEDSImpl_TMPFileSave (const SALOMEDSImpl_SComponent &theComponent, const std::string &theURL, long &theStreamLength, bool isMultiFile)=0
 
virtual SALOMEDSImpl_TMPFileSaveASCII (const SALOMEDSImpl_SComponent &theComponent, const std::string &theURL, long &theStreamLength, bool isMultiFile)=0
 
virtual bool Load (const SALOMEDSImpl_SComponent &theComponent, const unsigned char *theStream, const long theStreamLength, const std::string &theURL, bool isMultiFile)=0
 
virtual bool LoadASCII (const SALOMEDSImpl_SComponent &theComponent, const unsigned char *theStream, const long theStreamLength, const std::string &theURL, bool isMultiFile)=0
 
virtual void Close (const SALOMEDSImpl_SComponent &theComponent)=0
 
virtual std::string ComponentDataType ()=0
 
virtual std::string Version ()=0
 
virtual std::string IORToLocalPersistentID (const SALOMEDSImpl_SObject &theSObject, const std::string &IORString, bool isMultiFile, bool isASCII)=0
 
virtual std::string LocalPersistentIDToIOR (const SALOMEDSImpl_SObject &theSObject, const std::string &aLocalPersistentID, bool isMultiFile, bool isASCII)=0
 
virtual bool CanCopy (const SALOMEDSImpl_SObject &theObject)=0
 
virtual SALOMEDSImpl_TMPFileCopyFrom (const SALOMEDSImpl_SObject &theObject, int &theObjectID, long &theStreamLength)=0
 
virtual bool CanPaste (const std::string &theComponentName, int theObjectID)=0
 
virtual std::string PasteInto (const unsigned char *theStream, const long theStreamLength, int theObjectID, const SALOMEDSImpl_SObject &theObject)=0
 
virtual SALOMEDSImpl_TMPFileDumpPython (SALOMEDSImpl_Study *theStudy, bool isPublished, bool isMultiFile, bool &isValidScript, long &theStreamLength)=0
 

Member Function Documentation

virtual bool SALOMEDSImpl_Driver::CanCopy ( const SALOMEDSImpl_SObject theObject)
pure virtual
virtual bool SALOMEDSImpl_Driver::CanPaste ( const std::string &  theComponentName,
int  theObjectID 
)
pure virtual
virtual void SALOMEDSImpl_Driver::Close ( const SALOMEDSImpl_SComponent theComponent)
pure virtual

Implemented in SALOMEDS_Driver_i.

virtual std::string SALOMEDSImpl_Driver::ComponentDataType ( )
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_StudyManager::Copy().

virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::CopyFrom ( const SALOMEDSImpl_SObject theObject,
int &  theObjectID,
long &  theStreamLength 
)
pure virtual
virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::DumpPython ( SALOMEDSImpl_Study theStudy,
bool  isPublished,
bool  isMultiFile,
bool isValidScript,
long &  theStreamLength 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::DumpStudy().

virtual std::string SALOMEDSImpl_Driver::GetIOR ( )
pure virtual
virtual std::string SALOMEDSImpl_Driver::IORToLocalPersistentID ( const SALOMEDSImpl_SObject theSObject,
const std::string &  IORString,
bool  isMultiFile,
bool  isASCII 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by Translate_IOR_to_persistentID().

virtual bool SALOMEDSImpl_Driver::Load ( const SALOMEDSImpl_SComponent theComponent,
const unsigned char theStream,
const long  theStreamLength,
const std::string &  theURL,
bool  isMultiFile 
)
pure virtual
virtual bool SALOMEDSImpl_Driver::LoadASCII ( const SALOMEDSImpl_SComponent theComponent,
const unsigned char theStream,
const long  theStreamLength,
const std::string &  theURL,
bool  isMultiFile 
)
pure virtual
virtual std::string SALOMEDSImpl_Driver::LocalPersistentIDToIOR ( const SALOMEDSImpl_SObject theSObject,
const std::string &  aLocalPersistentID,
bool  isMultiFile,
bool  isASCII 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by Translate_persistentID_to_IOR().

virtual std::string SALOMEDSImpl_Driver::PasteInto ( const unsigned char theStream,
const long  theStreamLength,
int  theObjectID,
const SALOMEDSImpl_SObject theObject 
)
pure virtual
virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::Save ( const SALOMEDSImpl_SComponent theComponent,
const std::string &  theURL,
long &  theStreamLength,
bool  isMultiFile 
)
pure virtual
virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::SaveASCII ( const SALOMEDSImpl_SComponent theComponent,
const std::string &  theURL,
long &  theStreamLength,
bool  isMultiFile 
)
pure virtual
virtual std::string SALOMEDSImpl_Driver::Version ( )
pure virtual