Back to index

salome-kernel  6.5.0
Public Member Functions | Private Attributes
SALOME_DriverPy.SALOME_DriverPy_i Class Reference

Python implementation of generic SALOMEDS::Driver. More...

Inheritance diagram for SALOME_DriverPy.SALOME_DriverPy_i:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def IORToLocalPersistentID
def LocalPersistentIDToIOR
def ComponentDataType
def Save
def SaveASCII
def Load
def LoadASCII
def Close
def CanPublishInStudy
def PublishInStudy
def CanCopy

Private Attributes

 _ComponentDataType

Detailed Description

Python implementation of generic SALOMEDS::Driver.

Should be inherited by any Python module's engine
to provide persistence mechanism.

Definition at line 32 of file SALOME_DriverPy.py.


Constructor & Destructor Documentation

def SALOME_DriverPy.SALOME_DriverPy_i.__init__ (   self,
  componentDataType 
)

Definition at line 37 of file SALOME_DriverPy.py.

00037 
00038     def __init__ (self, componentDataType):
00039         self._ComponentDataType = componentDataType

Here is the caller graph for this function:


Member Function Documentation

def SALOME_DriverPy.SALOME_DriverPy_i.CanCopy (   self,
  theObject 
)

Definition at line 70 of file SALOME_DriverPy.py.

00070 
00071     def CanCopy(self, theObject):
00072         return 0
00073 

Definition at line 64 of file SALOME_DriverPy.py.

00064 
00065     def CanPublishInStudy(self, theIOR):
00066         return 1

def SALOME_DriverPy.SALOME_DriverPy_i.Close (   self,
  theComponent 
)

Definition at line 61 of file SALOME_DriverPy.py.

00061 
00062     def Close(self, theComponent):
00063         pass

Definition at line 46 of file SALOME_DriverPy.py.

00046 
00047     def ComponentDataType(self):
00048         return self._ComponentDataType

def SALOME_DriverPy.SALOME_DriverPy_i.IORToLocalPersistentID (   self,
  theSObject,
  IORString,
  isMultiFile,
  isASCII 
)

Definition at line 40 of file SALOME_DriverPy.py.

00040 
00041     def IORToLocalPersistentID(self, theSObject, IORString, isMultiFile, isASCII):
00042         return theSObject.GetID()

def SALOME_DriverPy.SALOME_DriverPy_i.Load (   self,
  theComponent,
  theStream,
  theURL,
  isMultiFile 
)

Definition at line 55 of file SALOME_DriverPy.py.

00055 
00056     def Load(self, theComponent, theStream, theURL, isMultiFile):
00057         return 1

Here is the caller graph for this function:

def SALOME_DriverPy.SALOME_DriverPy_i.LoadASCII (   self,
  theComponent,
  theStream,
  theURL,
  isMultiFile 
)

Definition at line 58 of file SALOME_DriverPy.py.

00058 
00059     def LoadASCII(self, theComponent, theStream, theURL, isMultiFile):
00060         return self.Load(theComponent, theStream, theURL, isMultiFile)

Here is the call graph for this function:

def SALOME_DriverPy.SALOME_DriverPy_i.LocalPersistentIDToIOR (   self,
  theSObject,
  PersistentID,
  isMultiFile,
  isASCII 
)

Definition at line 43 of file SALOME_DriverPy.py.

00043 
00044     def LocalPersistentIDToIOR(self, theSObject, PersistentID, isMultiFile, isASCII):
00045         return ""

def SALOME_DriverPy.SALOME_DriverPy_i.PublishInStudy (   self,
  theStudy,
  theSObject,
  theObject,
  theName 
)

Definition at line 67 of file SALOME_DriverPy.py.

00067 
00068     def PublishInStudy(self, theStudy, theSObject, theObject, theName):
00069         return None

def SALOME_DriverPy.SALOME_DriverPy_i.Save (   self,
  theComponent,
  theURL,
  isMultiFile 
)

Definition at line 49 of file SALOME_DriverPy.py.

00049 
00050     def Save(self, theComponent, theURL, isMultiFile):
00051         return ""

Here is the caller graph for this function:

def SALOME_DriverPy.SALOME_DriverPy_i.SaveASCII (   self,
  theComponent,
  theURL,
  isMultiFile 
)

Definition at line 52 of file SALOME_DriverPy.py.

00052 
00053     def SaveASCII(self, theComponent, theURL, isMultiFile):
00054         return self.Save(theComponent, theURL, isMultiFile)

Here is the call graph for this function:


Member Data Documentation

Definition at line 38 of file SALOME_DriverPy.py.


The documentation for this class was generated from the following file: