Back to index

salome-kernel  6.5.0
libSALOME_Comm.py
Go to the documentation of this file.
00001 # This file was automatically generated by SWIG (http://www.swig.org).
00002 # Version 1.3.40
00003 #
00004 # Do not make changes to this file unless you know what you are doing--modify
00005 # the SWIG interface file instead.
00006 # This file is compatible with both classic and new-style classes.
00007 
00008 from sys import version_info
00009 if version_info >= (2,6,0):
00010     def swig_import_helper():
00011         from os.path import dirname
00012         import imp
00013         fp = None
00014         try:
00015             fp, pathname, description = imp.find_module('_libSALOME_Comm', [dirname(__file__)])
00016         except ImportError:
00017             import _libSALOME_Comm
00018             return _libSALOME_Comm
00019         if fp is not None:
00020             try:
00021                 _mod = imp.load_module('_libSALOME_Comm', fp, pathname, description)
00022             finally:
00023                 fp.close()
00024             return _mod
00025     _libSALOME_Comm = swig_import_helper()
00026     del swig_import_helper
00027 else:
00028     import _libSALOME_Comm
00029 del version_info
00030 try:
00031     _swig_property = property
00032 except NameError:
00033     pass # Python < 2.2 doesn't have 'property'.
00034 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
00035     if (name == "thisown"): return self.this.own(value)
00036     if (name == "this"):
00037         if type(value).__name__ == 'SwigPyObject':
00038             self.__dict__[name] = value
00039             return
00040     method = class_type.__swig_setmethods__.get(name,None)
00041     if method: return method(self,value)
00042     if (not static) or hasattr(self,name):
00043         self.__dict__[name] = value
00044     else:
00045         raise AttributeError("You cannot add attributes to %s" % self)
00046 
00047 def _swig_setattr(self,class_type,name,value):
00048     return _swig_setattr_nondynamic(self,class_type,name,value,0)
00049 
00050 def _swig_getattr(self,class_type,name):
00051     if (name == "thisown"): return self.this.own()
00052     method = class_type.__swig_getmethods__.get(name,None)
00053     if method: return method(self)
00054     raise AttributeError(name)
00055 
00056 def _swig_repr(self):
00057     try: strthis = "proxy of " + self.this.__repr__()
00058     except: strthis = ""
00059     return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
00060 
00061 try:
00062     _object = object
00063     _newclass = 1
00064 except AttributeError:
00065     class _object : pass
00066     _newclass = 0
00067 
00068 
00069 
00070 def getValueForSenderDouble(*args):
00071   """getValueForSenderDouble(SALOME::SenderDouble_ptr senderDouble) -> PyObject"""
00072   return _libSALOME_Comm.getValueForSenderDouble(*args)
00073 
00074 def getValueForSenderInt(*args):
00075   """getValueForSenderInt(SALOME::SenderInt_ptr senderInt) -> PyObject"""
00076   return _libSALOME_Comm.getValueForSenderInt(*args)
00077 
00078 def getValueForMatrix(*args):
00079   """getValueForMatrix(SALOME::Matrix_ptr matrix) -> PyObject"""
00080   return _libSALOME_Comm.getValueForMatrix(*args)
00081 
00082 def buildSenderDoubleFromList(*args):
00083   """buildSenderDoubleFromList(PyObject pylist) -> SALOME::SenderDouble_ptr"""
00084   return _libSALOME_Comm.buildSenderDoubleFromList(*args)
00085 
00086 def buildSenderIntFromList(*args):
00087   """buildSenderIntFromList(PyObject pylist) -> SALOME::SenderInt_ptr"""
00088   return _libSALOME_Comm.buildSenderIntFromList(*args)
00089 
00090