Back to index

salome-kernel  6.5.0
Classes | Namespaces | Defines | Typedefs | Functions | Variables
calcium_wrap.cpp File Reference
#include <Python.h>
#include <string.h>
#include <stdexcept>
#include <SALOMEconfig.h>
#include <Calcium.hxx>
#include <calcium.h>
#include <Superv_Component_i.hxx>
#include <Salome_file_i.hxx>
#include <omniORB4/CORBA.h>
#include <float.h>
#include <math.h>
#include <limits.h>

Go to the source code of this file.

Classes

struct  swig_type_info
struct  swig_cast_info
struct  swig_module_info
struct  swig_const_info
struct  SwigPyClientData
struct  SwigPyObject
struct  SwigPyPacked
class  swig::SwigPtr_PyObject
struct  swig::SwigVar_PyObject
struct  omniORBpyAPI
struct  stringArray
struct  swig_globalvar
struct  swig_varlinkobject

Namespaces

namespace  swig

Defines

#define SWIGPYTHON
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
#define SWIGTEMPLATEDISAMBIGUATOR
#define SWIGINLINE
#define SWIGUNUSED
#define SWIGUNUSEDPARM(p)   p SWIGUNUSED
#define SWIGINTERN   static SWIGUNUSED
#define SWIGINTERNINLINE   SWIGINTERN SWIGINLINE
#define SWIGEXPORT
#define SWIGSTDCALL
#define SWIG_RUNTIME_VERSION   "4"
#define SWIG_TYPE_TABLE_NAME
#define SWIGRUNTIME   SWIGINTERN
#define SWIGRUNTIMEINLINE   SWIGRUNTIME SWIGINLINE
#define SWIG_BUFFER_SIZE   1024
#define SWIG_POINTER_DISOWN   0x1
#define SWIG_CAST_NEW_MEMORY   0x2
#define SWIG_POINTER_OWN   0x1
#define SWIG_OK   (0)
#define SWIG_ERROR   (-1)
#define SWIG_IsOK(r)   (r >= 0)
#define SWIG_ArgError(r)   ((r != SWIG_ERROR) ? r : SWIG_TypeError)
#define SWIG_CASTRANKLIMIT   (1 << 8)
#define SWIG_NEWOBJMASK   (SWIG_CASTRANKLIMIT << 1)
#define SWIG_TMPOBJMASK   (SWIG_NEWOBJMASK << 1)
#define SWIG_BADOBJ   (SWIG_ERROR)
#define SWIG_OLDOBJ   (SWIG_OK)
#define SWIG_NEWOBJ   (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ   (SWIG_OK | SWIG_TMPOBJMASK)
#define SWIG_AddNewMask(r)   (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)   (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)   (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)   (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)   (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)   (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
#define SWIG_AddCast
#define SWIG_CheckState(r)   (SWIG_IsOK(r) ? 1 : 0)
#define SWIG_UnknownError   -1
#define SWIG_IOError   -2
#define SWIG_RuntimeError   -3
#define SWIG_IndexError   -4
#define SWIG_TypeError   -5
#define SWIG_DivisionByZero   -6
#define SWIG_OverflowError   -7
#define SWIG_SyntaxError   -8
#define SWIG_ValueError   -9
#define SWIG_SystemError   -10
#define SWIG_AttributeError   -11
#define SWIG_MemoryError   -12
#define SWIG_NullReferenceError   -13
#define Py_TYPE(op)   ((op)->ob_type)
#define SWIG_Python_str_FromFormat   PyString_FromFormat
#define SWIG_Python_str_DelForPy3(x)
#define PyOS_snprintf   snprintf
#define SWIG_PYBUFFER_SIZE   1024
#define PyObject_Del(op)   PyMem_DEL((op))
#define PyObject_DEL   PyObject_Del
#define PyExc_StopIteration   PyExc_RuntimeError
#define PyObject_GenericGetAttr   0
#define Py_NotImplemented   PyExc_RuntimeError
#define PyString_AsStringAndSize(obj, s, len)   {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
#define PySequence_Size   PySequence_Length
#define PY_SSIZE_T_MAX   INT_MAX
#define PY_SSIZE_T_MIN   INT_MIN
#define SWIG_PYTHON_INITIALIZE_THREADS
#define SWIG_PYTHON_THREAD_BEGIN_BLOCK
#define SWIG_PYTHON_THREAD_END_BLOCK
#define SWIG_PYTHON_THREAD_BEGIN_ALLOW
#define SWIG_PYTHON_THREAD_END_ALLOW
#define SWIG_PY_POINTER   4
#define SWIG_PY_BINARY   5
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)   SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtr(obj, pptr, type, flags)   SWIG_Python_ConvertPtr(obj, pptr, type, flags)
#define SWIG_ConvertPtrAndOwn(obj, pptr, type, flags, own)   SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
#define SWIG_NewPointerObj(ptr, type, flags)   SWIG_Python_NewPointerObj(ptr, type, flags)
#define SWIG_CheckImplicit(ty)   SWIG_Python_CheckImplicit(ty)
#define SWIG_AcquirePtr(ptr, src)   SWIG_Python_AcquirePtr(ptr, src)
#define swig_owntype   int
#define SWIG_ConvertPacked(obj, ptr, sz, ty)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewPackedObj(ptr, sz, type)   SWIG_Python_NewPackedObj(ptr, sz, type)
#define SWIG_ConvertInstance(obj, pptr, type, flags)   SWIG_ConvertPtr(obj, pptr, type, flags)
#define SWIG_NewInstanceObj(ptr, type, flags)   SWIG_NewPointerObj(ptr, type, flags)
#define SWIG_ConvertFunctionPtr(obj, pptr, type)   SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
#define SWIG_NewFunctionPtrObj(ptr, type)   SWIG_Python_NewPointerObj(ptr, type, 0)
#define SWIG_ConvertMember(obj, ptr, sz, ty)   SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)   SWIG_Python_NewPackedObj(ptr, sz, type)
#define SWIG_GetModule(clientdata)   SWIG_Python_GetModule()
#define SWIG_SetModule(clientdata, pointer)   SWIG_Python_SetModule(pointer)
#define SWIG_NewClientData(obj)   SwigPyClientData_New(obj)
#define SWIG_SetErrorObj   SWIG_Python_SetErrorObj
#define SWIG_SetErrorMsg   SWIG_Python_SetErrorMsg
#define SWIG_ErrorType(code)   SWIG_Python_ErrorType(code)
#define SWIG_Error(code, msg)   SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
#define SWIG_fail   goto fail
#define SWIG_Python_Raise(obj, type, desc)   SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
#define SWIG_Python_CallFunctor(functor, obj)   PyObject_CallFunction(functor, "O", obj);
#define SWIG_STATIC_POINTER(var)   var = 0; if (!var) var
#define SWIG_POINTER_NOSHADOW   (SWIG_POINTER_OWN << 1)
#define SWIG_POINTER_NEW   (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
#define SWIG_POINTER_IMPLICIT_CONV   (SWIG_POINTER_DISOWN << 1)
#define SWIG_POINTER_EXCEPTION   0
#define SWIG_arg_fail(arg)   SWIG_Python_ArgFail(arg)
#define SWIG_MustGetPtr(p, type, argnum, flags)   SWIG_Python_MustGetPtr(p, type, argnum, flags)
#define SWIG_exception_fail(code, msg)   do { SWIG_Error(code, msg); SWIG_fail; } while(0)
#define SWIG_contract_assert(expr, msg)   if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
#define SWIG_exception(code, msg)   do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
#define SWIGTYPE_p_CORBA__Boolean   swig_types[0]
#define SWIGTYPE_p_CORBA__ORB_ptr   swig_types[1]
#define SWIGTYPE_p_Engines__Container_ptr   swig_types[2]
#define SWIGTYPE_p_Engines__DSC   swig_types[3]
#define SWIGTYPE_p_PortableServer__POA_ptr   swig_types[4]
#define SWIGTYPE_p_Ports__PortProperties_ptr   swig_types[5]
#define SWIGTYPE_p_Ports__Port_ptr   swig_types[6]
#define SWIGTYPE_p_PySupervCompo   swig_types[7]
#define SWIGTYPE_p_Superv_Component_i   swig_types[8]
#define SWIGTYPE_p_char   swig_types[9]
#define SWIGTYPE_p_double   swig_types[10]
#define SWIGTYPE_p_doubleArray   swig_types[11]
#define SWIGTYPE_p_float   swig_types[12]
#define SWIGTYPE_p_floatArray   swig_types[13]
#define SWIGTYPE_p_int   swig_types[14]
#define SWIGTYPE_p_intArray   swig_types[15]
#define SWIGTYPE_p_long   swig_types[16]
#define SWIGTYPE_p_longArray   swig_types[17]
#define SWIGTYPE_p_p_char   swig_types[18]
#define SWIGTYPE_p_provides_port   swig_types[19]
#define SWIGTYPE_p_stringArray   swig_types[20]
#define SWIGTYPE_p_uses_port   swig_types[21]
#define SWIG_TypeQuery(name)   SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name)   SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_init   init_calcium
#define SWIG_name   "_calcium"
#define SWIGVERSION   0x010340
#define SWIG_VERSION   SWIGVERSION
#define SWIG_as_voidptr(a)   const_cast< void * >(static_cast< const void * >(a))
#define SWIG_as_voidptrptr(a)   ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
#define SWIG_From_long   PyInt_FromLong
#define SWIG_From_double   PyFloat_FromDouble
#define SWIG_newvarlink()   SWIG_Python_newvarlink()
#define SWIG_addvarlink(p, name, get_attr, set_attr)   SWIG_Python_addvarlink(p, name, get_attr, set_attr)
#define SWIG_InstallConstants(d, constants)   SWIG_Python_InstallConstants(d, constants)

