Back to index

salome-kernel  6.5.0
Classes | Namespaces | Defines | Typedefs | Functions | Variables
swig_wrap.cpp File Reference
#include <Python.h>
#include <string.h>
#include <stdexcept>
#include "ReceiverFactory.hxx"
#include "MatrixClient.hxx"
#include "SALOME_Comm_i.hxx"
#include "SALOMEMultiComm.hxx"
#include "SenderFactory.hxx"

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  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 SWIGTYPE_p_SALOME__Matrix_ptr   swig_types[0]
#define SWIGTYPE_p_SALOME__SenderDouble_ptr   swig_types[1]
#define SWIGTYPE_p_SALOME__SenderInt_ptr   swig_types[2]
#define SWIGTYPE_p_char   swig_types[3]
#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_libSALOME_Comm
#define SWIG_name   "_libSALOME_Comm"
#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_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 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)
PyObject * getValueForSenderDouble (SALOME::SenderDouble_ptr senderDouble)
PyObject * getValueForSenderInt (SALOME::SenderInt_ptr senderInt)
PyObject * getValueForMatrix (SALOME::Matrix_ptr matrix)
SALOME::SenderDouble_ptr buildSenderDoubleFromList (PyObject *pylist)
SALOME::SenderInt_ptr buildSenderIntFromList (PyObject *pylist)
SWIGINTERN PyObject * _wrap_getValueForSenderDouble (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_getValueForSenderInt (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_getValueForMatrix (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_buildSenderDoubleFromList (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_buildSenderIntFromList (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
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 [5]
static swig_module_info swig_module = {swig_types, 4, 0, 0, 0, 0}
static PyMethodDef SwigMethods []
static swig_type_info _swigt__p_SALOME__Matrix_ptr = {"_p_SALOME__Matrix_ptr", "SALOME::Matrix_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_SALOME__SenderDouble_ptr = {"_p_SALOME__SenderDouble_ptr", "SALOME::SenderDouble_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_SALOME__SenderInt_ptr = {"_p_SALOME__SenderInt_ptr", "SALOME::SenderInt_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}
static swig_type_infoswig_type_initial []
static swig_cast_info _swigc__p_SALOME__Matrix_ptr [] = { {&_swigt__p_SALOME__Matrix_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_SALOME__SenderDouble_ptr [] = { {&_swigt__p_SALOME__SenderDouble_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_SALOME__SenderInt_ptr [] = { {&_swigt__p_SALOME__SenderInt_ptr, 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_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 swig_wrap.cpp.

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 897 of file swig_wrap.cpp.

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 898 of file swig_wrap.cpp.

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

Definition at line 764 of file swig_wrap.cpp.

#define PyExc_StopIteration   PyExc_RuntimeError

Definition at line 853 of file swig_wrap.cpp.

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

Definition at line 844 of file swig_wrap.cpp.

#define PyObject_DEL   PyObject_Del

Definition at line 847 of file swig_wrap.cpp.

#define PyObject_GenericGetAttr   0

Definition at line 856 of file swig_wrap.cpp.

#define PyOS_snprintf   snprintf

Definition at line 819 of file swig_wrap.cpp.

#define PySequence_Size   PySequence_Length

Definition at line 877 of file swig_wrap.cpp.

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

Definition at line 870 of file swig_wrap.cpp.

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

Definition at line 1110 of file swig_wrap.cpp.

#define SWIG_AddCast

Definition at line 321 of file swig_wrap.cpp.

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

Definition at line 297 of file swig_wrap.cpp.

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

Definition at line 300 of file swig_wrap.cpp.

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

Definition at line 3381 of file swig_wrap.cpp.

#define SWIG_arg_fail (   arg)    SWIG_Python_ArgFail(arg)

Definition at line 2562 of file swig_wrap.cpp.

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

Definition at line 283 of file swig_wrap.cpp.

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

Definition at line 2718 of file swig_wrap.cpp.

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

Definition at line 2719 of file swig_wrap.cpp.

#define SWIG_AttributeError   -11

Definition at line 746 of file swig_wrap.cpp.

#define SWIG_BADOBJ   (SWIG_ERROR)

Definition at line 292 of file swig_wrap.cpp.

#define SWIG_BUFFER_SIZE   1024

Definition at line 190 of file swig_wrap.cpp.

#define SWIG_CAST_NEW_MEMORY   0x2

Definition at line 195 of file swig_wrap.cpp.

#define SWIG_CASTRANKLIMIT   (1 << 8)

Definition at line 286 of file swig_wrap.cpp.

#define SWIG_CheckImplicit (   ty)    SWIG_Python_CheckImplicit(ty)

Definition at line 1109 of file swig_wrap.cpp.

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

Definition at line 322 of file swig_wrap.cpp.

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

Definition at line 2679 of file swig_wrap.cpp.

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

Definition at line 1122 of file swig_wrap.cpp.

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

Definition at line 1118 of file swig_wrap.cpp.

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

Definition at line 1126 of file swig_wrap.cpp.

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

Definition at line 1114 of file swig_wrap.cpp.

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

Definition at line 1106 of file swig_wrap.cpp.

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

Definition at line 1107 of file swig_wrap.cpp.

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

Definition at line 298 of file swig_wrap.cpp.

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

Definition at line 301 of file swig_wrap.cpp.

#define SWIG_DivisionByZero   -6

Definition at line 741 of file swig_wrap.cpp.

#define SWIG_ERROR   (-1)

Definition at line 281 of file swig_wrap.cpp.

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

Definition at line 1139 of file swig_wrap.cpp.

#define SWIG_ErrorType (   code)    SWIG_Python_ErrorType(code)

Definition at line 1138 of file swig_wrap.cpp.

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

Definition at line 2677 of file swig_wrap.cpp.

#define SWIG_fail   goto fail

Definition at line 1140 of file swig_wrap.cpp.

#define SWIG_GetModule (   clientdata)    SWIG_Python_GetModule()

Definition at line 1132 of file swig_wrap.cpp.

#define SWIG_IndexError   -4

Definition at line 739 of file swig_wrap.cpp.

#define SWIG_init   init_libSALOME_Comm

Definition at line 2709 of file swig_wrap.cpp.

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

Definition at line 3382 of file swig_wrap.cpp.

#define SWIG_IOError   -2

Definition at line 737 of file swig_wrap.cpp.

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

Definition at line 299 of file swig_wrap.cpp.

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

Definition at line 282 of file swig_wrap.cpp.

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

Definition at line 302 of file swig_wrap.cpp.

Definition at line 2692 of file swig_wrap.cpp.

#define SWIG_MemoryError   -12

Definition at line 747 of file swig_wrap.cpp.

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

Definition at line 2563 of file swig_wrap.cpp.

#define SWIG_name   "_libSALOME_Comm"

Definition at line 2712 of file swig_wrap.cpp.

#define SWIG_NewClientData (   obj)    SwigPyClientData_New(obj)

Definition at line 1134 of file swig_wrap.cpp.

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

Definition at line 1123 of file swig_wrap.cpp.

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

Definition at line 1119 of file swig_wrap.cpp.

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

Definition at line 1127 of file swig_wrap.cpp.

Definition at line 294 of file swig_wrap.cpp.

#define SWIG_NEWOBJMASK   (SWIG_CASTRANKLIMIT << 1)

Definition at line 288 of file swig_wrap.cpp.

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

Definition at line 1115 of file swig_wrap.cpp.

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

Definition at line 1108 of file swig_wrap.cpp.

Definition at line 3380 of file swig_wrap.cpp.

#define SWIG_NullReferenceError   -13

Definition at line 748 of file swig_wrap.cpp.

#define SWIG_OK   (0)

Definition at line 280 of file swig_wrap.cpp.

#define SWIG_OLDOBJ   (SWIG_OK)

Definition at line 293 of file swig_wrap.cpp.

#define SWIG_OverflowError   -7

Definition at line 742 of file swig_wrap.cpp.

#define swig_owntype   int

Definition at line 1111 of file swig_wrap.cpp.

#define SWIG_POINTER_DISOWN   0x1

Definition at line 194 of file swig_wrap.cpp.

#define SWIG_POINTER_EXCEPTION   0

Definition at line 2561 of file swig_wrap.cpp.

Definition at line 1282 of file swig_wrap.cpp.

Definition at line 1280 of file swig_wrap.cpp.

Definition at line 1279 of file swig_wrap.cpp.

#define SWIG_POINTER_OWN   0x1

Definition at line 198 of file swig_wrap.cpp.

#define SWIG_PY_BINARY   5

Definition at line 1056 of file swig_wrap.cpp.

#define SWIG_PY_POINTER   4

Definition at line 1055 of file swig_wrap.cpp.

#define SWIG_PYBUFFER_SIZE   1024

Definition at line 827 of file swig_wrap.cpp.

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

Definition at line 1261 of file swig_wrap.cpp.

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

Definition at line 1105 of file swig_wrap.cpp.

Definition at line 12 of file swig_wrap.cpp.

Definition at line 1032 of file swig_wrap.cpp.

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

Definition at line 1162 of file swig_wrap.cpp.

#define SWIG_Python_str_DelForPy3 (   x)

Definition at line 800 of file swig_wrap.cpp.

Definition at line 772 of file swig_wrap.cpp.

Definition at line 1035 of file swig_wrap.cpp.

Definition at line 1033 of file swig_wrap.cpp.

Definition at line 1036 of file swig_wrap.cpp.

Definition at line 1034 of file swig_wrap.cpp.

#define SWIG_RUNTIME_VERSION   "4"

Definition at line 160 of file swig_wrap.cpp.

#define SWIG_RuntimeError   -3

Definition at line 738 of file swig_wrap.cpp.

Definition at line 1137 of file swig_wrap.cpp.

Definition at line 1136 of file swig_wrap.cpp.

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

Definition at line 1133 of file swig_wrap.cpp.

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

Definition at line 1271 of file swig_wrap.cpp.

#define SWIG_SyntaxError   -8

Definition at line 743 of file swig_wrap.cpp.

#define SWIG_SystemError   -10

Definition at line 745 of file swig_wrap.cpp.

Definition at line 295 of file swig_wrap.cpp.

#define SWIG_TMPOBJMASK   (SWIG_NEWOBJMASK << 1)

Definition at line 290 of file swig_wrap.cpp.

Definition at line 168 of file swig_wrap.cpp.

#define SWIG_TypeError   -5

Definition at line 740 of file swig_wrap.cpp.

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

Definition at line 2691 of file swig_wrap.cpp.

#define SWIG_UnknownError   -1

Definition at line 736 of file swig_wrap.cpp.

#define SWIG_ValueError   -9

Definition at line 744 of file swig_wrap.cpp.

#define SWIG_VERSION   SWIGVERSION

Definition at line 2715 of file swig_wrap.cpp.

#define SWIGEXPORT

Definition at line 122 of file swig_wrap.cpp.

#define SWIGINLINE

Definition at line 61 of file swig_wrap.cpp.

#define SWIGINTERN   static SWIGUNUSED

Definition at line 96 of file swig_wrap.cpp.

Definition at line 101 of file swig_wrap.cpp.

#define SWIGPYTHON

Definition at line 11 of file swig_wrap.cpp.

#define SWIGRUNTIME   SWIGINTERN

Definition at line 181 of file swig_wrap.cpp.

Definition at line 185 of file swig_wrap.cpp.

#define SWIGSTDCALL

Definition at line 132 of file swig_wrap.cpp.

Definition at line 52 of file swig_wrap.cpp.

#define SWIGTYPE_p_char   swig_types[3]

Definition at line 2688 of file swig_wrap.cpp.

Definition at line 2685 of file swig_wrap.cpp.

Definition at line 2686 of file swig_wrap.cpp.

Definition at line 2687 of file swig_wrap.cpp.

#define SWIGUNUSED

Definition at line 76 of file swig_wrap.cpp.

#define SWIGUNUSEDPARM (   p)    p SWIGUNUSED

Definition at line 90 of file swig_wrap.cpp.

#define SWIGVERSION   0x010340

Definition at line 2714 of file swig_wrap.cpp.


Typedef Documentation

typedef int Py_ssize_t

Definition at line 896 of file swig_wrap.cpp.

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

Definition at line 332 of file swig_wrap.cpp.

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

Definition at line 333 of file swig_wrap.cpp.


Function Documentation

SWIGRUNTIME PyTypeObject * _PySwigObject_type ( void  )

Definition at line 1725 of file swig_wrap.cpp.

                         {
  static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
  
  static PyNumberMethods SwigPyObject_as_number = {
    (binaryfunc)0, /*nb_add*/
    (binaryfunc)0, /*nb_subtract*/
    (binaryfunc)0, /*nb_multiply*/
    /* nb_divide removed in Python 3 */
#if PY_VERSION_HEX < 0x03000000
    (binaryfunc)0, /*nb_divide*/
#endif
    (binaryfunc)0, /*nb_remainder*/
    (binaryfunc)0, /*nb_divmod*/
    (ternaryfunc)0,/*nb_power*/
    (unaryfunc)0,  /*nb_negative*/
    (unaryfunc)0,  /*nb_positive*/
    (unaryfunc)0,  /*nb_absolute*/
    (inquiry)0,    /*nb_nonzero*/
    0,           /*nb_invert*/
    0,           /*nb_lshift*/
    0,           /*nb_rshift*/
    0,           /*nb_and*/
    0,           /*nb_xor*/
    0,           /*nb_or*/
#if PY_VERSION_HEX < 0x03000000
    0,   /*nb_coerce*/
#endif
    (unaryfunc)SwigPyObject_long, /*nb_int*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_long, /*nb_long*/
#else
    0, /*nb_reserved*/
#endif
    (unaryfunc)0,                 /*nb_float*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_oct,  /*nb_oct*/
    (unaryfunc)SwigPyObject_hex,  /*nb_hex*/
#endif
#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
#elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
  };

  static PyTypeObject swigpyobject_type;  
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp
      = {
       /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
       PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else    
       PyObject_HEAD_INIT(NULL)
       0,                              /* ob_size */
#endif
       (char *)"SwigPyObject",                /* tp_name */
       sizeof(SwigPyObject),                  /* tp_basicsize */
       0,                               /* tp_itemsize */
       (destructor)SwigPyObject_dealloc,   /* tp_dealloc */
       (printfunc)SwigPyObject_print,         /* tp_print */
#if PY_VERSION_HEX < 0x02020000
       (getattrfunc)SwigPyObject_getattr,  /* tp_getattr */ 
#else
       (getattrfunc)0,                        /* tp_getattr */ 
#endif
       (setattrfunc)0,                        /* tp_setattr */ 
#if PY_VERSION_HEX >= 0x03000000
    0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
#else
       (cmpfunc)SwigPyObject_compare,         /* tp_compare */
#endif
       (reprfunc)SwigPyObject_repr,           /* tp_repr */    
       &SwigPyObject_as_number,        /* tp_as_number */
       0,                              /* tp_as_sequence */
       0,                              /* tp_as_mapping */
       (hashfunc)0,                    /* tp_hash */
       (ternaryfunc)0,                        /* tp_call */
       (reprfunc)SwigPyObject_str,     /* tp_str */
       PyObject_GenericGetAttr,            /* tp_getattro */
       0,                              /* tp_setattro */
       0,                                /* tp_as_buffer */
       Py_TPFLAGS_DEFAULT,              /* tp_flags */
       swigobject_doc,                  /* tp_doc */        
       0,                                  /* tp_traverse */
       0,                                  /* tp_clear */
       (richcmpfunc)SwigPyObject_richcompare,           /* tp_richcompare */
       0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
       0,                                  /* tp_iter */
       0,                                  /* tp_iternext */
       swigobject_methods,             /* tp_methods */ 
       0,                               /* tp_members */
       0,                              /* tp_getset */         
       0,                               /* tp_base */           
       0,                              /* tp_dict */           
       0,                              /* tp_descr_get */      
       0,                              /* tp_descr_set */      
       0,                              /* tp_dictoffset */     
       0,                              /* tp_init */           
       0,                              /* tp_alloc */          
       0,                               /* tp_new */           
       0,                                 /* tp_free */    
       0,                                  /* tp_is_gc */  
       0,                              /* tp_bases */   
       0,                              /* tp_mro */
       0,                              /* tp_cache */   
       0,                              /* tp_subclasses */
       0,                              /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
       0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
       0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    swigpyobject_type = tmp;
    /* for Python 3 we already assigned ob_type in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
    swigpyobject_type.ob_type = &PyType_Type;
#endif
    type_init = 1;
  }
  return &swigpyobject_type;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyTypeObject * _PySwigPacked_type ( void  )

Definition at line 1951 of file swig_wrap.cpp.

                         {
  static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
  static PyTypeObject swigpypacked_type;
  static int type_init = 0;  
  if (!type_init) {
    const PyTypeObject tmp
      = {
    /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX>=0x03000000
    PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else
       PyObject_HEAD_INIT(NULL)
    0,                          /* ob_size */    
#endif
       (char *)"SwigPyPacked",                /* tp_name */    
       sizeof(SwigPyPacked),                  /* tp_basicsize */      
       0,                              /* tp_itemsize */       
       (destructor)SwigPyPacked_dealloc,   /* tp_dealloc */    
       (printfunc)SwigPyPacked_print,         /* tp_print */          
       (getattrfunc)0,                        /* tp_getattr */        
       (setattrfunc)0,                        /* tp_setattr */        
#if PY_VERSION_HEX>=0x03000000
    0, /* tp_reserved in 3.0.1 */
#else
    (cmpfunc)SwigPyPacked_compare,     /* tp_compare */
#endif
       (reprfunc)SwigPyPacked_repr,           /* tp_repr */
       0,                                 /* tp_as_number */
       0,                              /* tp_as_sequence */
       0,                              /* tp_as_mapping */
       (hashfunc)0,                    /* tp_hash */
       (ternaryfunc)0,                        /* tp_call */
       (reprfunc)SwigPyPacked_str,     /* tp_str */
       PyObject_GenericGetAttr,            /* tp_getattro */
       0,                              /* tp_setattro */
       0,                                /* tp_as_buffer */
       Py_TPFLAGS_DEFAULT,              /* tp_flags */
       swigpacked_doc,                  /* tp_doc */
       0,                                  /* tp_traverse */
       0,                                  /* tp_clear */
       0,                                  /* tp_richcompare */
       0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
       0,                                  /* tp_iter */
       0,                                  /* tp_iternext */
       0,                                /* tp_methods */ 
       0,                               /* tp_members */
       0,                              /* tp_getset */         
       0,                               /* tp_base */           
       0,                              /* tp_dict */           
       0,                              /* tp_descr_get */      
       0,                              /* tp_descr_set */      
       0,                              /* tp_dictoffset */     
       0,                              /* tp_init */           
       0,                              /* tp_alloc */          
       0,                               /* tp_new */           
       0,                                 /* tp_free */    
        0,                                  /* tp_is_gc */  
       0,                              /* tp_bases */   
       0,                              /* tp_mro */
       0,                              /* tp_cache */   
       0,                              /* tp_subclasses */
       0,                              /* tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
       0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
       0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
    swigpypacked_type = tmp;
    /* for Python 3 the ob_type already assigned in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
    swigpypacked_type.ob_type = &PyType_Type;
#endif
    type_init = 1;
  }
  return &swigpypacked_type;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIMEINLINE PyObject* _SWIG_This ( void  )

Definition at line 2069 of file swig_wrap.cpp.

{
    return SWIG_Python_str_FromChar("this");
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3028 of file swig_wrap.cpp.

                                                                                                     {
  PyObject *resultobj = 0;
  PyObject *arg1 = (PyObject *) 0 ;
  PyObject * obj0 = 0 ;
  SALOME::SenderDouble_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:buildSenderDoubleFromList",&obj0)) SWIG_fail;
  arg1 = obj0;
  result = buildSenderDoubleFromList(arg1);
  {
    PyObject* pdict = PyDict_New();
    PyDict_SetItemString(pdict, "__builtins__", PyEval_GetBuiltins());
    PyRun_String("import CORBA", Py_single_input, pdict, pdict);
    PyRun_String("o = CORBA.ORB_init([''], CORBA.ORB_ID);", Py_single_input,
      pdict, pdict);
    PyObject* orb = PyDict_GetItemString(pdict, "o");
    // Get the orb Corba C++
    int argc = 0;
    char *xargv = (char*)"";
    char **argv = &xargv;
    CORBA::ORB_var ORB = CORBA::ORB_init(argc, argv);
    std::string s =  ORB->object_to_string(result);
    PyObject * tmp = PyString_FromString(s.c_str());
    resultobj = PyObject_CallMethod(orb, (char*)"string_to_object", (char*)"O", tmp);
  }
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3059 of file swig_wrap.cpp.

                                                                                                  {
  PyObject *resultobj = 0;
  PyObject *arg1 = (PyObject *) 0 ;
  PyObject * obj0 = 0 ;
  SALOME::SenderInt_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:buildSenderIntFromList",&obj0)) SWIG_fail;
  arg1 = obj0;
  result = buildSenderIntFromList(arg1);
  {
    PyObject* pdict = PyDict_New();
    PyDict_SetItemString(pdict, "__builtins__", PyEval_GetBuiltins());
    PyRun_String("import CORBA", Py_single_input, pdict, pdict);
    PyRun_String("o = CORBA.ORB_init([''], CORBA.ORB_ID);", Py_single_input,
      pdict, pdict);
    PyObject* orb = PyDict_GetItemString(pdict, "o");
    // Get the orb Corba C++
    int argc = 0;
    char *xargv = (char*)"";
    char **argv = &xargv;
    CORBA::ORB_var ORB = CORBA::ORB_init(argc, argv);
    std::string s =  ORB->object_to_string(result);
    PyObject * tmp = PyString_FromString(s.c_str());
    resultobj = PyObject_CallMethod(orb, (char*)"string_to_object", (char*)"O", tmp);
  }
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 2998 of file swig_wrap.cpp.

                                                                                             {
  PyObject *resultobj = 0;
  SALOME::Matrix_ptr arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:getValueForMatrix",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SALOME__Matrix_ptr,  0  | 0);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "getValueForMatrix" "', argument " "1"" of type '" "SALOME::Matrix_ptr""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "getValueForMatrix" "', argument " "1"" of type '" "SALOME::Matrix_ptr""'");
    } else {
      SALOME::Matrix_ptr * temp = reinterpret_cast< SALOME::Matrix_ptr * >(argp1);
      arg1 = *temp;
      if (SWIG_IsNewObj(res1)) delete temp;
    }
  }
  result = (PyObject *)getValueForMatrix(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 2912 of file swig_wrap.cpp.

                                                                                                   {
  PyObject *resultobj = 0;
  SALOME::SenderDouble_ptr arg1 ;
  PyObject * obj0 = 0 ;
  PyObject *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:getValueForSenderDouble",&obj0)) SWIG_fail;
  {
    PyObject* pdict = PyDict_New();
    PyDict_SetItemString(pdict, "__builtins__", PyEval_GetBuiltins());
    PyRun_String("import CORBA", Py_single_input, pdict, pdict);
    
    PyRun_String("o = CORBA.ORB_init([''], CORBA.ORB_ID);", Py_single_input,
      pdict, pdict);
    
    PyObject* orb = PyDict_GetItemString(pdict, "o");
    
    // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
    
    PyObject* iorSupport = PyObject_CallMethod(orb, (char*)"object_to_string", (char*)"O", obj0);
    
    if (iorSupport == Py_None)
    return NULL;
    char * s = PyString_AsString(PyObject_Str(iorSupport));
    
    // Ask omniORB to convert IOR string to SALOME::SenderDouble_ptr
    
    int argc = 0;
    char *xargv = (char*)"";
    char **argv = &xargv;
    CORBA::ORB_var ORB = CORBA::ORB_init(argc, argv);
    CORBA::Object_var O =  ORB->string_to_object(s);
    SALOME::SenderDouble_ptr t = SALOME::SenderDouble::_narrow(O);
    arg1 = t;
  }
  result = (PyObject *)getValueForSenderDouble(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 2955 of file swig_wrap.cpp.

                                                                                                {
  PyObject *resultobj = 0;
  SALOME::SenderInt_ptr arg1 ;
  PyObject * obj0 = 0 ;
  PyObject *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:getValueForSenderInt",&obj0)) SWIG_fail;
  {
    PyObject* pdict = PyDict_New();
    PyDict_SetItemString(pdict, "__builtins__", PyEval_GetBuiltins());
    PyRun_String("import CORBA", Py_single_input, pdict, pdict);
    
    PyRun_String("o = CORBA.ORB_init([''], CORBA.ORB_ID);", Py_single_input,
      pdict, pdict);
    
    PyObject* orb = PyDict_GetItemString(pdict, "o");
    
    // Ask omniORBpy to transform SUPPORT (python Corba) ptr to IOR string
    
    PyObject* iorSupport = PyObject_CallMethod(orb, (char*)"object_to_string", (char*)"O", obj0);
    
    if (iorSupport == Py_None)
    return NULL;
    char * s = PyString_AsString(PyObject_Str(iorSupport));
    
    // Ask omniORB to convert IOR string to SALOME::SenderInt_ptr
    
    int argc = 0;
    char *xargv = (char*)"";
    char **argv = &xargv;
    CORBA::ORB_var ORB = CORBA::ORB_init(argc, argv);
    CORBA::Object_var O =  ORB->string_to_object(s);
    SALOME::SenderInt_ptr t = SALOME::SenderInt::_narrow(O);
    arg1 = t;
  }
  result = (PyObject *)getValueForSenderInt(arg1);
  resultobj = result;
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

SALOME::SenderDouble_ptr buildSenderDoubleFromList ( PyObject *  pylist)

Definition at line 2868 of file swig_wrap.cpp.

{
  if (PyList_Check(pylist)) 
  {
    int listLgth = PyList_Size(pylist);
    double *tab=new double[listLgth];
    for (int i=0;i<listLgth;i++)
       {
         tab[i]=PyFloat_AsDouble(PyList_GetItem(pylist,i));
       }
    SALOMEMultiComm communicator;
    return SenderFactory::buildSender(communicator,tab,listLgth,true);
  }
  else
  { 
    PyErr_SetString(PyExc_TypeError,"not a list");
    return SALOME::SenderDouble::_nil();
  }
}

Here is the caller graph for this function:

SALOME::SenderInt_ptr buildSenderIntFromList ( PyObject *  pylist)

Definition at line 2889 of file swig_wrap.cpp.

{
  if (PyList_Check(pylist)) 
  {
    int listLgth = PyList_Size(pylist);
    int *tab=new int[listLgth];
    for (int i=0;i<listLgth;i++)
       {
         tab[i]=PyInt_AsLong(PyList_GetItem(pylist,i));
       }
    SALOMEMultiComm communicator;
    return SenderFactory::buildSender(communicator,tab,listLgth,true);
  }
  else
  { 
    PyErr_SetString(PyExc_TypeError,"not a list");
    return SALOME::SenderInt::_nil();
  }
}

Here is the caller graph for this function:

PyObject* getValueForMatrix ( SALOME::Matrix_ptr  matrix)

Definition at line 2840 of file swig_wrap.cpp.

{
  PyObject *py_list;
  int column,row;
  double *ret=MatrixClient::getValue(matrix,column,row);
  py_list = PyList_New(row);
  for(int i=0;i<row;i++)
    {
       PyObject *tmpRow=PyList_New(column);
       for(int j=0;j<column;j++)
         {
           int err = PyList_SetItem(tmpRow, j, Py_BuildValue("d", (double) ret[i*column+j]));
            if(err)
              {
                const char * message = "PyList_SetItem matrix sent may be invalid";
                PyErr_SetString(PyExc_RuntimeError, message);
                return NULL;
              }
         }
       PyList_SetItem(py_list,i,tmpRow);
       Py_DECREF(tmpRow);
    }
  delete [] ret;
  Py_DECREF(py_list);
  return py_list;
}

Here is the caller graph for this function:

PyObject* getValueForSenderDouble ( SALOME::SenderDouble_ptr  senderDouble)

Definition at line 2794 of file swig_wrap.cpp.

{
  PyObject *py_list;
  long size;
  double *ret=ReceiverFactory::getValue(senderDouble,size);
  py_list = PyList_New(size);
  for (int i=0; i < size; i++)
    {
            int err = PyList_SetItem(py_list, i, Py_BuildValue("d", (double) ret[i]));
            if(err)
              {
                const char * message = "Error in SUPPORT::getTypes";
                PyErr_SetString(PyExc_RuntimeError, message);
                return NULL;
              }
    }
  PyObject * result = Py_BuildValue("O", py_list);
  delete [] ret;
  Py_DECREF(py_list);
  return result;
}

Here is the caller graph for this function:

PyObject* getValueForSenderInt ( SALOME::SenderInt_ptr  senderInt)

Definition at line 2817 of file swig_wrap.cpp.

{
  PyObject *py_list;
  long size;
  int *ret=ReceiverFactory::getValue(senderInt,size);
  py_list = PyList_New(size);
  for (int i=0; i < size; i++)
    {
            int err = PyList_SetItem(py_list, i, Py_BuildValue("i", (int) ret[i]));
            if(err)
              {
                const char * message = "Error in SUPPORT::getTypes";
                PyErr_SetString(PyExc_RuntimeError, message);
                return NULL;
              }
    }
  PyObject * result = Py_BuildValue("O", py_list);
  delete [] ret;
  Py_DECREF(py_list);
  return result;
}

Here is the caller graph for this function:

static PyObject* PyBool_FromLong ( long  ok) [static]

Definition at line 884 of file swig_wrap.cpp.

{
  PyObject *result = ok ? Py_True : Py_False;
  Py_INCREF(result);
  return result;
}

Here is the caller graph for this function:

SWIGINTERN int PyModule_AddObject ( PyObject *  m,
char *  name,
PyObject *  o 
)

Definition at line 2466 of file swig_wrap.cpp.

{
  PyObject *dict;
  if (!PyModule_Check(m)) {
    PyErr_SetString(PyExc_TypeError,
                  "PyModule_AddObject() needs module as first arg");
    return SWIG_ERROR;
  }
  if (!o) {
    PyErr_SetString(PyExc_TypeError,
                  "PyModule_AddObject() needs non-NULL value");
    return SWIG_ERROR;
  }
  
  dict = PyModule_GetDict(m);
  if (dict == NULL) {
    /* Internal error -- modules must have a dict! */
    PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
               PyModule_GetName(m));
    return SWIG_ERROR;
  }
  if (PyDict_SetItemString(dict, name, o))
    return SWIG_ERROR;
  Py_DECREF(o);
  return SWIG_OK;
}

Here is the caller graph for this function:

static PyObject* PyString_FromFormat ( const char *  fmt,
  ... 
) [static]

Definition at line 831 of file swig_wrap.cpp.

                                          {
  va_list ap;
  char buf[SWIG_PYBUFFER_SIZE * 2];
  int res;
  va_start(ap, fmt);
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
  va_end(ap);
  return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
}
SWIGINTERN PyObject* SWIG_globals ( void  )

Definition at line 3590 of file swig_wrap.cpp.

                     {
    static PyObject *_SWIG_globals = 0; 
    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();  
    return _SWIG_globals;
  }
SWIGEXPORT void SWIG_init ( void  )

Definition at line 3688 of file swig_wrap.cpp.

                {
  PyObject *m, *d;  
#if PY_VERSION_HEX >= 0x03000000
  static struct PyModuleDef SWIG_module = {
    PyModuleDef_HEAD_INIT,
    (char *) SWIG_name,
    NULL,
    -1,
    SwigMethods,
    NULL,
    NULL,
    NULL,
    NULL
  };
#endif
  
  /* Fix SwigMethods to carry the callback ptrs when needed */
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
  
#if PY_VERSION_HEX >= 0x03000000
  m = PyModule_Create(&SWIG_module);
#else
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
#endif
  d = PyModule_GetDict(m);
  
  SWIG_InitializeModule(0);
  SWIG_InstallConstants(d,swig_const_table);
  
  
#if PY_VERSION_HEX >= 0x03000000
  return m;
#else
  return;
#endif
}

Here is the call graph for this function:

SWIGRUNTIME void SWIG_InitializeModule ( void *  clientdata)

Definition at line 3190 of file swig_wrap.cpp.

                                        {
  size_t i;
  swig_module_info *module_head, *iter;
  int found, init;
  
  clientdata = clientdata;
  
  /* check to see if the circular list has been setup, if not, set it up */
  if (swig_module.next==0) {
    /* Initialize the swig_module */
    swig_module.type_initial = swig_type_initial;
    swig_module.cast_initial = swig_cast_initial;
    swig_module.next = &swig_module;
    init = 1;
  } else {
    init = 0;
  }
  
  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (!module_head) {
    /* This is the first module loaded for this interpreter */
    /* so set the swig module into the interpreter */
    SWIG_SetModule(clientdata, &swig_module);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);
    
    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }
  
  /* When multiple interpeters are used, a module could have already been initialized in
       a different interpreter, but not yet have a pointer in this interpreter.
       In this case, we do not want to continue adding types... everything should be
       set up already */
  if (init == 0) return;
  
  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;
    
#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
    
    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
        type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }
    
    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {
      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
        if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
          cast->type = ret;
          ret = 0;
        } else {
          /* Check for casting already in the list */
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
          if (!ocast) ret = 0;
        }
      }
      
      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;
  
#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
    printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 562 of file swig_wrap.cpp.

                                            {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
       /* since l+r >= 0, we can (>> 1) instead (/ 2) */
       register size_t i = (l + r) >> 1; 
       const char *iname = iter->types[i]->name;
       if (iname) {
         register int compare = strcmp(name, iname);
         if (compare == 0) {           
           return iter->types[i];
         } else if (compare < 0) {
           if (i) {
             r = i - 1;
           } else {
             break;
           }
         } else if (compare > 0) {
           l = i + 1;
         }
       } else {
         break; /* should never happen */
       }
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

Here is the caller graph for this function:

SWIGRUNTIME char* SWIG_PackData ( char *  c,
void *  ptr,
size_t  sz 
)

Definition at line 636 of file swig_wrap.cpp.

                                             {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

Here is the caller graph for this function:

SWIGRUNTIME char* SWIG_PackDataName ( char *  buff,
void *  ptr,
size_t  sz,
const char *  name,
size_t  bsz 
)

Definition at line 704 of file swig_wrap.cpp.

                                                                                  {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME char* SWIG_PackVoidPtr ( char *  buff,
void *  ptr,
const char *  name,
size_t  bsz 
)

Definition at line 680 of file swig_wrap.cpp.

                                                                      {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 3343 of file swig_wrap.cpp.

                               {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;
  
  if (init_run) return;
  init_run = 1;
  
  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

Here is the call graph for this function:

SWIGRUNTIMEINLINE PyObject* SWIG_Py_Void ( void  )

Definition at line 1323 of file swig_wrap.cpp.

{
  PyObject *none = Py_None;
  Py_INCREF(none);
  return none;
}
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New ( PyObject *  self,
PyObject *  func 
)

Definition at line 1073 of file swig_wrap.cpp.

{
#if PY_VERSION_HEX >= 0x03000000
  return PyInstanceMethod_New(func);
#else
  return NULL;
#endif
}
SWIGRUNTIME int SWIG_Python_AcquirePtr ( PyObject *  obj,
int  own 
)

Definition at line 2140 of file swig_wrap.cpp.

                                               {
  if (own == SWIG_POINTER_OWN) {
    SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
    if (sobj) {
      int oldown = sobj->own;
      sobj->own = own;
      return oldown;
    }
  }
  return 0;
}

Here is the call graph for this function:

SWIGRUNTIME int SWIG_Python_AddErrMesg ( const char *  mesg,
int  infront 
)

Definition at line 2566 of file swig_wrap.cpp.

{  
  if (PyErr_Occurred()) {
    PyObject *type = 0;
    PyObject *value = 0;
    PyObject *traceback = 0;
    PyErr_Fetch(&type, &value, &traceback);
    if (value) {
      char *tmp;
      PyObject *old_str = PyObject_Str(value);
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
       PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
      } else {
       PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
      }
      SWIG_Python_str_DelForPy3(tmp);
      Py_DECREF(old_str);
    }
    return 1;
  } else {
    return 0;
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME void SWIG_Python_AddErrorMsg ( const char *  mesg)

Definition at line 950 of file swig_wrap.cpp.

{
  PyObject *type = 0;
  PyObject *value = 0;
  PyObject *traceback = 0;

  if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
  if (value) {
    char *tmp;
    PyObject *old_str = PyObject_Str(value);
    PyErr_Clear();
    Py_XINCREF(type);

    PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
    SWIG_Python_str_DelForPy3(tmp);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_SetString(PyExc_RuntimeError, mesg);
  }
}

Here is the call graph for this function:

SWIGINTERN void SWIG_Python_addvarlink ( PyObject *  p,
char *  name,
PyObject *(*)(void)  get_attr,
int(*)(PyObject *p)  set_attr 
)

Definition at line 3573 of file swig_wrap.cpp.

                                                                                                             {
    swig_varlinkobject *v = (swig_varlinkobject *) p;
    swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
    if (gv) {
      size_t size = strlen(name)+1;
      gv->name = (char *)malloc(size);
      if (gv->name) {
        strncpy(gv->name,name,size);
        gv->get_attr = get_attr;
        gv->set_attr = set_attr;
        gv->next = v->vars;
      }
    }
    v->vars = gv;
  }
SWIGINTERN PyObject* SWIG_Python_AppendOutput ( PyObject *  result,
PyObject *  obj 
)

Definition at line 1175 of file swig_wrap.cpp.

                                                          {
#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyList_Check(result)) {
      PyObject *o2 = result;
      result = PyList_New(1);
      PyList_SetItem(result, 0, o2);
    }
    PyList_Append(result,obj);
    Py_DECREF(obj);
  }
  return result;
#else
  PyObject*   o2;
  PyObject*   o3;
  if (!result) {
    result = obj;
  } else if (result == Py_None) {
    Py_DECREF(result);
    result = obj;
  } else {
    if (!PyTuple_Check(result)) {
      o2 = result;
      result = PyTuple_New(1);
      PyTuple_SET_ITEM(result, 0, o2);
    }
    o3 = PyTuple_New(1);
    PyTuple_SET_ITEM(o3, 0, obj);
    o2 = result;
    result = PySequence_Concat(o2, o3);
    Py_DECREF(o2);
    Py_DECREF(o3);
  }
  return result;
#endif
}

Here is the caller graph for this function:

SWIGRUNTIME int SWIG_Python_ArgFail ( int  argnum)

Definition at line 2593 of file swig_wrap.cpp.

{
  if (PyErr_Occurred()) {
    /* add information about failing argument */
    char mesg[256];
    PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
    return SWIG_Python_AddErrMesg(mesg, 1);
  } else {
    return 0;
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1342 of file swig_wrap.cpp.

{
  SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
  return data ? data->implicitconv : 0;
}
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr ( PyObject *  obj,
void **  ptr,
swig_type_info ty 
)

Definition at line 2246 of file swig_wrap.cpp.

                                                                              {
  if (!PyCFunction_Check(obj)) {
    return SWIG_ConvertPtr(obj, ptr, ty, 0);
  } else {
    void *vptr = 0;
    
    /* here we get the method pointer for callbacks */
    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    if (desc)
      desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
    if (!desc) 
      return SWIG_ERROR;
    if (ty) {
      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
      if (tc) {
        int newmemory = 0;
        *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
        assert(!newmemory); /* newmemory handling not yet implemented */
      } else {
        return SWIG_ERROR;
      }
    } else {
      *ptr = vptr;
    }
    return SWIG_OK;
  }
}

Here is the call graph for this function:

SWIGRUNTIME int SWIG_Python_ConvertPacked ( PyObject *  obj,
void *  ptr,
size_t  sz,
swig_type_info ty 
)

Definition at line 2278 of file swig_wrap.cpp.

                                                                                   {
  swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
  if (!to) return SWIG_ERROR;
  if (ty) {
    if (to != ty) {
      /* check type cast? */
      swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
      if (!tc) return SWIG_ERROR;
    }
  }
  return SWIG_OK;
}  

Here is the call graph for this function:

SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn ( PyObject *  obj,
void **  ptr,
swig_type_info ty,
int  flags,
int *  own 
)

Definition at line 2155 of file swig_wrap.cpp.

                                                                                                 {
  if (!obj) return SWIG_ERROR;
  if (obj == Py_None) {
    if (ptr) *ptr = 0;
    return SWIG_OK;
  } else {
    SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
    if (own)
      *own = 0;
    while (sobj) {
      void *vptr = sobj->ptr;
      if (ty) {
       swig_type_info *to = sobj->ty;
       if (to == ty) {
         /* no type cast needed */
         if (ptr) *ptr = vptr;
         break;
       } else {
         swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
         if (!tc) {
           sobj = (SwigPyObject *)sobj->next;
         } else {
           if (ptr) {
              int newmemory = 0;
              *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
              if (newmemory == SWIG_CAST_NEW_MEMORY) {
                assert(own);
                if (own)
                  *own = *own | SWIG_CAST_NEW_MEMORY;
              }
            }
           break;
         }
       }
      } else {
       if (ptr) *ptr = vptr;
       break;
      }
    }
    if (sobj) {
      if (own)
        *own = *own | sobj->own;
      if (flags & SWIG_POINTER_DISOWN) {
       sobj->own = 0;
      }
      return SWIG_OK;
    } else {
      int res = SWIG_ERROR;
      if (flags & SWIG_POINTER_IMPLICIT_CONV) {
       SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
       if (data && !data->implicitconv) {
         PyObject *klass = data->klass;
         if (klass) {
           PyObject *impconv;
           data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
           impconv = SWIG_Python_CallFunctor(klass, obj);
           data->implicitconv = 0;
           if (PyErr_Occurred()) {
             PyErr_Clear();
             impconv = 0;
           }
           if (impconv) {
             SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
             if (iobj) {
              void *vptr;
              res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
              if (SWIG_IsOK(res)) {
                if (ptr) {
                  *ptr = vptr;
                  /* transfer the ownership to 'ptr' */
                  iobj->own = 0;
                  res = SWIG_AddCast(res);
                  res = SWIG_AddNewMask(res);
                } else {
                  res = SWIG_AddCast(res);                  
                }
              }
             }
             Py_DECREF(impconv);
           }
         }
       }
      }
      return res;
    }
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME void SWIG_Python_DestroyModule ( void *  vptr)

Definition at line 2495 of file swig_wrap.cpp.

{
  swig_module_info *swig_module = (swig_module_info *) vptr;
  swig_type_info **types = swig_module->types;
  size_t i;
  for (i =0; i < swig_module->size; ++i) {
    swig_type_info *ty = types[i];
    if (ty->owndata) {
      SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
      if (data) SwigPyClientData_Del(data);
    }
  }
  Py_DECREF(SWIG_This());
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SWIG_Python_ErrorType ( int  code)

Definition at line 906 of file swig_wrap.cpp.

                                {
  PyObject* type = 0;
  switch(code) {
  case SWIG_MemoryError:
    type = PyExc_MemoryError;
    break;
  case SWIG_IOError:
    type = PyExc_IOError;
    break;
  case SWIG_RuntimeError:
    type = PyExc_RuntimeError;
    break;
  case SWIG_IndexError:
    type = PyExc_IndexError;
    break;
  case SWIG_TypeError:
    type = PyExc_TypeError;
    break;
  case SWIG_DivisionByZero:
    type = PyExc_ZeroDivisionError;
    break;
  case SWIG_OverflowError:
    type = PyExc_OverflowError;
    break;
  case SWIG_SyntaxError:
    type = PyExc_SyntaxError;
    break;
  case SWIG_ValueError:
    type = PyExc_ValueError;
    break;
  case SWIG_SystemError:
    type = PyExc_SystemError;
    break;
  case SWIG_AttributeError:
    type = PyExc_AttributeError;
    break;
  default:
    type = PyExc_RuntimeError;
  }
  return type;
}

Definition at line 1349 of file swig_wrap.cpp.

                                                {
  SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
  PyObject *klass = data ? data->klass : 0;
  return (klass ? klass : PyExc_RuntimeError);
}
SWIGINTERN void SWIG_Python_FixMethods ( PyMethodDef *  methods,
swig_const_info const_table,
swig_type_info **  types,
swig_type_info **  types_initial 
)

Definition at line 3629 of file swig_wrap.cpp.

                                    {
    size_t i;
    for (i = 0; methods[i].ml_name; ++i) {
      const char *c = methods[i].ml_doc;
      if (c && (c = strstr(c, "swig_ptr: "))) {
        int j;
        swig_const_info *ci = 0;
        const char *name = c + 10;
        for (j = 0; const_table[j].type; ++j) {
          if (strncmp(const_table[j].name, name, 
              strlen(const_table[j].name)) == 0) {
            ci = &(const_table[j]);
            break;
          }
        }
        if (ci) {
          size_t shift = (ci->ptype) - types;
          swig_type_info *ty = types_initial[shift];
          size_t ldoc = (c - methods[i].ml_doc);
          size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
          char *ndoc = (char*)malloc(ldoc + lptr + 10);
          if (ndoc) {
            char *buff = ndoc;
            void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
            if (ptr) {
              strncpy(buff, methods[i].ml_doc, ldoc);
              buff += ldoc;
              strncpy(buff, "swig_ptr: ", 10);
              buff += 10;
              SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
              methods[i].ml_doc = ndoc;
            }
          }
        }
      }
    }
  } 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2444 of file swig_wrap.cpp.

                            {
  static void *type_pointer = (void *)0;
  /* first check if module already created */
  if (!type_pointer) {
#ifdef SWIG_LINK_RUNTIME
    type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
#else
    type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
                                (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
    if (PyErr_Occurred()) {
      PyErr_Clear();
      type_pointer = (void *)0;
    }
#endif
  }
  return (swig_module_info *) type_pointer;
}

Here is the caller graph for this function:

Definition at line 2089 of file swig_wrap.cpp.

{
  if (SwigPyObject_Check(pyobj)) {
    return (SwigPyObject *) pyobj;
  } else {
    PyObject *obj = 0;
#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
    if (PyInstance_Check(pyobj)) {
      obj = _PyInstance_Lookup(pyobj, SWIG_This());      
    } else {
      PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
      if (dictptr != NULL) {
       PyObject *dict = *dictptr;
       obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
      } else {
#ifdef PyWeakref_CheckProxy
       if (PyWeakref_CheckProxy(pyobj)) {
         PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
         return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
       }
#endif
       obj = PyObject_GetAttr(pyobj,SWIG_This());
       if (obj) {
         Py_DECREF(obj);
       } else {
         if (PyErr_Occurred()) PyErr_Clear();
         return 0;
       }
      }
    }
#else
    obj = PyObject_GetAttr(pyobj,SWIG_This());
    if (obj) {
      Py_DECREF(obj);
    } else {
      if (PyErr_Occurred()) PyErr_Clear();
      return 0;
    }
#endif
    if (obj && !SwigPyObject_Check(obj)) {
      /* a PyObject is called 'this', try to get the 'real this'
        SwigPyObject from it */ 
      return SWIG_Python_GetSwigThis(obj);
    }
    return (SwigPyObject *)obj;
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* SWIG_Python_InitShadowInstance ( PyObject *  args)

Definition at line 2392 of file swig_wrap.cpp.

                                               {
  PyObject *obj[2];
  if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
    return NULL;
  } else {
    SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    if (sthis) {
      SwigPyObject_append((PyObject*) sthis, obj[1]);
    } else {
      SWIG_Python_SetSwigThis(obj[0], obj[1]);
    }
    return SWIG_Py_Void();
  }
}

Here is the call graph for this function:

SWIGINTERN void SWIG_Python_InstallConstants ( PyObject *  d,
swig_const_info  constants[] 
)

Definition at line 3602 of file swig_wrap.cpp.

                                                                         {
    PyObject *obj = 0;
    size_t i;
    for (i = 0; constants[i].type; ++i) {
      switch(constants[i].type) {
      case SWIG_PY_POINTER:
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
        break;
      case SWIG_PY_BINARY:
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
        break;
      default:
        obj = 0;
        break;
      }
      if (obj) {
        PyDict_SetItemString(d, constants[i].name, obj);
        Py_DECREF(obj);
      }
    }
  }
SWIGRUNTIME void* SWIG_Python_MustGetPtr ( PyObject *  obj,
swig_type_info ty,
int  argnum,
int  flags 
)

Definition at line 2653 of file swig_wrap.cpp.

                                                                                 {
  void *result;
  if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
    PyErr_Clear();
#if SWIG_POINTER_EXCEPTION
    if (flags) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
      SWIG_Python_ArgFail(argnum);
    }
#endif
  }
  return result;
}

Here is the call graph for this function:

SWIGRUNTIMEINLINE PyObject* SWIG_Python_NewPackedObj ( void *  ptr,
size_t  sz,
swig_type_info type 
)

Definition at line 2431 of file swig_wrap.cpp.

                                                                     {
  return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
}

Here is the call graph for this function:

SWIGRUNTIME PyObject* SWIG_Python_NewPointerObj ( void *  ptr,
swig_type_info type,
int  flags 
)

Definition at line 2410 of file swig_wrap.cpp.

                                                                      {
  if (!ptr) {
    return SWIG_Py_Void();
  } else {
    int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
    PyObject *robj = SwigPyObject_New(ptr, type, own);
    SwigPyClientData *clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
    if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
      PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
      if (inst) {
       Py_DECREF(robj);
       robj = inst;
      }
    }
    return robj;
  }
}

Here is the call graph for this function:

SWIGRUNTIME PyObject* SWIG_Python_NewShadowInstance ( SwigPyClientData data,
PyObject *  swig_this 
)

Definition at line 2301 of file swig_wrap.cpp.

{
#if (PY_VERSION_HEX >= 0x02020000)
  PyObject *inst = 0;
  PyObject *newraw = data->newraw;
  if (newraw) {
    inst = PyObject_Call(newraw, data->newargs, NULL);
    if (inst) {
#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
      PyObject **dictptr = _PyObject_GetDictPtr(inst);
      if (dictptr != NULL) {
       PyObject *dict = *dictptr;
       if (dict == NULL) {
         dict = PyDict_New();
         *dictptr = dict;
         PyDict_SetItem(dict, SWIG_This(), swig_this);
       }
      }
#else
      PyObject *key = SWIG_This();
      PyObject_SetAttr(inst, key, swig_this);
#endif
    }
  } else {
#if PY_VERSION_HEX >= 0x03000000
    inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
    PyObject_SetAttr(inst, SWIG_This(), swig_this);
    Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
#else
    PyObject *dict = PyDict_New();
    PyDict_SetItem(dict, SWIG_This(), swig_this);
    inst = PyInstance_NewRaw(data->newargs, dict);
    Py_DECREF(dict);
#endif
  }
  return inst;
#else
#if (PY_VERSION_HEX >= 0x02010000)
  PyObject *inst;
  PyObject *dict = PyDict_New();
  PyDict_SetItem(dict, SWIG_This(), swig_this);
  inst = PyInstance_NewRaw(data->newargs, dict);
  Py_DECREF(dict);
  return (PyObject *) inst;
#else
  PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
  if (inst == NULL) {
    return NULL;
  }
  inst->in_class = (PyClassObject *)data->newargs;
  Py_INCREF(inst->in_class);
  inst->in_dict = PyDict_New();
  if (inst->in_dict == NULL) {
    Py_DECREF(inst);
    return NULL;
  }
#ifdef Py_TPFLAGS_HAVE_WEAKREFS
  inst->in_weakreflist = NULL;
#endif
#ifdef Py_TPFLAGS_GC
  PyObject_GC_Init(inst);
#endif
  PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
  return (PyObject *) inst;
#endif
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* SWIG_Python_newvarlink ( void  )

Definition at line 3564 of file swig_wrap.cpp.

                               {
    swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
    if (result) {
      result->vars = 0;
    }
    return ((PyObject*) result);
  }

Here is the call graph for this function:

SWIGINTERN void SWIG_Python_SetConstant ( PyObject *  d,
const char *  name,
PyObject *  obj 
)

Definition at line 1167 of file swig_wrap.cpp.

                                                                      {   
  PyDict_SetItemString(d, (char*) name, obj);
  Py_DECREF(obj);                            
}

Here is the caller graph for this function:

SWIGINTERN void SWIG_Python_SetErrorMsg ( PyObject *  errtype,
const char *  msg 
)

Definition at line 1156 of file swig_wrap.cpp.

                                                            {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK;
  PyErr_SetString(errtype, (char *) msg);
  SWIG_PYTHON_THREAD_END_BLOCK;
}
SWIGINTERN void SWIG_Python_SetErrorObj ( PyObject *  errtype,
PyObject *  obj 
)

Definition at line 1148 of file swig_wrap.cpp.

                                                          {
  SWIG_PYTHON_THREAD_BEGIN_BLOCK; 
  PyErr_SetObject(errtype, obj);
  Py_DECREF(obj);
  SWIG_PYTHON_THREAD_END_BLOCK;
}

Definition at line 2511 of file swig_wrap.cpp.

                                                     {
  static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */

#if PY_VERSION_HEX >= 0x03000000
 /* Add a dummy module object into sys.modules */
  PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
#else
  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
                               swig_empty_runtime_method_table);
#endif
  PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
  if (pointer && module) {
    PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
  } else {
    Py_XDECREF(pointer);
  }
}

Here is the call graph for this function:

SWIGRUNTIME void SWIG_Python_SetSwigThis ( PyObject *  inst,
PyObject *  swig_this 
)

Definition at line 2370 of file swig_wrap.cpp.

{
 PyObject *dict;
#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
 PyObject **dictptr = _PyObject_GetDictPtr(inst);
 if (dictptr != NULL) {
   dict = *dictptr;
   if (dict == NULL) {
     dict = PyDict_New();
     *dictptr = dict;
   }
   PyDict_SetItem(dict, SWIG_This(), swig_this);
   return;
 }
#endif
 dict = PyObject_GetAttrString(inst, (char*)"__dict__");
 PyDict_SetItem(dict, SWIG_This(), swig_this);
 Py_DECREF(dict);
} 

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN char* SWIG_Python_str_AsChar ( PyObject *  str)

Definition at line 780 of file swig_wrap.cpp.

{
#if PY_VERSION_HEX >= 0x03000000
  char *cstr;
  char *newstr;
  Py_ssize_t len;
  str = PyUnicode_AsUTF8String(str);
  PyBytes_AsStringAndSize(str, &cstr, &len);
  newstr = (char *) malloc(len+1);
  memcpy(newstr, cstr, len+1);
  Py_XDECREF(str);
  return newstr;
#else
  return PyString_AsString(str);
#endif
}

Here is the caller graph for this function:

SWIGINTERN PyObject* SWIG_Python_str_FromChar ( const char *  c)

Definition at line 805 of file swig_wrap.cpp.

{
#if PY_VERSION_HEX >= 0x03000000
  return PyUnicode_FromString(c); 
#else
  return PyString_FromString(c);
#endif
}

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SWIG_Python_TypeCache ( void  )

Definition at line 2531 of file swig_wrap.cpp.

                            {
  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
  return cache;
}

Here is the caller graph for this function:

SWIGRUNTIME void SWIG_Python_TypeError ( const char *  type,
PyObject *  obj 
)

Definition at line 2614 of file swig_wrap.cpp.

{
  if (type) {
#if defined(SWIG_COBJECT_TYPES)
    if (obj && SwigPyObject_Check(obj)) {
      const char *otype = (const char *) SwigPyObject_GetDesc(obj);
      if (otype) {
       PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
                   type, otype);
       return;
      }
    } else 
#endif      
    {
      const char *otype = (obj ? obj->ob_type->tp_name : 0); 
      if (otype) {
       PyObject *str = PyObject_Str(obj);
       const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
       if (cstr) {
         PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
                     type, otype, cstr);
          SWIG_Python_str_DelForPy3(cstr);
       } else {
         PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
                     type, otype);
       }
       Py_XDECREF(str);
       return;
      }
    }   
    PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
  } else {
    PyErr_Format(PyExc_TypeError, "unexpected type is received");
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2537 of file swig_wrap.cpp.

{
  PyObject *cache = SWIG_Python_TypeCache();
  PyObject *key = SWIG_Python_str_FromChar(type); 
  PyObject *obj = PyDict_GetItem(cache, key);
  swig_type_info *descriptor;
  if (obj) {
    descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
  } else {
    swig_module_info *swig_module = SWIG_Python_GetModule();
    descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
    if (descriptor) {
      obj = PyCObject_FromVoidPtr(descriptor, NULL);
      PyDict_SetItem(cache, key, obj);
      Py_DECREF(obj);
    }
  }
  Py_DECREF(key);
  return descriptor;
}

Here is the call graph for this function:

SWIGINTERN int SWIG_Python_UnpackTuple ( PyObject *  args,
const char *  name,
Py_ssize_t  min,
Py_ssize_t  max,
PyObject **  objs 
)

Definition at line 1220 of file swig_wrap.cpp.

{
  if (!args) {
    if (!min && !max) {
      return 1;
    } else {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", 
                 name, (min == max ? "" : "at least "), (int)min);
      return 0;
    }
  }  
  if (!PyTuple_Check(args)) {
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    return 0;
  } else {
    register Py_ssize_t l = PyTuple_GET_SIZE(args);
    if (l < min) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
                 name, (min == max ? "" : "at least "), (int)min, (int)l);
      return 0;
    } else if (l > max) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
                 name, (min == max ? "" : "at most "), (int)max, (int)l);
      return 0;
    } else {
      register int i;
      for (i = 0; i < l; ++i) {
       objs[i] = PyTuple_GET_ITEM(args, i);
      }
      for (; l < max; ++l) {
       objs[l] = 0;
      }
      return i + 1;
    }    
  }
}

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SWIG_This ( void  )

Definition at line 2075 of file swig_wrap.cpp.

{
  static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
  return swig_this;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIMEINLINE void* SWIG_TypeCast ( swig_cast_info ty,
void *  ptr,
int *  newmemory 
)

Definition at line 480 of file swig_wrap.cpp.

                                                             {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}

Here is the caller graph for this function:

SWIGRUNTIME swig_cast_info* SWIG_TypeCheck ( const char *  c,
swig_type_info ty 
)

Definition at line 426 of file swig_wrap.cpp.

                                                  {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (strcmp(iter->type->name, c) == 0) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

Here is the caller graph for this function:

Definition at line 453 of file swig_wrap.cpp.

                                                               {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (iter->type == from) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}
SWIGRUNTIME void SWIG_TypeClientData ( swig_type_info ti,
void *  clientdata 
)

Definition at line 532 of file swig_wrap.cpp.

                                                          {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  
  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
       SWIG_TypeClientData(tc, clientdata);
      }
    }    
    cast = cast->next;
  }
}

Here is the caller graph for this function:

SWIGRUNTIME int SWIG_TypeCompare ( const char *  nb,
const char *  tb 
)

Definition at line 407 of file swig_wrap.cpp.

                                                 {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

Here is the call graph for this function:

Definition at line 488 of file swig_wrap.cpp.

                                                     {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}
SWIGRUNTIME int SWIG_TypeEquiv ( const char *  nb,
const char *  tb 
)

Definition at line 388 of file swig_wrap.cpp.

                                               {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIMEINLINE const char* SWIG_TypeName ( const swig_type_info ty)

Definition at line 502 of file swig_wrap.cpp.

                                        {
  return ty->name;
}
SWIGRUNTIME int SWIG_TypeNameComp ( const char *  f1,
const char *  l1,
const char *  f2,
const char *  l2 
)

Definition at line 373 of file swig_wrap.cpp.

                                                {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
  }
  return (int)((l1 - f1) - (l2 - f2));
}

Here is the caller graph for this function:

SWIGRUNTIME void SWIG_TypeNewClientData ( swig_type_info ti,
void *  clientdata 
)

Definition at line 548 of file swig_wrap.cpp.

                                                             {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME const char* SWIG_TypePrettyName ( const swig_type_info type)

Definition at line 511 of file swig_wrap.cpp.

                                                {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

Here is the caller graph for this function:

SWIGRUNTIME swig_type_info* SWIG_TypeQueryModule ( swig_module_info start,
swig_module_info end,
const char *  name 
)

Definition at line 607 of file swig_wrap.cpp.

                                     {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
       if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
         return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }
  
  /* neither found a match */
  return 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME const char* SWIG_UnpackData ( const char *  c,
void *  ptr,
size_t  sz 
)

Definition at line 652 of file swig_wrap.cpp.

                                                     {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else 
      return (char *) 0;
    *u = uu;
  }
  return c;
}

Here is the caller graph for this function:

SWIGRUNTIME const char* SWIG_UnpackDataName ( const char *  c,
void *  ptr,
size_t  sz,
const char *  name 
)

Definition at line 719 of file swig_wrap.cpp.

                                                                           {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

Here is the call graph for this function:

SWIGRUNTIME const char* SWIG_UnpackVoidPtr ( const char *  c,
void **  ptr,
const char *  name 
)

Definition at line 691 of file swig_wrap.cpp.

                                                                {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 3459 of file swig_wrap.cpp.

                                              {
    swig_globalvar *var = v->vars;
    while (var) {
      swig_globalvar *n = var->next;
      free(var->name);
      free(var);
      var = n;
    }
  }

Here is the caller graph for this function:

SWIGINTERN PyObject* swig_varlink_getattr ( swig_varlinkobject v,
char *  n 
)

Definition at line 3470 of file swig_wrap.cpp.

                                                       {
    PyObject *res = NULL;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->get_attr)();
        break;
      }
      var = var->next;
    }
    if (res == NULL && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }

Here is the caller graph for this function:

SWIGINTERN int swig_varlink_print ( swig_varlinkobject v,
FILE *  fp,
int   SWIGUNUSEDPARMflags 
)

Definition at line 3448 of file swig_wrap.cpp.

                                                                                 {
    char *tmp;
    PyObject *str = swig_varlink_str(v);
    fprintf(fp,"Swig global variables ");
    fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
    SWIG_Python_str_DelForPy3(tmp);
    Py_DECREF(str);
    return 0;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* swig_varlink_repr ( swig_varlinkobject SWIGUNUSEDPARMv)

Definition at line 3401 of file swig_wrap.cpp.

                                                           {
#if PY_VERSION_HEX >= 0x03000000
    return PyUnicode_InternFromString("<Swig global variables>");
#else
    return PyString_FromString("<Swig global variables>");
#endif
  }

Here is the caller graph for this function:

SWIGINTERN int swig_varlink_setattr ( swig_varlinkobject v,
char *  n,
PyObject *  p 
)

Definition at line 3487 of file swig_wrap.cpp.

                                                                    {
    int res = 1;
    swig_globalvar *var = v->vars;
    while (var) {
      if (strcmp(var->name,n) == 0) {
        res = (*var->set_attr)(p);
        break;
      }
      var = var->next;
    }
    if (res == 1 && !PyErr_Occurred()) {
      PyErr_SetString(PyExc_NameError,"Unknown C global variable");
    }
    return res;
  }

Here is the caller graph for this function:

Definition at line 3410 of file swig_wrap.cpp.

                                          {
#if PY_VERSION_HEX >= 0x03000000
    PyObject *str = PyUnicode_InternFromString("(");
    PyObject *tail;
    PyObject *joined;
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      tail = PyUnicode_FromString(var->name);
      joined = PyUnicode_Concat(str, tail);
      Py_DecRef(str);
      Py_DecRef(tail);
      str = joined;
      if (var->next) {
        tail = PyUnicode_InternFromString(", ");
        joined = PyUnicode_Concat(str, tail);
        Py_DecRef(str);
        Py_DecRef(tail);
        str = joined;
      }
    }
    tail = PyUnicode_InternFromString(")");
    joined = PyUnicode_Concat(str, tail);
    Py_DecRef(str);
    Py_DecRef(tail);
    str = joined;
#else
    PyObject *str = PyString_FromString("(");
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      PyString_ConcatAndDel(&str,PyString_FromString(var->name));
      if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
    }
    PyString_ConcatAndDel(&str,PyString_FromString(")"));
#endif
    return str;
  }

Here is the caller graph for this function:

SWIGINTERN PyTypeObject* swig_varlink_type ( void  )

Definition at line 3504 of file swig_wrap.cpp.

                          {
    static char varlink__doc__[] = "Swig var link object";
    static PyTypeObject varlink_type;
    static int type_init = 0;  
    if (!type_init) {
      const PyTypeObject tmp
      = {
        /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
        PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else
        PyObject_HEAD_INIT(NULL)
        0,                                  /* Number of items in variable part (ob_size) */
#endif
        (char *)"swigvarlink",              /* Type name (tp_name) */
        sizeof(swig_varlinkobject),         /* Basic size (tp_basicsize) */
        0,                                  /* Itemsize (tp_itemsize) */
        (destructor) swig_varlink_dealloc,  /* Deallocator (tp_dealloc) */ 
        (printfunc) swig_varlink_print,     /* Print (tp_print) */
        (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
        (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
        0,                                  /* tp_compare */
        (reprfunc) swig_varlink_repr,       /* tp_repr */
        0,                                  /* tp_as_number */
        0,                                  /* tp_as_sequence */
        0,                                  /* tp_as_mapping */
        0,                                  /* tp_hash */
        0,                                  /* tp_call */
        (reprfunc) swig_varlink_str,        /* tp_str */
        0,                                  /* tp_getattro */
        0,                                  /* tp_setattro */
        0,                                  /* tp_as_buffer */
        0,                                  /* tp_flags */
        varlink__doc__,                     /* tp_doc */
        0,                                  /* tp_traverse */
        0,                                  /* tp_clear */
        0,                                  /* tp_richcompare */
        0,                                  /* tp_weaklistoffset */
#if PY_VERSION_HEX >= 0x02020000
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
#endif
#if PY_VERSION_HEX >= 0x02030000
        0,                                  /* tp_del */
#endif
#ifdef COUNT_ALLOCS
        0,0,0,0                             /* tp_alloc -> tp_next */
#endif
      };
      varlink_type = tmp;
      /* for Python 3 we already assigned ob_type in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
      varlink_type.ob_type = &PyType_Type;
#endif
      type_init = 1;
    }
    return &varlink_type;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1410 of file swig_wrap.cpp.

{
  Py_XDECREF(data->newraw);
  Py_XDECREF(data->newargs);
  Py_XDECREF(data->destroy);
}

Here is the caller graph for this function:

Definition at line 1357 of file swig_wrap.cpp.

{
  if (!obj) {
    return 0;
  } else {
    SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
    /* the klass element */
    data->klass = obj;
    Py_INCREF(data->klass);
    /* the newraw method and newargs arguments used to create a new raw instance */
    if (PyClass_Check(obj)) {
      data->newraw = 0;
      data->newargs = obj;
      Py_INCREF(obj);
    } else {
#if (PY_VERSION_HEX < 0x02020000)
      data->newraw = 0;
#else
      data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
#endif
      if (data->newraw) {
       Py_INCREF(data->newraw);
       data->newargs = PyTuple_New(1);
       PyTuple_SetItem(data->newargs, 0, obj);
      } else {
       data->newargs = obj;
      }
      Py_INCREF(data->newargs);
    }
    /* the destroy method, aka as the C++ delete method */
    data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
    if (PyErr_Occurred()) {
      PyErr_Clear();
      data->destroy = 0;
    }
    if (data->destroy) {
      int flags;
      Py_INCREF(data->destroy);
      flags = PyCFunction_GET_FLAGS(data->destroy);
#ifdef METH_O
      data->delargs = !(flags & (METH_O));
#else
      data->delargs = 0;
#endif
    } else {
      data->delargs = 0;
    }
    data->implicitconv = 0;
    return data;
  }
}
SWIGINTERN PyObject* SwigPyObject_acquire ( PyObject *  v,
PyObject *  SWIGUNUSEDPARMargs 
)

Definition at line 1649 of file swig_wrap.cpp.

{
  SwigPyObject *sobj = (SwigPyObject *)v;
  sobj->own = SWIG_POINTER_OWN;
  return SWIG_Py_Void();
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SwigPyObject_append ( PyObject *  v,
PyObject *  next 
)

Definition at line 1601 of file swig_wrap.cpp.

{
  SwigPyObject *sobj = (SwigPyObject *) v;
#ifndef METH_O
  PyObject *tmp = 0;
  if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
  next = tmp;
#endif
  if (!SwigPyObject_Check(next)) {
    return NULL;
  }
  sobj->next = next;
  Py_INCREF(next);
  return SWIG_Py_Void();
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIMEINLINE int SwigPyObject_Check ( PyObject *  op)

Definition at line 1557 of file swig_wrap.cpp.

                                 {
  return (Py_TYPE(op) == SwigPyObject_type())
    || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1523 of file swig_wrap.cpp.

{
  void *i = v->ptr;
  void *j = w->ptr;
  return (i < j) ? -1 : ((i > j) ? 1 : 0);
}

Here is the caller graph for this function:

SWIGRUNTIME void SwigPyObject_dealloc ( PyObject *  v)

Definition at line 1566 of file swig_wrap.cpp.

{
  SwigPyObject *sobj = (SwigPyObject *) v;
  PyObject *next = sobj->next;
  if (sobj->own == SWIG_POINTER_OWN) {
    swig_type_info *ty = sobj->ty;
    SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
    PyObject *destroy = data ? data->destroy : 0;
    if (destroy) {
      /* destroy is always a VARARGS method */
      PyObject *res;
      if (data->delargs) {
       /* we need to create a temporary object to carry the destroy operation */
       PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
       res = SWIG_Python_CallFunctor(destroy, tmp);
       Py_DECREF(tmp);
      } else {
       PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
       PyObject *mself = PyCFunction_GET_SELF(destroy);
       res = ((*meth)(mself, v));
      }
      Py_XDECREF(res);
    } 
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
    else {
      const char *name = SWIG_TypePrettyName(ty);
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
    }
#endif
  } 
  Py_XDECREF(next);
  PyObject_DEL(v);
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* SwigPyObject_disown ( PyObject *  v,
PyObject *  SWIGUNUSEDPARMargs 
)

Definition at line 1637 of file swig_wrap.cpp.

{
  SwigPyObject *sobj = (SwigPyObject *)v;
  sobj->own = 0;
  return SWIG_Py_Void();
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SwigPyObject_format ( const char *  fmt,
SwigPyObject v 
)

Definition at line 1434 of file swig_wrap.cpp.

{
  PyObject *res = NULL;
  PyObject *args = PyTuple_New(1);
  if (args) {
    if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
      PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
      if (ofmt) {
#if PY_VERSION_HEX >= 0x03000000
       res = PyUnicode_Format(ofmt,args);
#else
       res = PyString_Format(ofmt,args);
#endif
       Py_DECREF(ofmt);
      }
      Py_DECREF(args);
    }
  }
  return res;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* SwigPyObject_getattr ( SwigPyObject sobj,
char *  name 
)

Definition at line 1718 of file swig_wrap.cpp.

{
  return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
}

Here is the caller graph for this function:

SWIGRUNTIMEINLINE const char* SwigPyObject_GetDesc ( PyObject *  self)

Definition at line 2606 of file swig_wrap.cpp.

{
  SwigPyObject *v = (SwigPyObject *)self;
  swig_type_info *ty = v ? v->ty : 0;
  return ty ? ty->str : (char*)"";
}

Here is the caller graph for this function:

Definition at line 1462 of file swig_wrap.cpp.

{
  return SwigPyObject_format("%x",v);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1428 of file swig_wrap.cpp.

{
  return PyLong_FromVoidPtr(v->ptr);
}

Here is the caller graph for this function:

SWIGRUNTIME PyObject * SwigPyObject_New ( void *  ptr,
swig_type_info ty,
int  own 
)

Definition at line 1858 of file swig_wrap.cpp.

{
  SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
  if (sobj) {
    sobj->ptr  = ptr;
    sobj->ty   = ty;
    sobj->own  = own;
    sobj->next = 0;
  }
  return (PyObject *)sobj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SwigPyObject_next ( PyObject *  v,
PyObject *  SWIGUNUSEDPARMargs 
)

Definition at line 1621 of file swig_wrap.cpp.

{
  SwigPyObject *sobj = (SwigPyObject *) v;
  if (sobj->next) {    
    Py_INCREF(sobj->next);
    return sobj->next;
  } else {
    return SWIG_Py_Void();
  }
}

Here is the call graph for this function:

Definition at line 1456 of file swig_wrap.cpp.

{
  return SwigPyObject_format("%o",v);
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN PyObject* SwigPyObject_own ( PyObject *  v,
PyObject *  args 
)

Definition at line 1658 of file swig_wrap.cpp.

{
  PyObject *val = 0;
#if (PY_VERSION_HEX < 0x02020000)
  if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
#else
  if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) 
#endif
    {
      return NULL;
    } 
  else
    {
      SwigPyObject *sobj = (SwigPyObject *)v;
      PyObject *obj = PyBool_FromLong(sobj->own);
      if (val) {
#ifdef METH_NOARGS
       if (PyObject_IsTrue(val)) {
         SwigPyObject_acquire(v);
       } else {
         SwigPyObject_disown(v);
       }
#else
       if (PyObject_IsTrue(val)) {
         SwigPyObject_acquire(v,args);
       } else {
         SwigPyObject_disown(v,args);
       }
#endif
      } 
      return obj;
    }
}

Here is the call graph for this function:

SWIGRUNTIME int SwigPyObject_print ( SwigPyObject v,
FILE *  fp,
int   SWIGUNUSEDPARMflags 
)

Definition at line 1495 of file swig_wrap.cpp.

{
  char *str;
#ifdef METH_NOARGS
  PyObject *repr = SwigPyObject_repr(v);
#else
  PyObject *repr = SwigPyObject_repr(v, NULL);
#endif
  if (repr) {
    str = SWIG_Python_str_AsChar(repr); 
    fputs(str, fp);
    SWIG_Python_str_DelForPy3(str);
    Py_DECREF(repr);
    return 0; 
  } else {
    return 1; 
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SwigPyObject_repr ( SwigPyObject v,
PyObject *  args 
)

Definition at line 1471 of file swig_wrap.cpp.

{
  const char *name = SWIG_TypePrettyName(v->ty);
  PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", name, v);
  if (v->next) {
#ifdef METH_NOARGS
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
#else
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
#endif
#if PY_VERSION_HEX >= 0x03000000
    PyObject *joined = PyUnicode_Concat(repr, nrep);
    Py_DecRef(repr);
    Py_DecRef(nrep);
    repr = joined;
#else
    PyString_ConcatAndDel(&repr,nrep);
#endif
  }
  return repr;  
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SwigPyObject_richcompare ( SwigPyObject v,
SwigPyObject w,
int  op 
)

Definition at line 1532 of file swig_wrap.cpp.

{
  PyObject* res;
  if( op != Py_EQ && op != Py_NE ) {
    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
  }
  if( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) )
    res = Py_True;
  else
    res = Py_False;
  Py_INCREF(res);
  return res;  
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1515 of file swig_wrap.cpp.

{
  char result[SWIG_BUFFER_SIZE];
  return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
    SWIG_Python_str_FromChar(result) : 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyTypeObject* SwigPyObject_type ( void  )

Definition at line 1551 of file swig_wrap.cpp.

                        {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
  return type;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIMEINLINE int SwigPyPacked_Check ( PyObject *  op)

Definition at line 1935 of file swig_wrap.cpp.

                                 {
  return ((op)->ob_type == _PySwigPacked_type()) 
    || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1918 of file swig_wrap.cpp.

{
  size_t i = v->size;
  size_t j = w->size;
  int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
  return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
}

Here is the caller graph for this function:

SWIGRUNTIME void SwigPyPacked_dealloc ( PyObject *  v)

Definition at line 1941 of file swig_wrap.cpp.

{
  if (SwigPyPacked_Check(v)) {
    SwigPyPacked *sobj = (SwigPyPacked *) v;
    free(sobj->pack);
  }
  PyObject_DEL(v);
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyObject* SwigPyPacked_New ( void *  ptr,
size_t  size,
swig_type_info ty 
)

Definition at line 2033 of file swig_wrap.cpp.

{
  SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
  if (sobj) {
    void *pack = malloc(size);
    if (pack) {
      memcpy(pack, ptr, size);
      sobj->pack = pack;
      sobj->ty   = ty;
      sobj->size = size;
    } else {
      PyObject_DEL((PyObject *) sobj);
      sobj = 0;
    }
  }
  return (PyObject *) sobj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME int SwigPyPacked_print ( SwigPyPacked v,
FILE *  fp,
int   SWIGUNUSEDPARMflags 
)

Definition at line 1882 of file swig_wrap.cpp.

{
  char result[SWIG_BUFFER_SIZE];
  fputs("<Swig Packed ", fp); 
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    fputs("at ", fp); 
    fputs(result, fp); 
  }
  fputs(v->ty->name,fp); 
  fputs(">", fp);
  return 0; 
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1896 of file swig_wrap.cpp.

{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
  }  
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1907 of file swig_wrap.cpp.

{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromChar(v->ty->name);
  }  
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME PyTypeObject* SwigPyPacked_type ( void  )

Definition at line 1929 of file swig_wrap.cpp.

                        {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
  return type;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGRUNTIME swig_type_info* SwigPyPacked_UnpackData ( PyObject *  obj,
void *  ptr,
size_t  size 
)

Definition at line 2052 of file swig_wrap.cpp.

{
  if (SwigPyPacked_Check(obj)) {
    SwigPyPacked *sobj = (SwigPyPacked *)obj;
    if (sobj->size != size) return 0;
    memcpy(ptr, sobj->pack, size);
    return sobj->ty;
  } else {
    return 0;
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}} [static]

Definition at line 3118 of file swig_wrap.cpp.

Definition at line 3115 of file swig_wrap.cpp.

Definition at line 3116 of file swig_wrap.cpp.

Definition at line 3117 of file swig_wrap.cpp.

swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0} [static]

Definition at line 3106 of file swig_wrap.cpp.

swig_type_info _swigt__p_SALOME__Matrix_ptr = {"_p_SALOME__Matrix_ptr", "SALOME::Matrix_ptr *", 0, 0, (void*)0, 0} [static]

Definition at line 3103 of file swig_wrap.cpp.

swig_type_info _swigt__p_SALOME__SenderDouble_ptr = {"_p_SALOME__SenderDouble_ptr", "SALOME::SenderDouble_ptr *", 0, 0, (void*)0, 0} [static]

Definition at line 3104 of file swig_wrap.cpp.

swig_type_info _swigt__p_SALOME__SenderInt_ptr = {"_p_SALOME__SenderInt_ptr", "SALOME::SenderInt_ptr *", 0, 0, (void*)0, 0} [static]

Definition at line 3105 of file swig_wrap.cpp.

Initial value:
 {
{0, 0, 0, 0.0, 0, 0}}

Definition at line 3130 of file swig_wrap.cpp.

swig_module_info swig_module = {swig_types, 4, 0, 0, 0, 0} [static]

Definition at line 2690 of file swig_wrap.cpp.

swig_type_info* swig_types[5] [static]

Definition at line 2689 of file swig_wrap.cpp.

PyMethodDef SwigMethods[] [static]
Initial value:
 {
        { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
        { (char *)"getValueForSenderDouble", _wrap_getValueForSenderDouble, METH_VARARGS, (char *)"getValueForSenderDouble(SALOME::SenderDouble_ptr senderDouble) -> PyObject"},
        { (char *)"getValueForSenderInt", _wrap_getValueForSenderInt, METH_VARARGS, (char *)"getValueForSenderInt(SALOME::SenderInt_ptr senderInt) -> PyObject"},
        { (char *)"getValueForMatrix", _wrap_getValueForMatrix, METH_VARARGS, (char *)"getValueForMatrix(SALOME::Matrix_ptr matrix) -> PyObject"},
        { (char *)"buildSenderDoubleFromList", _wrap_buildSenderDoubleFromList, METH_VARARGS, (char *)"buildSenderDoubleFromList(PyObject pylist) -> SALOME::SenderDouble_ptr"},
        { (char *)"buildSenderIntFromList", _wrap_buildSenderIntFromList, METH_VARARGS, (char *)"buildSenderIntFromList(PyObject pylist) -> SALOME::SenderInt_ptr"},
        { NULL, NULL, 0, NULL }
}

Definition at line 3090 of file swig_wrap.cpp.

PyMethodDef swigobject_methods[] [static]
Initial value:
 {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
}

Definition at line 1705 of file swig_wrap.cpp.