Version: 9.12.0
SALOMEDSImpl_Driver Class Referenceabstract

#include <SALOMEDSImpl_Driver.hxx>

Inheritance diagram for SALOMEDSImpl_Driver:

Public Member Functions

virtual ~SALOMEDSImpl_Driver ()
 
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 (bool isPublished, bool isMultiFile, bool &isValidScript, long &theStreamLength)=0
 

Constructor & Destructor Documentation

◆ ~SALOMEDSImpl_Driver()

virtual SALOMEDSImpl_Driver::~SALOMEDSImpl_Driver ( )
virtual

Member Function Documentation

◆ CanCopy()

virtual bool SALOMEDSImpl_Driver::CanCopy ( const SALOMEDSImpl_SObject theObject)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::CanCopy().

◆ CanPaste()

virtual bool SALOMEDSImpl_Driver::CanPaste ( const std::string &  theComponentName,
int  theObjectID 
)
pure virtual

◆ Close()

virtual void SALOMEDSImpl_Driver::Close ( const SALOMEDSImpl_SComponent theComponent)
pure virtual

Implemented in SALOMEDS_Driver_i.

◆ ComponentDataType()

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

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::Copy().

◆ CopyFrom()

virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::CopyFrom ( const SALOMEDSImpl_SObject theObject,
int &  theObjectID,
long &  theStreamLength 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::CopyLabel().

◆ DumpPython()

virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::DumpPython ( bool  isPublished,
bool  isMultiFile,
bool isValidScript,
long &  theStreamLength 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::DumpStudy().

◆ GetIOR()

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

◆ IORToLocalPersistentID()

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.

◆ Load()

virtual bool SALOMEDSImpl_Driver::Load ( const SALOMEDSImpl_SComponent theComponent,
const unsigned char *  theStream,
const long  theStreamLength,
const std::string &  theURL,
bool  isMultiFile 
)
pure virtual

◆ LoadASCII()

virtual bool SALOMEDSImpl_Driver::LoadASCII ( const SALOMEDSImpl_SComponent theComponent,
const unsigned char *  theStream,
const long  theStreamLength,
const std::string &  theURL,
bool  isMultiFile 
)
pure virtual

◆ LocalPersistentIDToIOR()

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().

◆ PasteInto()

virtual std::string SALOMEDSImpl_Driver::PasteInto ( const unsigned char *  theStream,
const long  theStreamLength,
int  theObjectID,
const SALOMEDSImpl_SObject theObject 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::PasteLabel().

◆ Save()

virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::Save ( const SALOMEDSImpl_SComponent theComponent,
const std::string &  theURL,
long &  theStreamLength,
bool  isMultiFile 
)
pure virtual

◆ SaveASCII()

virtual SALOMEDSImpl_TMPFile* SALOMEDSImpl_Driver::SaveASCII ( const SALOMEDSImpl_SComponent theComponent,
const std::string &  theURL,
long &  theStreamLength,
bool  isMultiFile 
)
pure virtual

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::Impl_SaveAs().

◆ Version()

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

Implemented in SALOMEDS_Driver_i.

Referenced by SALOMEDSImpl_Study::Impl_SaveAs().