Typedefs

typedef void *(* swig_converter_func )(void *, int *)
typedef struct swig_type_info *(* swig_dycast_func )(void **)
typedef struct swig_type_info swig_type_info
typedef struct swig_cast_info swig_cast_info
typedef struct swig_module_info swig_module_info
typedef int Py_ssize_t
typedef struct swig_const_info swig_const_info
typedef PyObject ArrayObject
typedef int intArray
typedef long longArray
typedef float floatArray
typedef double doubleArray
typedef struct swig_globalvar swig_globalvar
typedef struct swig_varlinkobject swig_varlinkobject

Functions

SWIGRUNTIME int SWIG_TypeNameComp (const char *f1, const char *l1, const char *f2, const char *l2)
SWIGRUNTIME int SWIG_TypeEquiv (const char *nb, const char *tb)
SWIGRUNTIME int SWIG_TypeCompare (const char *nb, const char *tb)
SWIGRUNTIME swig_cast_infoSWIG_TypeCheck (const char *c, swig_type_info *ty)
SWIGRUNTIME swig_cast_infoSWIG_TypeCheckStruct (swig_type_info *from, swig_type_info *ty)
SWIGRUNTIMEINLINE void * SWIG_TypeCast (swig_cast_info *ty, void *ptr, int *newmemory)
SWIGRUNTIME swig_type_infoSWIG_TypeDynamicCast (swig_type_info *ty, void **ptr)
SWIGRUNTIMEINLINE const char * SWIG_TypeName (const swig_type_info *ty)
SWIGRUNTIME const char * SWIG_TypePrettyName (const swig_type_info *type)
SWIGRUNTIME void SWIG_TypeClientData (swig_type_info *ti, void *clientdata)
SWIGRUNTIME void SWIG_TypeNewClientData (swig_type_info *ti, void *clientdata)
SWIGRUNTIME swig_type_infoSWIG_MangledTypeQueryModule (swig_module_info *start, swig_module_info *end, const char *name)
SWIGRUNTIME swig_type_infoSWIG_TypeQueryModule (swig_module_info *start, swig_module_info *end, const char *name)
SWIGRUNTIME char * SWIG_PackData (char *c, void *ptr, size_t sz)
SWIGRUNTIME const char * SWIG_UnpackData (const char *c, void *ptr, size_t sz)
SWIGRUNTIME char * SWIG_PackVoidPtr (char *buff, void *ptr, const char *name, size_t bsz)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr (const char *c, void **ptr, const char *name)
SWIGRUNTIME char * SWIG_PackDataName (char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGRUNTIME const char * SWIG_UnpackDataName (const char *c, void *ptr, size_t sz, const char *name)
SWIGINTERN char * SWIG_Python_str_AsChar (PyObject *str)
SWIGINTERN PyObject * SWIG_Python_str_FromChar (const char *c)
static PyObject * PyString_FromFormat (const char *fmt,...)
static PyObject * PyBool_FromLong (long ok)
SWIGRUNTIME PyObject * SWIG_Python_ErrorType (int code)
SWIGRUNTIME void SWIG_Python_AddErrorMsg (const char *mesg)
SWIGRUNTIME PyObject * SWIG_PyInstanceMethod_New (PyObject *self, PyObject *func)
SWIGINTERN void SWIG_Python_SetErrorObj (PyObject *errtype, PyObject *obj)
SWIGINTERN void SWIG_Python_SetErrorMsg (PyObject *errtype, const char *msg)
SWIGINTERN void SWIG_Python_SetConstant (PyObject *d, const char *name, PyObject *obj)
SWIGINTERN PyObject * SWIG_Python_AppendOutput (PyObject *result, PyObject *obj)
SWIGINTERN int SWIG_Python_UnpackTuple (PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void (void)
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit (swig_type_info *ty)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType (swig_type_info *desc)
SWIGRUNTIME SwigPyClientDataSwigPyClientData_New (PyObject *obj)
SWIGRUNTIME void SwigPyClientData_Del (SwigPyClientData *data)
SWIGRUNTIME PyObject * SwigPyObject_long (SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_format (const char *fmt, SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_oct (SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_hex (SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_repr (SwigPyObject *v, PyObject *args)
SWIGRUNTIME int SwigPyObject_print (SwigPyObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
SWIGRUNTIME PyObject * SwigPyObject_str (SwigPyObject *v)
SWIGRUNTIME int SwigPyObject_compare (SwigPyObject *v, SwigPyObject *w)
SWIGRUNTIME PyObject * SwigPyObject_richcompare (SwigPyObject *v, SwigPyObject *w, int op)
SWIGRUNTIME PyTypeObject * _PySwigObject_type (void)
SWIGRUNTIME PyTypeObject * SwigPyObject_type (void)
SWIGRUNTIMEINLINE int SwigPyObject_Check (PyObject *op)
SWIGRUNTIME PyObject * SwigPyObject_New (void *ptr, swig_type_info *ty, int own)
SWIGRUNTIME void SwigPyObject_dealloc (PyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_append (PyObject *v, PyObject *next)
SWIGRUNTIME PyObject * SwigPyObject_next (PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * SwigPyObject_disown (PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * SwigPyObject_acquire (PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * SwigPyObject_own (PyObject *v, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_getattr (SwigPyObject *sobj, char *name)
SWIGRUNTIME int SwigPyPacked_print (SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
SWIGRUNTIME PyObject * SwigPyPacked_repr (SwigPyPacked *v)
SWIGRUNTIME PyObject * SwigPyPacked_str (SwigPyPacked *v)
SWIGRUNTIME int SwigPyPacked_compare (SwigPyPacked *v, SwigPyPacked *w)
SWIGRUNTIME PyTypeObject * _PySwigPacked_type (void)
SWIGRUNTIME PyTypeObject * SwigPyPacked_type (void)
SWIGRUNTIMEINLINE int SwigPyPacked_Check (PyObject *op)
SWIGRUNTIME void SwigPyPacked_dealloc (PyObject *v)
SWIGRUNTIME PyObject * SwigPyPacked_New (void *ptr, size_t size, swig_type_info *ty)
SWIGRUNTIME swig_type_infoSwigPyPacked_UnpackData (PyObject *obj, void *ptr, size_t size)
SWIGRUNTIMEINLINE PyObject * _SWIG_This (void)
SWIGRUNTIME PyObject * SWIG_This (void)
SWIGRUNTIME SwigPyObjectSWIG_Python_GetSwigThis (PyObject *pyobj)
SWIGRUNTIME int SWIG_Python_AcquirePtr (PyObject *obj, int own)
SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn (PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own)
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr (PyObject *obj, void **ptr, swig_type_info *ty)
SWIGRUNTIME int SWIG_Python_ConvertPacked (PyObject *obj, void *ptr, size_t sz, swig_type_info *ty)
SWIGRUNTIME PyObject * SWIG_Python_NewShadowInstance (SwigPyClientData *data, PyObject *swig_this)
SWIGRUNTIME void SWIG_Python_SetSwigThis (PyObject *inst, PyObject *swig_this)
SWIGINTERN PyObject * SWIG_Python_InitShadowInstance (PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj (void *ptr, swig_type_info *type, int flags)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj (void *ptr, size_t sz, swig_type_info *type)
SWIGRUNTIME swig_module_infoSWIG_Python_GetModule (void)
SWIGINTERN int PyModule_AddObject (PyObject *m, char *name, PyObject *o)
SWIGRUNTIME void SWIG_Python_DestroyModule (void *vptr)
SWIGRUNTIME void SWIG_Python_SetModule (swig_module_info *swig_module)
SWIGRUNTIME PyObject * SWIG_Python_TypeCache (void)
SWIGRUNTIME swig_type_infoSWIG_Python_TypeQuery (const char *type)
SWIGRUNTIME int SWIG_Python_AddErrMesg (const char *mesg, int infront)
SWIGRUNTIME int SWIG_Python_ArgFail (int argnum)
SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc (PyObject *self)
SWIGRUNTIME void SWIG_Python_TypeError (const char *type, PyObject *obj)
SWIGRUNTIME void * SWIG_Python_MustGetPtr (PyObject *obj, swig_type_info *ty, int argnum, int flags)
SWIGINTERN int SWIG_AsVal_double (PyObject *obj, double *val)
SWIGINTERNINLINE int SWIG_CanCastAsInteger (double *d, double min, double max)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
SWIGINTERNINLINE int SWIG_AsVal_size_t (PyObject *obj, size_t *val)
SWIGINTERN intArraynew_intArray (size_t nelements)
SWIGINTERN void delete_intArray (intArray *self)
SWIGINTERN int intArray___getitem__ (intArray *self, size_t index)
SWIGINTERNINLINE PyObject * SWIG_From_int (int value)
SWIGINTERN int SWIG_AsVal_long (PyObject *obj, long *val)
SWIGINTERN int SWIG_AsVal_int (PyObject *obj, int *val)
SWIGINTERN void intArray___setitem__ (intArray *self, size_t index, int value)
SWIGINTERN int * intArray_cast (intArray *self)
SWIGINTERN intArrayintArray_frompointer (int *t)
SWIGINTERN longArraynew_longArray (size_t nelements)
SWIGINTERN void delete_longArray (longArray *self)
SWIGINTERN long longArray___getitem__ (longArray *self, size_t index)
SWIGINTERN void longArray___setitem__ (longArray *self, size_t index, long value)
SWIGINTERN long * longArray_cast (longArray *self)
SWIGINTERN longArraylongArray_frompointer (long *t)
SWIGINTERN floatArraynew_floatArray (size_t nelements)
SWIGINTERN void delete_floatArray (floatArray *self)
SWIGINTERN float floatArray___getitem__ (floatArray *self, size_t index)
SWIGINTERNINLINE PyObject * SWIG_From_float (float value)
SWIGINTERN int SWIG_AsVal_float (PyObject *obj, float *val)
SWIGINTERN void floatArray___setitem__ (floatArray *self, size_t index, float value)
SWIGINTERN float * floatArray_cast (floatArray *self)
SWIGINTERN floatArrayfloatArray_frompointer (float *t)
SWIGINTERN doubleArraynew_doubleArray (size_t nelements)
SWIGINTERN void delete_doubleArray (doubleArray *self)
SWIGINTERN double doubleArray___getitem__ (doubleArray *self, size_t index)
SWIGINTERN void doubleArray___setitem__ (doubleArray *self, size_t index, double value)
SWIGINTERN double * doubleArray_cast (doubleArray *self)
SWIGINTERN doubleArraydoubleArray_frompointer (double *t)
SWIGINTERN swig_type_infoSWIG_pchar_descriptor (void)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize (const char *carray, size_t size)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtr (const char *cptr)
SWIGINTERN int SWIG_AsCharPtrAndSize (PyObject *obj, char **cptr, size_t *psize, int *alloc)
SWIGINTERN long PySupervCompo_ptr (PySupervCompo *self)
SWIGINTERN PyObject * _wrap_new_intArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_intArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_intArray___getitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_intArray___setitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_intArray_cast (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_intArray_frompointer (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * intArray_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_longArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_longArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_longArray___getitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_longArray___setitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_longArray_cast (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_longArray_frompointer (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * longArray_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_floatArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_floatArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_floatArray___getitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_floatArray___setitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_floatArray_cast (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_floatArray_frompointer (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * floatArray_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_doubleArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_doubleArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_doubleArray___getitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_doubleArray___setitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_doubleArray_cast (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_doubleArray_frompointer (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * doubleArray_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_stringArray__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_stringArray__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_stringArray (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_stringArray (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray___getitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray___setitem__ (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray_data_set (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray_data_get (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray_nelem_set (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray_nelem_get (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray_size_set (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_stringArray_size_get (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * stringArray_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_DSC (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_DSC (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * DSC_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_PySupervCompo (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_PySupervCompo (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_init_service (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_create_provides_data_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_create_uses_data_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_add_port__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_add_port__SWIG_2 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_add_port__SWIG_3 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_add_port (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_get_provides_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_connect_uses_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_connect_provides_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_disconnect_provides_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_disconnect_uses_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_get_port_properties (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_getInputFileToService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_checkInputFilesToService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_setInputFileToService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_getOutputFileToService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_checkOutputFilesToService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_setOutputFileToService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_add_provides_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_add_uses_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_get_uses_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_is_connected (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_setTimeOut (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PySupervCompo_ptr (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * PySupervCompo_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_create_calcium_port (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_cd (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_een (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_edb (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_ere (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_ecp (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_elo (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_ech (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_elg (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_eln (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_len (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_ldb (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_lre (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_lcp (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_llo (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_lch (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_llg (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_lln (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_fini (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_fint (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_effi (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_efft (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_cp_fin (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static void * _p_floatArrayTo_p_float (void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_PySupervCompoTo_p_Superv_Component_i (void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_longArrayTo_p_long (void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_intArrayTo_p_int (void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_doubleArrayTo_p_double (void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME void SWIG_InitializeModule (void *clientdata)
SWIGRUNTIME void SWIG_PropagateClientData (void)
SWIGINTERN PyObject * swig_varlink_repr (swig_varlinkobject *SWIGUNUSEDPARM(v))
SWIGINTERN PyObject * swig_varlink_str (swig_varlinkobject *v)
SWIGINTERN int swig_varlink_print (swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
SWIGINTERN void swig_varlink_dealloc (swig_varlinkobject *v)
SWIGINTERN PyObject * swig_varlink_getattr (swig_varlinkobject *v, char *n)
SWIGINTERN int swig_varlink_setattr (swig_varlinkobject *v, char *n, PyObject *p)
SWIGINTERN PyTypeObject * swig_varlink_type (void)
SWIGINTERN PyObject * SWIG_Python_newvarlink (void)
SWIGINTERN void SWIG_Python_addvarlink (PyObject *p, char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGINTERN PyObject * SWIG_globals (void)
SWIGINTERN void SWIG_Python_InstallConstants (PyObject *d, swig_const_info constants[])
SWIGINTERN void SWIG_Python_FixMethods (PyMethodDef *methods, swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial)
SWIGEXPORT void SWIG_init (void)

Variables

static PyMethodDef swigobject_methods []
static swig_type_infoswig_types [23]
static swig_module_info swig_module = {swig_types, 22, 0, 0, 0, 0}
omniORBpyAPIapi
PyObject * dsc
static PyMethodDef SwigMethods []
static swig_type_info _swigt__p_CORBA__Boolean = {"_p_CORBA__Boolean", "CORBA::Boolean *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_CORBA__ORB_ptr = {"_p_CORBA__ORB_ptr", "CORBA::ORB_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Engines__Container_ptr = {"_p_Engines__Container_ptr", "Engines::Container_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Engines__DSC = {"_p_Engines__DSC", "Engines::DSC *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_PortableServer__POA_ptr = {"_p_PortableServer__POA_ptr", "PortableServer::POA_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Ports__PortProperties_ptr = {"_p_Ports__PortProperties_ptr", "Ports::PortProperties_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Ports__Port_ptr = {"_p_Ports__Port_ptr", "Ports::Port_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_PySupervCompo = {"_p_PySupervCompo", "PySupervCompo *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Superv_Component_i = {"_p_Superv_Component_i", "Superv_Component_i *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_doubleArray = {"_p_doubleArray", "doubleArray *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_floatArray = {"_p_floatArray", "floatArray *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_intArray = {"_p_intArray", "intArray *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_longArray = {"_p_longArray", "longArray *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_provides_port = {"_p_provides_port", "provides_port *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_stringArray = {"_p_stringArray", "stringArray *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_uses_port = {"_p_uses_port", "uses_port *", 0, 0, (void*)0, 0}
static swig_type_infoswig_type_initial []
static swig_cast_info _swigc__p_CORBA__Boolean [] = { {&_swigt__p_CORBA__Boolean, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_CORBA__ORB_ptr [] = { {&_swigt__p_CORBA__ORB_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Engines__Container_ptr [] = { {&_swigt__p_Engines__Container_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Engines__DSC [] = { {&_swigt__p_Engines__DSC, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_PortableServer__POA_ptr [] = { {&_swigt__p_PortableServer__POA_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Ports__PortProperties_ptr [] = { {&_swigt__p_Ports__PortProperties_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Ports__Port_ptr [] = { {&_swigt__p_Ports__Port_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_PySupervCompo [] = { {&_swigt__p_PySupervCompo, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Superv_Component_i [] = { {&_swigt__p_PySupervCompo, _p_PySupervCompoTo_p_Superv_Component_i, 0, 0}, {&_swigt__p_Superv_Component_i, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_char [] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_double [] = { {&_swigt__p_doubleArray, _p_doubleArrayTo_p_double, 0, 0}, {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_doubleArray [] = { {&_swigt__p_doubleArray, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_float [] = { {&_swigt__p_float, 0, 0, 0}, {&_swigt__p_floatArray, _p_floatArrayTo_p_float, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_floatArray [] = { {&_swigt__p_floatArray, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_int [] = { {&_swigt__p_intArray, _p_intArrayTo_p_int, 0, 0}, {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_intArray [] = { {&_swigt__p_intArray, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_long [] = { {&_swigt__p_long, 0, 0, 0}, {&_swigt__p_longArray, _p_longArrayTo_p_long, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_longArray [] = { {&_swigt__p_longArray, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_p_char [] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_provides_port [] = { {&_swigt__p_provides_port, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_stringArray [] = { {&_swigt__p_stringArray, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_uses_port [] = { {&_swigt__p_uses_port, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_infoswig_cast_initial []
static swig_const_info swig_const_table []

Class Documentation

struct swig_type_info

Definition at line 336 of file swig_wrap.cpp.

Collaboration diagram for swig_type_info:
Class Members
struct swig_cast_info * cast
void * clientdata
swig_dycast_func dcast
const char * name
int owndata
const char * str
struct swig_cast_info

Definition at line 346 of file swig_wrap.cpp.

Collaboration diagram for swig_cast_info:
Class Members
swig_converter_func converter
struct swig_cast_info * next
struct swig_cast_info * prev
swig_type_info * type
struct swig_module_info

Definition at line 356 of file swig_wrap.cpp.

Collaboration diagram for swig_module_info:
Class Members
swig_cast_info ** cast_initial
void * clientdata
struct swig_module_info * next
size_t size
swig_type_info ** type_initial
swig_type_info ** types
struct swig_const_info

Definition at line 1059 of file swig_wrap.cpp.

Collaboration diagram for swig_const_info:
Class Members
double dvalue
long lvalue
char * name
swig_type_info ** ptype
void * pvalue
int type
struct SwigPyClientData

Definition at line 1332 of file swig_wrap.cpp.

Class Members
int delargs
PyObject * destroy
int implicitconv
PyObject * klass
PyObject * newargs
PyObject * newraw
struct SwigPyObject

Definition at line 1419 of file swig_wrap.cpp.

Collaboration diagram for SwigPyObject:
Class Members
PyObject * next
int own
PyObject_HEAD void * ptr
swig_type_info * ty
struct SwigPyPacked

Definition at line 1874 of file swig_wrap.cpp.

Collaboration diagram for SwigPyPacked:
Class Members
PyObject_HEAD void * pack
size_t size
swig_type_info * ty
struct swig_varlinkobject

Definition at line 3395 of file swig_wrap.cpp.

Collaboration diagram for swig_varlinkobject:
Class Members
PyObject_HEAD swig_globalvar * vars

Define Documentation

#define Py_NotImplemented   PyExc_RuntimeError

Definition at line 863 of file calcium_wrap.cpp.

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 897 of file calcium_wrap.cpp.

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 898 of file calcium_wrap.cpp.

#define Py_TYPE (   op)    ((op)->ob_type)

Definition at line 764 of file calcium_wrap.cpp.

#define PyExc_StopIteration   PyExc_RuntimeError

Definition at line 853 of file calcium_wrap.cpp.

#define PyObject_Del (   op)    PyMem_DEL((op))

Definition at line 844 of file calcium_wrap.cpp.

#define PyObject_DEL   PyObject_Del

Definition at line 847 of file calcium_wrap.cpp.

#define PyObject_GenericGetAttr   0

Definition at line 856 of file calcium_wrap.cpp.

#define PyOS_snprintf   snprintf

Definition at line 819 of file calcium_wrap.cpp.

#define PySequence_Size   PySequence_Length

Definition at line 877 of file calcium_wrap.cpp.

#define PyString_AsStringAndSize (   obj,
  s,
  len 
)    {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}

Definition at line 870 of file calcium_wrap.cpp.

#define SWIG_AcquirePtr (   ptr,
  src 
)    SWIG_Python_AcquirePtr(ptr, src)

Definition at line 1110 of file calcium_wrap.cpp.

#define SWIG_AddCast

Definition at line 321 of file calcium_wrap.cpp.

#define SWIG_AddNewMask (   r)    (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)

Definition at line 297 of file calcium_wrap.cpp.

#define SWIG_AddTmpMask (   r)    (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)

Definition at line 300 of file calcium_wrap.cpp.

#define SWIG_addvarlink (   p,
  name,
  get_attr,
  set_attr 
)    SWIG_Python_addvarlink(p, name, get_attr, set_attr)

Definition at line 11433 of file calcium_wrap.cpp.

#define SWIG_arg_fail (   arg)    SWIG_Python_ArgFail(arg)

Definition at line 2562 of file calcium_wrap.cpp.

#define SWIG_ArgError (   r)    ((r != SWIG_ERROR) ? r : SWIG_TypeError)

Definition at line 283 of file calcium_wrap.cpp.

#define SWIG_as_voidptr (   a)    const_cast< void * >(static_cast< const void * >(a))

Definition at line 2739 of file calcium_wrap.cpp.

#define SWIG_as_voidptrptr (   a)    ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))

Definition at line 2740 of file calcium_wrap.cpp.

#define SWIG_AttributeError   -11

Definition at line 746 of file calcium_wrap.cpp.

#define SWIG_BADOBJ   (SWIG_ERROR)

Definition at line 292 of file calcium_wrap.cpp.

#define SWIG_BUFFER_SIZE   1024

Definition at line 190 of file calcium_wrap.cpp.

#define SWIG_CAST_NEW_MEMORY   0x2

Definition at line 195 of file calcium_wrap.cpp.

#define SWIG_CASTRANKLIMIT   (1 << 8)

Definition at line 286 of file calcium_wrap.cpp.

#define SWIG_CheckImplicit (   ty)    SWIG_Python_CheckImplicit(ty)

Definition at line 1109 of file calcium_wrap.cpp.

#define SWIG_CheckState (   r)    (SWIG_IsOK(r) ? 1 : 0)

Definition at line 322 of file calcium_wrap.cpp.

#define SWIG_contract_assert (   expr,
  msg 
)    if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else

Definition at line 2679 of file calcium_wrap.cpp.

#define SWIG_ConvertFunctionPtr (   obj,
  pptr,
  type 
)    SWIG_Python_ConvertFunctionPtr(obj, pptr, type)

Definition at line 1122 of file calcium_wrap.cpp.

#define SWIG_ConvertInstance (   obj,
  pptr,
  type,
  flags 
)    SWIG_ConvertPtr(obj, pptr, type, flags)

Definition at line 1118 of file calcium_wrap.cpp.

#define SWIG_ConvertMember (   obj,
  ptr,
  sz,
  ty 
)    SWIG_Python_ConvertPacked(obj, ptr, sz, ty)

Definition at line 1126 of file calcium_wrap.cpp.

#define SWIG_ConvertPacked (   obj,
  ptr,
  sz,
  ty 
)    SWIG_Python_ConvertPacked(obj, ptr, sz, ty)

Definition at line 1114 of file calcium_wrap.cpp.

#define SWIG_ConvertPtr (   obj,
  pptr,
  type,
  flags 
)    SWIG_Python_ConvertPtr(obj, pptr, type, flags)

Definition at line 1106 of file calcium_wrap.cpp.

#define SWIG_ConvertPtrAndOwn (   obj,
  pptr,
  type,
  flags,
  own 
)    SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)

Definition at line 1107 of file calcium_wrap.cpp.

#define SWIG_DelNewMask (   r)    (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)

Definition at line 298 of file calcium_wrap.cpp.

#define SWIG_DelTmpMask (   r)    (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)

Definition at line 301 of file calcium_wrap.cpp.

#define SWIG_DivisionByZero   -6

Definition at line 741 of file calcium_wrap.cpp.

#define SWIG_ERROR   (-1)

Definition at line 281 of file calcium_wrap.cpp.

#define SWIG_Error (   code,
  msg 
)    SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)

Definition at line 1139 of file calcium_wrap.cpp.

#define SWIG_ErrorType (   code)    SWIG_Python_ErrorType(code)

Definition at line 1138 of file calcium_wrap.cpp.

#define SWIG_exception (   code,
  msg 
)    do { SWIG_Error(code, msg); SWIG_fail;; } while(0)

Definition at line 2683 of file calcium_wrap.cpp.

#define SWIG_exception_fail (   code,
  msg 
)    do { SWIG_Error(code, msg); SWIG_fail; } while(0)

Definition at line 2677 of file calcium_wrap.cpp.

#define SWIG_fail   goto fail

Definition at line 1140 of file calcium_wrap.cpp.

#define SWIG_From_double   PyFloat_FromDouble

Definition at line 3417 of file calcium_wrap.cpp.

#define SWIG_From_long   PyInt_FromLong

Definition at line 3300 of file calcium_wrap.cpp.

#define SWIG_GetModule (   clientdata)    SWIG_Python_GetModule()

Definition at line 1132 of file calcium_wrap.cpp.

#define SWIG_IndexError   -4

Definition at line 739 of file calcium_wrap.cpp.

#define SWIG_init   init_calcium

Definition at line 2730 of file calcium_wrap.cpp.

#define SWIG_InstallConstants (   d,
  constants 
)    SWIG_Python_InstallConstants(d, constants)

Definition at line 11434 of file calcium_wrap.cpp.

#define SWIG_IOError   -2

Definition at line 737 of file calcium_wrap.cpp.

#define SWIG_IsNewObj (   r)    (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))

Definition at line 299 of file calcium_wrap.cpp.

#define SWIG_IsOK (   r)    (r >= 0)

Definition at line 282 of file calcium_wrap.cpp.

#define SWIG_IsTmpObj (   r)    (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))

Definition at line 302 of file calcium_wrap.cpp.

Definition at line 2713 of file calcium_wrap.cpp.

#define SWIG_MemoryError   -12

Definition at line 747 of file calcium_wrap.cpp.

#define SWIG_MustGetPtr (   p,
  type,
  argnum,
  flags 
)    SWIG_Python_MustGetPtr(p, type, argnum, flags)

Definition at line 2563 of file calcium_wrap.cpp.

#define SWIG_name   "_calcium"

Definition at line 2733 of file calcium_wrap.cpp.

#define SWIG_NewClientData (   obj)    SwigPyClientData_New(obj)

Definition at line 1134 of file calcium_wrap.cpp.

#define SWIG_NewFunctionPtrObj (   ptr,
  type 
)    SWIG_Python_NewPointerObj(ptr, type, 0)

Definition at line 1123 of file calcium_wrap.cpp.

#define SWIG_NewInstanceObj (   ptr,
  type,
  flags 
)    SWIG_NewPointerObj(ptr, type, flags)

Definition at line 1119 of file calcium_wrap.cpp.

#define SWIG_NewMemberObj (   ptr,
  sz,
  type 
)    SWIG_Python_NewPackedObj(ptr, sz, type)

Definition at line 1127 of file calcium_wrap.cpp.

Definition at line 294 of file calcium_wrap.cpp.

#define SWIG_NEWOBJMASK   (SWIG_CASTRANKLIMIT << 1)

Definition at line 288 of file calcium_wrap.cpp.

#define SWIG_NewPackedObj (   ptr,
  sz,
  type 
)    SWIG_Python_NewPackedObj(ptr, sz, type)

Definition at line 1115 of file calcium_wrap.cpp.

#define SWIG_NewPointerObj (   ptr,
  type,
  flags 
)    SWIG_Python_NewPointerObj(ptr, type, flags)

Definition at line 1108 of file calcium_wrap.cpp.

Definition at line 11432 of file calcium_wrap.cpp.

#define SWIG_NullReferenceError   -13

Definition at line 748 of file calcium_wrap.cpp.

#define SWIG_OK   (0)

Definition at line 280 of file calcium_wrap.cpp.

#define SWIG_OLDOBJ   (SWIG_OK)

Definition at line 293 of file calcium_wrap.cpp.

#define SWIG_OverflowError   -7

Definition at line 742 of file calcium_wrap.cpp.

#define swig_owntype   int

Definition at line 1111 of file calcium_wrap.cpp.

#define SWIG_POINTER_DISOWN   0x1

Definition at line 194 of file calcium_wrap.cpp.

#define SWIG_POINTER_EXCEPTION   0

Definition at line 2561 of file calcium_wrap.cpp.

Definition at line 1282 of file calcium_wrap.cpp.

Definition at line 1280 of file calcium_wrap.cpp.

Definition at line 1279 of file calcium_wrap.cpp.

#define SWIG_POINTER_OWN   0x1

Definition at line 198 of file calcium_wrap.cpp.

#define SWIG_PY_BINARY   5

Definition at line 1056 of file calcium_wrap.cpp.

#define SWIG_PY_POINTER   4

Definition at line 1055 of file calcium_wrap.cpp.

#define SWIG_PYBUFFER_SIZE   1024

Definition at line 827 of file calcium_wrap.cpp.

#define SWIG_Python_CallFunctor (   functor,
  obj 
)    PyObject_CallFunction(functor, "O", obj);

Definition at line 1261 of file calcium_wrap.cpp.

#define SWIG_Python_ConvertPtr (   obj,
  pptr,
  type,
  flags 
)    SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)

Definition at line 1105 of file calcium_wrap.cpp.

Definition at line 12 of file calcium_wrap.cpp.

Definition at line 1032 of file calcium_wrap.cpp.

#define SWIG_Python_Raise (   obj,
  type,
  desc 
)    SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)

Definition at line 1162 of file calcium_wrap.cpp.

#define SWIG_Python_str_DelForPy3 (   x)

Definition at line 800 of file calcium_wrap.cpp.

Definition at line 772 of file calcium_wrap.cpp.

Definition at line 1035 of file calcium_wrap.cpp.

Definition at line 1033 of file calcium_wrap.cpp.

Definition at line 1036 of file calcium_wrap.cpp.

Definition at line 1034 of file calcium_wrap.cpp.

#define SWIG_RUNTIME_VERSION   "4"

Definition at line 160 of file calcium_wrap.cpp.

#define SWIG_RuntimeError   -3

Definition at line 738 of file calcium_wrap.cpp.

Definition at line 1137 of file calcium_wrap.cpp.

Definition at line 1136 of file calcium_wrap.cpp.

#define SWIG_SetModule (   clientdata,
  pointer 
)    SWIG_Python_SetModule(pointer)

Definition at line 1133 of file calcium_wrap.cpp.

#define SWIG_STATIC_POINTER (   var)    var = 0; if (!var) var

Definition at line 1271 of file calcium_wrap.cpp.

#define SWIG_SyntaxError   -8

Definition at line 743 of file calcium_wrap.cpp.

#define SWIG_SystemError   -10

Definition at line 745 of file calcium_wrap.cpp.

Definition at line 295 of file calcium_wrap.cpp.

#define SWIG_TMPOBJMASK   (SWIG_NEWOBJMASK << 1)

Definition at line 290 of file calcium_wrap.cpp.

Definition at line 168 of file calcium_wrap.cpp.

#define SWIG_TypeError   -5

Definition at line 740 of file calcium_wrap.cpp.

#define SWIG_TypeQuery (   name)    SWIG_TypeQueryModule(&swig_module, &swig_module, name)

Definition at line 2712 of file calcium_wrap.cpp.

#define SWIG_UnknownError   -1

Definition at line 736 of file calcium_wrap.cpp.

#define SWIG_ValueError   -9

Definition at line 744 of file calcium_wrap.cpp.

#define SWIG_VERSION   SWIGVERSION

Definition at line 2736 of file calcium_wrap.cpp.

#define SWIGEXPORT

Definition at line 122 of file calcium_wrap.cpp.

#define SWIGINLINE

Definition at line 61 of file calcium_wrap.cpp.

#define SWIGINTERN   static SWIGUNUSED

Definition at line 96 of file calcium_wrap.cpp.

Definition at line 101 of file calcium_wrap.cpp.

#define SWIGPYTHON

Definition at line 11 of file calcium_wrap.cpp.

#define SWIGRUNTIME   SWIGINTERN

Definition at line 181 of file calcium_wrap.cpp.

Definition at line 185 of file calcium_wrap.cpp.

#define SWIGSTDCALL

Definition at line 132 of file calcium_wrap.cpp.

Definition at line 52 of file calcium_wrap.cpp.

#define SWIGTYPE_p_char   swig_types[9]

Definition at line 2697 of file calcium_wrap.cpp.

Definition at line 2688 of file calcium_wrap.cpp.

Definition at line 2689 of file calcium_wrap.cpp.

#define SWIGTYPE_p_double   swig_types[10]

Definition at line 2698 of file calcium_wrap.cpp.

Definition at line 2699 of file calcium_wrap.cpp.

Definition at line 2690 of file calcium_wrap.cpp.

Definition at line 2691 of file calcium_wrap.cpp.

#define SWIGTYPE_p_float   swig_types[12]

Definition at line 2700 of file calcium_wrap.cpp.

Definition at line 2701 of file calcium_wrap.cpp.

#define SWIGTYPE_p_int   swig_types[14]

Definition at line 2702 of file calcium_wrap.cpp.

#define SWIGTYPE_p_intArray   swig_types[15]

Definition at line 2703 of file calcium_wrap.cpp.

#define SWIGTYPE_p_long   swig_types[16]

Definition at line 2704 of file calcium_wrap.cpp.

#define SWIGTYPE_p_longArray   swig_types[17]

Definition at line 2705 of file calcium_wrap.cpp.

#define SWIGTYPE_p_p_char   swig_types[18]

Definition at line 2706 of file calcium_wrap.cpp.

Definition at line 2692 of file calcium_wrap.cpp.

Definition at line 2694 of file calcium_wrap.cpp.

Definition at line 2693 of file calcium_wrap.cpp.

Definition at line 2707 of file calcium_wrap.cpp.

Definition at line 2695 of file calcium_wrap.cpp.

Definition at line 2708 of file calcium_wrap.cpp.

Definition at line 2696 of file calcium_wrap.cpp.

#define SWIGTYPE_p_uses_port   swig_types[21]

Definition at line 2709 of file calcium_wrap.cpp.

#define SWIGUNUSED

Definition at line 76 of file calcium_wrap.cpp.

#define SWIGUNUSEDPARM (   p)    p SWIGUNUSED

Definition at line 90 of file calcium_wrap.cpp.

#define SWIGVERSION   0x010340

Definition at line 2735 of file calcium_wrap.cpp.


Typedef Documentation

typedef PyObject ArrayObject

Definition at line 3149 of file calcium_wrap.cpp.

typedef double doubleArray

Definition at line 3452 of file calcium_wrap.cpp.

typedef float floatArray

Definition at line 3405 of file calcium_wrap.cpp.

typedef int intArray

Definition at line 3154 of file calcium_wrap.cpp.

typedef long longArray

Definition at line 3384 of file calcium_wrap.cpp.

typedef int Py_ssize_t

Definition at line 896 of file calcium_wrap.cpp.

typedef void*(* swig_converter_func)(void *, int *)

Definition at line 332 of file calcium_wrap.cpp.

typedef struct swig_type_info*(* swig_dycast_func)(void **)

Definition at line 333 of file calcium_wrap.cpp.


Function Documentation

static void* _p_doubleArrayTo_p_double ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 11080 of file calcium_wrap.cpp.

                                                                                {
    return (void *)((double *)  ((doubleArray *) x));
}
static void* _p_floatArrayTo_p_float ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 11068 of file calcium_wrap.cpp.

                                                                              {
    return (void *)((float *)  ((floatArray *) x));
}
static void* _p_intArrayTo_p_int ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 11077 of file calcium_wrap.cpp.

                                                                          {
    return (void *)((int *)  ((intArray *) x));
}
static void* _p_longArrayTo_p_long ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 11074 of file calcium_wrap.cpp.

                                                                            {
    return (void *)((long *)  ((longArray *) x));
}
static void* _p_PySupervCompoTo_p_Superv_Component_i ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 11071 of file calcium_wrap.cpp.

                                                                                              {
    return (void *)((Superv_Component_i *)  ((PySupervCompo *) x));
}
SWIGRUNTIME PyTypeObject* _PySwigObject_type ( void  )
SWIGRUNTIME PyTypeObject* _PySwigPacked_type ( void  )
SWIGRUNTIMEINLINE PyObject* _SWIG_This ( void  )

Definition at line 2069 of file calcium_wrap.cpp.

{
    return SWIG_Python_str_FromChar("this");
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_cd ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 7542 of file calcium_wrap.cpp.

                                                                                 {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[1024+1] ;
  PyObject * obj0 = 0 ;
  int result;
  
  arg2 = (char *) temp2;
  if (!PyArg_ParseTuple(args,(char *)"O:cp_cd",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_cd" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_cd(arg1,arg2);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  arg2[1024] = 0;  
  resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_FromCharPtr(arg2));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_ech ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 8412 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  char **arg7 = (char **) 0 ;
  int arg8 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_ech",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_ech" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_ech" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_ech" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_ech" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_ech" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_ech" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    stringArray* sarray;
    if ((SWIG_ConvertPtr(obj6, (void **) &sarray, SWIGTYPE_p_stringArray,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_STRING, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (char**) malloc(array_size(array7,0)*sizeof(char*));
      arg8 = array7->strides[0];
      for(int i=0;i<array_size(array7,0);i++)
      {
        arg7[i]=(char*) malloc(sizeof(char)*(array7->strides[0]+1));
        strncpy(arg7[i],(char*) array7->data + i* array7->strides[0],array7->strides[0]);
        *(arg7[i]+array7->strides[0])='\0';
      }
#else
      SWIG_exception(SWIG_TypeError, "string array expected");
#endif
    }
    else
    {
      arg7=sarray->data;
      arg8=sarray->size;
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_ech(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (array7)
    {
      for(int i=0;i<array_size(array7,0);i++)
      free(arg7[i]);
      free(arg7);
    }
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (array7)
    {
      for(int i=0;i<array_size(array7,0);i++)
      free(arg7[i]);
      free(arg7);
    }
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_ecp ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 8096 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  float *arg7 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_ecp",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_ecp" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_ecp" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_ecp" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_ecp" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_ecp" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_ecp" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_float,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_CFLOAT, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (float*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "complex array expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_ecp(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_edb ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 7780 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  double arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  double *arg7 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_edb",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_edb" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_edb" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_edb" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_edb" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_edb" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_edb" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_double,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_DOUBLE, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (double*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "double* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_edb(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_een ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 7622 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  int *arg7 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_een",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_een" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_een" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_een" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_een" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_een" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_een" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_int,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (int*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "int* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_een(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_effi ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10623 of file calcium_wrap.cpp.

                                                                                   {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:cp_effi",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_effi" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cp_effi" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_effi" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_effi(arg1,arg2,arg3);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_efft ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10719 of file calcium_wrap.cpp.

                                                                                   {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:cp_efft",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_efft" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cp_efft" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_efft" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_efft(arg1,arg2,arg3);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_elg ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 8596 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  long *arg7 = (long *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_elg",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_elg" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_elg" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_elg" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_elg" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_elg" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_elg" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_long,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_LONG, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (long*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "long* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_elg(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_eln ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 8754 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  long *arg7 = (long *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_eln",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_eln" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_eln" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_eln" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_eln" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_eln" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_eln" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_long,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_LONG, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (long*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "long* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_eln(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_elo ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 8254 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  int *arg7 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_elo",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_elo" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_elo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_elo" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_elo" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_elo" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_elo" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_int,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_INT, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (int*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "int* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_elo(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_ere ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 7938 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float arg3 ;
  int arg4 ;
  char *arg5 = (char *) 0 ;
  int arg6 ;
  float *arg7 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  ArrayObject *array7 = NULL ;
  int is_new_object7 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOO:cp_ere",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_ere" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_ere" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_ere" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cp_ere" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cp_ere" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  ecode6 = SWIG_AsVal_int(obj5, &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cp_ere" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  {
    if ((SWIG_ConvertPtr(obj6, (void **) &arg7, SWIGTYPE_p_float,0)) == -1)
    {
#ifdef WITH_NUMPY
      int size[1] = {
        -1
      };
      array7 = obj_to_array_contiguous_allow_conversion(obj6, PyArray_FLOAT, &is_new_object7);
      if (!array7 || !require_dimensions(array7,1) || !require_size(array7,size,1)) SWIG_fail;
      arg7 = (float*) array7->data;
#else
      SWIG_exception(SWIG_TypeError, "float* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_ere(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return resultobj;
fail:
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  {
#ifdef WITH_NUMPY
    if (is_new_object7 && array7) 
    {
      Py_DECREF(array7);
    }
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_fin ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10815 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:cp_fin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_fin" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_fin" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_fin(arg1,arg2);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_fini ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10431 of file calcium_wrap.cpp.

                                                                                   {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:cp_fini",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_fini" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cp_fini" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_fini" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_fini(arg1,arg2,arg3);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_fint ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10527 of file calcium_wrap.cpp.

                                                                                   {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  char *arg2 = (char *) 0 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:cp_fint",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_fint" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cp_fint" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cp_fint" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_fint(arg1,arg2,arg3);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_lch ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 9847 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  char **arg9 = (char **) 0 ;
  int arg10 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_lch",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_lch" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_lch" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lch" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lch" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lch" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_lch" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_lch" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    stringArray* sarray;
    if ((SWIG_ConvertPtr(obj7, (void **) &sarray, SWIGTYPE_p_stringArray ,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_STRING);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (char**) malloc(array_size(temp9,0)*sizeof(char*));
      arg10 = temp9->strides[0];
      for(int i=0;i<array_size(temp9,0);i++)
      {
        arg9[i]=(char*) temp9->data+i*temp9->strides[0];
        memset(arg9[i],0,temp9->strides[0]); //numpy strings must be completed with 0 up to elsize
      }
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "string array expected");
#endif
    }
    else
    {
      arg9=sarray->data;
      arg10=sarray->size;
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_lch(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  {
#ifdef WITH_NUMPY
    if (temp9) free(arg9);
#endif
  }
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  {
#ifdef WITH_NUMPY
    if (temp9) free(arg9);
#endif
  }
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_lcp ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 9473 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  float *arg9 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_lcp",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_lcp" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_lcp" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lcp" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lcp" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lcp" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_lcp" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_lcp" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_float,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_CFLOAT);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (float*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "complex array expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_lcp(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_ldb ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 9099 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  double *arg3 = (double *) 0 ;
  double *arg4 = (double *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  double *arg9 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  double temp3 ;
  int res3 = 0 ;
  double temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_ldb",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_ldb" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_ldb" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_double,0))))) {
    double val; 
    int ecode = SWIG_AsVal_double(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_ldb" "', argument " "3"" of type '" "double""'");
    }
    temp3 = static_cast< double >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_double,0))))) {
    double val; 
    int ecode = SWIG_AsVal_double(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_ldb" "', argument " "4"" of type '" "double""'");
    }
    temp4 = static_cast< double >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_ldb" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_ldb" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_ldb" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_double,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_DOUBLE);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (double*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "double* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_ldb(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_len ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 8912 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  int *arg9 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_len",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_len" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_len" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_len" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_len" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_len" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_len" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_len" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_int,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_INT);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (int*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "int* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_len(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_llg ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10057 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  long *arg9 = (long *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_llg",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_llg" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_llg" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_llg" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_llg" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_llg" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_llg" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_llg" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_long,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_LONG);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (long*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "long* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_llg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_lln ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 10244 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  long *arg9 = (long *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_lln",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_lln" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_lln" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lln" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lln" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lln" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_lln" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_lln" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_long,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_LONG);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (long*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "long* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_lln(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_llo ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 9660 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  int *arg9 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_llo",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_llo" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_llo" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_llo" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_llo" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_llo" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_llo" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_llo" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_int,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_INT);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (int*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "int* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_llo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_cp_lre ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 9286 of file calcium_wrap.cpp.

                                                                                  {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  int arg2 ;
  float *arg3 = (float *) 0 ;
  float *arg4 = (float *) 0 ;
  int *arg5 = (int *) 0 ;
  char *arg6 = (char *) 0 ;
  int arg7 ;
  int *arg8 = (int *) 0 ;
  float *arg9 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  float temp3 ;
  int res3 = 0 ;
  float temp4 ;
  int res4 = 0 ;
  int temp5 ;
  int res5 = 0 ;
  int res6 ;
  char *buf6 = 0 ;
  int alloc6 = 0 ;
  int val7 ;
  int ecode7 = 0 ;
  int temp8 ;
  int res8 = SWIG_TMPOBJ ;
  ArrayObject *temp9 = NULL ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  int result;
  
  arg8 = &temp8;
  if (!PyArg_ParseTuple(args,(char *)"OOOOOOOO:cp_lre",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cp_lre" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cp_lre" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (!(SWIG_IsOK((res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj2, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lre" "', argument " "3"" of type '" "float""'");
    }
    temp3 = static_cast< float >(val);
    arg3 = &temp3;
    res3 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res4 = SWIG_ConvertPtr(obj3,SWIG_as_voidptrptr(&arg4),SWIGTYPE_p_float,0))))) {
    float val; 
    int ecode = SWIG_AsVal_float(obj3, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lre" "', argument " "4"" of type '" "float""'");
    }
    temp4 = static_cast< float >(val);
    arg4 = &temp4;
    res4 = SWIG_AddTmpMask(ecode);
  }
  if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) {
    int val; 
    int ecode = SWIG_AsVal_int(obj4, &val);
    if (!SWIG_IsOK(ecode)) {
      SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "cp_lre" "', argument " "5"" of type '" "int""'");
    }
    temp5 = static_cast< int >(val);
    arg5 = &temp5;
    res5 = SWIG_AddTmpMask(ecode);
  }
  res6 = SWIG_AsCharPtrAndSize(obj5, &buf6, NULL, &alloc6);
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cp_lre" "', argument " "6"" of type '" "char *""'");
  }
  arg6 = reinterpret_cast< char * >(buf6);
  ecode7 = SWIG_AsVal_int(obj6, &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "cp_lre" "', argument " "7"" of type '" "int""'");
  } 
  arg7 = static_cast< int >(val7);
  {
    if ((SWIG_ConvertPtr(obj7, (void **) &arg9, SWIGTYPE_p_float,0)) == -1)
    {
#ifdef WITH_NUMPY
      temp9 = obj_to_array_no_conversion(obj7,PyArray_FLOAT);
      if (!temp9  || !require_contiguous(temp9)) SWIG_fail;
      arg9 = (float*) temp9->data;
#else
      temp9 = NULL;
      SWIG_exception(SWIG_TypeError, "float* expected");
#endif
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)cp_lre(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
  }
  if (SWIG_IsTmpObj(res5)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
  } else {
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsTmpObj(res8)) {
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg8)));
  } else {
    int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_int, new_flags));
  }
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return resultobj;
fail:
  if (SWIG_IsNewObj(res4)) delete arg4;
  if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_create_calcium_port ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 7420 of file calcium_wrap.cpp.

                                                                                               {
  PyObject *resultobj = 0;
  Superv_Component_i *arg1 = (Superv_Component_i *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:create_calcium_port",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Superv_Component_i, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "create_calcium_port" "', argument " "1"" of type '" "Superv_Component_i *""'"); 
  }
  arg1 = reinterpret_cast< Superv_Component_i * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "create_calcium_port" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "create_calcium_port" "', argument " "3"" of type '" "char *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "create_calcium_port" "', argument " "4"" of type '" "char *""'");
  }
  arg4 = reinterpret_cast< char * >(buf4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "create_calcium_port" "', argument " "5"" of type '" "char *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      create_calcium_port(arg1,arg2,arg3,arg4,arg5);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_doubleArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4143 of file calcium_wrap.cpp.

                                                                                              {
  PyObject *resultobj = 0;
  doubleArray *arg1 = (doubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_doubleArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doubleArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_doubleArray" "', argument " "1"" of type '" "doubleArray *""'"); 
  }
  arg1 = reinterpret_cast< doubleArray * >(argp1);
  delete_doubleArray(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_DSC ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4707 of file calcium_wrap.cpp.

                                                                                      {
  PyObject *resultobj = 0;
  Engines::DSC *arg1 = (Engines::DSC *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_DSC",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Engines__DSC, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DSC" "', argument " "1"" of type '" "Engines::DSC *""'"); 
  }
  arg1 = reinterpret_cast< Engines::DSC * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      delete arg1;
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_floatArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3979 of file calcium_wrap.cpp.

                                                                                             {
  PyObject *resultobj = 0;
  floatArray *arg1 = (floatArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_floatArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_floatArray" "', argument " "1"" of type '" "floatArray *""'"); 
  }
  arg1 = reinterpret_cast< floatArray * >(argp1);
  delete_floatArray(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_intArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3651 of file calcium_wrap.cpp.

                                                                                           {
  PyObject *resultobj = 0;
  intArray *arg1 = (intArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_intArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intArray" "', argument " "1"" of type '" "intArray *""'"); 
  }
  arg1 = reinterpret_cast< intArray * >(argp1);
  delete_intArray(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_longArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3815 of file calcium_wrap.cpp.

                                                                                            {
  PyObject *resultobj = 0;
  longArray *arg1 = (longArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_longArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_longArray" "', argument " "1"" of type '" "longArray *""'"); 
  }
  arg1 = reinterpret_cast< longArray * >(argp1);
  delete_longArray(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_PySupervCompo ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4944 of file calcium_wrap.cpp.

                                                                                                {
  PyObject *resultobj = 0;
  PySupervCompo *arg1 = (PySupervCompo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_PySupervCompo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PySupervCompo, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PySupervCompo" "', argument " "1"" of type '" "PySupervCompo *""'"); 
  }
  arg1 = reinterpret_cast< PySupervCompo * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      delete arg1;
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_delete_stringArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4384 of file calcium_wrap.cpp.

                                                                                              {
  PyObject *resultobj = 0;
  stringArray *arg1 = (stringArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_stringArray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_stringArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_stringArray" "', argument " "1"" of type '" "stringArray *""'"); 
  }
  arg1 = reinterpret_cast< stringArray * >(argp1);
  delete arg1;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_doubleArray___getitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4164 of file calcium_wrap.cpp.

                                                                                                   {
  PyObject *resultobj = 0;
  doubleArray *arg1 = (doubleArray *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  double result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:doubleArray___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleArray___getitem__" "', argument " "1"" of type '" "doubleArray *""'"); 
  }
  arg1 = reinterpret_cast< doubleArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleArray___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (double)doubleArray___getitem__(arg1,arg2);
  resultobj = SWIG_From_double(static_cast< double >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_doubleArray___setitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4195 of file calcium_wrap.cpp.

                                                                                                   {
  PyObject *resultobj = 0;
  doubleArray *arg1 = (doubleArray *) 0 ;
  size_t arg2 ;
  double arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:doubleArray___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleArray___setitem__" "', argument " "1"" of type '" "doubleArray *""'"); 
  }
  arg1 = reinterpret_cast< doubleArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "doubleArray___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_double(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "doubleArray___setitem__" "', argument " "3"" of type '" "double""'");
  } 
  arg3 = static_cast< double >(val3);
  doubleArray___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_doubleArray_cast ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4234 of file calcium_wrap.cpp.

                                                                                            {
  PyObject *resultobj = 0;
  doubleArray *arg1 = (doubleArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  double *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:doubleArray_cast",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_doubleArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleArray_cast" "', argument " "1"" of type '" "doubleArray *""'"); 
  }
  arg1 = reinterpret_cast< doubleArray * >(argp1);
  result = (double *)doubleArray_cast(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_doubleArray_frompointer ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4256 of file calcium_wrap.cpp.

                                                                                                   {
  PyObject *resultobj = 0;
  double *arg1 = (double *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  doubleArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:doubleArray_frompointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_double, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "doubleArray_frompointer" "', argument " "1"" of type '" "double *""'"); 
  }
  arg1 = reinterpret_cast< double * >(argp1);
  result = (doubleArray *)doubleArray_frompointer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doubleArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_floatArray___getitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4000 of file calcium_wrap.cpp.

                                                                                                  {
  PyObject *resultobj = 0;
  floatArray *arg1 = (floatArray *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  float result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:floatArray___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatArray___getitem__" "', argument " "1"" of type '" "floatArray *""'"); 
  }
  arg1 = reinterpret_cast< floatArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "floatArray___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (float)floatArray___getitem__(arg1,arg2);
  resultobj = SWIG_From_float(static_cast< float >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_floatArray___setitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4031 of file calcium_wrap.cpp.

                                                                                                  {
  PyObject *resultobj = 0;
  floatArray *arg1 = (floatArray *) 0 ;
  size_t arg2 ;
  float arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:floatArray___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatArray___setitem__" "', argument " "1"" of type '" "floatArray *""'"); 
  }
  arg1 = reinterpret_cast< floatArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "floatArray___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_float(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "floatArray___setitem__" "', argument " "3"" of type '" "float""'");
  } 
  arg3 = static_cast< float >(val3);
  floatArray___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_floatArray_cast ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4070 of file calcium_wrap.cpp.

                                                                                           {
  PyObject *resultobj = 0;
  floatArray *arg1 = (floatArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  float *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:floatArray_cast",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_floatArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatArray_cast" "', argument " "1"" of type '" "floatArray *""'"); 
  }
  arg1 = reinterpret_cast< floatArray * >(argp1);
  result = (float *)floatArray_cast(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_floatArray_frompointer ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4092 of file calcium_wrap.cpp.

                                                                                                  {
  PyObject *resultobj = 0;
  float *arg1 = (float *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  floatArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:floatArray_frompointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_float, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "floatArray_frompointer" "', argument " "1"" of type '" "float *""'"); 
  }
  arg1 = reinterpret_cast< float * >(argp1);
  result = (floatArray *)floatArray_frompointer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_intArray___getitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3672 of file calcium_wrap.cpp.

                                                                                                {
  PyObject *resultobj = 0;
  intArray *arg1 = (intArray *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:intArray___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intArray___getitem__" "', argument " "1"" of type '" "intArray *""'"); 
  }
  arg1 = reinterpret_cast< intArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intArray___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (int)intArray___getitem__(arg1,arg2);
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_intArray___setitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3703 of file calcium_wrap.cpp.

                                                                                                {
  PyObject *resultobj = 0;
  intArray *arg1 = (intArray *) 0 ;
  size_t arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:intArray___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intArray___setitem__" "', argument " "1"" of type '" "intArray *""'"); 
  }
  arg1 = reinterpret_cast< intArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intArray___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "intArray___setitem__" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  intArray___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_intArray_cast ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3742 of file calcium_wrap.cpp.

                                                                                         {
  PyObject *resultobj = 0;
  intArray *arg1 = (intArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:intArray_cast",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_intArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intArray_cast" "', argument " "1"" of type '" "intArray *""'"); 
  }
  arg1 = reinterpret_cast< intArray * >(argp1);
  result = (int *)intArray_cast(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_intArray_frompointer ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3764 of file calcium_wrap.cpp.

                                                                                                {
  PyObject *resultobj = 0;
  int *arg1 = (int *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  intArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:intArray_frompointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intArray_frompointer" "', argument " "1"" of type '" "int *""'"); 
  }
  arg1 = reinterpret_cast< int * >(argp1);
  result = (intArray *)intArray_frompointer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_longArray___getitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3836 of file calcium_wrap.cpp.

                                                                                                 {
  PyObject *resultobj = 0;
  longArray *arg1 = (longArray *) 0 ;
  size_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  long result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:longArray___getitem__",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longArray___getitem__" "', argument " "1"" of type '" "longArray *""'"); 
  }
  arg1 = reinterpret_cast< longArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "longArray___getitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (long)longArray___getitem__(arg1,arg2);
  resultobj = SWIG_From_long(static_cast< long >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_longArray___setitem__ ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3867 of file calcium_wrap.cpp.

                                                                                                 {
  PyObject *resultobj = 0;
  longArray *arg1 = (longArray *) 0 ;
  size_t arg2 ;
  long arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  long val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:longArray___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longArray___setitem__" "', argument " "1"" of type '" "longArray *""'"); 
  }
  arg1 = reinterpret_cast< longArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "longArray___setitem__" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_long(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "longArray___setitem__" "', argument " "3"" of type '" "long""'");
  } 
  arg3 = static_cast< long >(val3);
  longArray___setitem__(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_longArray_cast ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3906 of file calcium_wrap.cpp.

                                                                                          {
  PyObject *resultobj = 0;
  longArray *arg1 = (longArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  long *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:longArray_cast",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_longArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longArray_cast" "', argument " "1"" of type '" "longArray *""'"); 
  }
  arg1 = reinterpret_cast< longArray * >(argp1);
  result = (long *)longArray_cast(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_longArray_frompointer ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3928 of file calcium_wrap.cpp.

                                                                                                 {
  PyObject *resultobj = 0;
  long *arg1 = (long *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  longArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:longArray_frompointer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_long, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "longArray_frompointer" "', argument " "1"" of type '" "long *""'"); 
  }
  arg1 = reinterpret_cast< long * >(argp1);
  result = (longArray *)longArray_frompointer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longArray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_doubleArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4121 of file calcium_wrap.cpp.

                                                                                           {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  doubleArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_doubleArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_doubleArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (doubleArray *)new_doubleArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_doubleArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_DSC ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4641 of file calcium_wrap.cpp.

                                                                                   {
  PyObject *resultobj = 0;
  Engines::DSC *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_DSC")) SWIG_fail;
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (Engines::DSC *)new Engines::DSC();
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Engines__DSC, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}
SWIGINTERN PyObject* _wrap_new_floatArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3957 of file calcium_wrap.cpp.

                                                                                          {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  floatArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_floatArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_floatArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (floatArray *)new_floatArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_floatArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_intArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3629 of file calcium_wrap.cpp.

                                                                                        {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  intArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_intArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_intArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (intArray *)new_intArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_longArray ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3793 of file calcium_wrap.cpp.

                                                                                         {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  longArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_longArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_longArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (longArray *)new_longArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_longArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_PySupervCompo ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4788 of file calcium_wrap.cpp.

                                                                                             {
  PyObject *resultobj = 0;
  CORBA::ORB_ptr arg1 ;
  PortableServer::POA_ptr arg2 ;
  Engines::Container_ptr arg3 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PySupervCompo *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:new_PySupervCompo",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  {
    Py_BEGIN_ALLOW_THREADS
    try
    {
      CORBA::Object_var obj = api->pyObjRefToCxxObjRef(obj0,0);
      arg1 = CORBA::ORB::_narrow(obj);
    }
    catch(...)
    {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "not a valid CORBA object ptr");
    }
    Py_END_ALLOW_THREADS
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try
    {
      CORBA::Object_var obj = api->pyObjRefToCxxObjRef(obj1,0);
      arg2 = PortableServer::POA::_narrow(obj);
    }
    catch(...)
    {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "not a valid CORBA object ptr");
    }
    Py_END_ALLOW_THREADS
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try
    {
      CORBA::Object_var obj = api->pyObjRefToCxxObjRef(obj2,0);
      arg3 = Engines::Container::_narrow(obj);
    }
    catch(...)
    {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "not a valid CORBA object ptr");
    }
    Py_END_ALLOW_THREADS
  }
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_PySupervCompo" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = reinterpret_cast< char * >(buf4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_PySupervCompo" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (PySupervCompo *)new PySupervCompo(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PySupervCompo, SWIG_POINTER_NEW |  0 );
  {
    CORBA::release(arg1);
  }
  {
    CORBA::release(arg2);
  }
  {
    CORBA::release(arg3);
  }
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  {
    CORBA::release(arg1);
  }
  {
    CORBA::release(arg2);
  }
  {
    CORBA::release(arg3);
  }
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_stringArray ( PyObject *  self,
PyObject *  args 
)

Definition at line 4338 of file calcium_wrap.cpp.

                                                                           {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_stringArray__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_new_stringArray__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_stringArray'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    stringArray(int,int)\n"
    "    stringArray(int)\n");
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_new_stringArray__SWIG_0 ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4285 of file calcium_wrap.cpp.

                                                                                                   {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  stringArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_stringArray",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_stringArray" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_stringArray" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  result = (stringArray *)new stringArray(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_stringArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* _wrap_new_stringArray__SWIG_1 ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 4316 of file calcium_wrap.cpp.

                                                                                                   {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  stringArray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_stringArray",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_stringArray" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = static_cast< int >(val1);
  result = (stringArray *)new stringArray(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_stringArray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* _wrap_PySupervCompo_add_port ( PyObject *  self,
PyObject *  args 
)

Definition at line 5581 of file calcium_wrap.cpp.

                                                                                  {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_PySupervCompo, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_provides_port, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_PySupervCompo_add_port__SWIG_2(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_PySupervCompo, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_uses_port, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_PySupervCompo_add_port__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_PySupervCompo, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            return _wrap_PySupervCompo_add_port__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'PySupervCompo_add_port'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    add_port(PySupervCompo *,char const *,char const *,char const *)\n"
    "    add_port(PySupervCompo *,provides_port *,char const *)\n"
    "    add_port(PySupervCompo *,uses_port *,char const *)\n");
  return NULL;
}

Here is the call graph for this function:

SWIGINTERN PyObject* _wrap_PySupervCompo_add_port__SWIG_0 ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 5281 of file calcium_wrap.cpp.

                                                                                                          {
  PyObject *resultobj = 0;
  PySupervCompo *arg1 = (PySupervCompo *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:PySupervCompo_add_port",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PySupervCompo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PySupervCompo_add_port" "', argument " "1"" of type '" "PySupervCompo *""'"); 
  }
  arg1 = reinterpret_cast< PySupervCompo * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PySupervCompo_add_port" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PySupervCompo_add_port" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "PySupervCompo_add_port" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = reinterpret_cast< char * >(buf4);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      (arg1)->add_port((char const *)arg2,(char const *)arg3,(char const *)arg4);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* _wrap_PySupervCompo_add_port__SWIG_2 ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 5391 of file calcium_wrap.cpp.

                                                                                                          {
  PyObject *resultobj = 0;
  PySupervCompo *arg1 = (PySupervCompo *) 0 ;
  provides_port *arg2 = (provides_port *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:PySupervCompo_add_port",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PySupervCompo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PySupervCompo_add_port" "', argument " "1"" of type '" "PySupervCompo *""'"); 
  }
  arg1 = reinterpret_cast< PySupervCompo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_provides_port, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PySupervCompo_add_port" "', argument " "2"" of type '" "provides_port *""'"); 
  }
  arg2 = reinterpret_cast< provides_port * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PySupervCompo_add_port" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      (arg1)->add_port(arg2,(char const *)arg3);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* _wrap_PySupervCompo_add_port__SWIG_3 ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 5486 of file calcium_wrap.cpp.

                                                                                                          {
  PyObject *resultobj = 0;
  PySupervCompo *arg1 = (PySupervCompo *) 0 ;
  uses_port *arg2 = (uses_port *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:PySupervCompo_add_port",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PySupervCompo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PySupervCompo_add_port" "', argument " "1"" of type '" "PySupervCompo *""'"); 
  }
  arg1 = reinterpret_cast< PySupervCompo * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_uses_port, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PySupervCompo_add_port" "', argument " "2"" of type '" "uses_port *""'"); 
  }
  arg2 = reinterpret_cast< uses_port * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PySupervCompo_add_port" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      (arg1)->add_port(arg2,(char const *)arg3);
    }
    catch(Engines::DSC::PortNotDefined& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotDefined");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::PortNotConnected& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "PortNotConnected");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch(Engines::DSC::BadPortType& _e) {
      Py_BLOCK_THREADS
      PyObject* excc = PyObject_GetAttrString(dsc, "BadPortType");
      PyObject* exci = PyEval_CallObject(excc, (PyObject *)NULL);
      PyErr_SetObject(excc, exci);
      Py_XDECREF(excc);
      Py_XDECREF(exci);
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      //This one should be converted into a python corba exception
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (const CORBA::SystemException& e) {
      Py_BLOCK_THREADS 
      return api->handleCxxSystemException(e);
    }
    catch(...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_ValueError,"Unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function: