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 <string>
#include "utilities.h"
#include "SALOME_LifeCycleCORBA.hxx"
#include "SALOME_FileTransferCORBA.hxx"
#include "SALOME_NamingService.hxx"
#include "ServiceUnreachable.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <limits.h>
#include <float.h>
#include <math.h>

Go to the source code of this file.

Classes

struct  swig_type_info
struct  swig_cast_info
struct  swig_module_info
struct  swig_const_info
struct  SwigPyClientData
struct  SwigPyObject
struct  SwigPyPacked
class  swig::SwigPtr_PyObject
struct  swig::SwigVar_PyObject
struct  omniORBpyAPI
struct  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_CORBA__ORB_ptr   swig_types[0]
#define SWIGTYPE_p_Engines__ContainerParameters   swig_types[1]
#define SWIGTYPE_p_Engines__MachineParameters   swig_types[2]
#define SWIGTYPE_p_Engines__ResourceParameters   swig_types[3]
#define SWIGTYPE_p_IncompatibleComponent   swig_types[4]
#define SWIGTYPE_p_SALOME_Exception   swig_types[5]
#define SWIGTYPE_p_SALOME_FileTransferCORBA   swig_types[6]
#define SWIGTYPE_p_SALOME_LifeCycleCORBA   swig_types[7]
#define SWIGTYPE_p_SALOME_NamingService   swig_types[8]
#define SWIGTYPE_p_char   swig_types[9]
#define SWIGTYPE_p_std__exception   swig_types[10]
#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_LifeCycleCORBA
#define SWIG_name   "_libSALOME_LifeCycleCORBA"
#define SWIGVERSION   0x010340
#define SWIG_VERSION   SWIGVERSION
#define SWIG_as_voidptr(a)   const_cast< void * >(static_cast< const void * >(a))
#define SWIG_as_voidptrptr(a)   ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
#define SWIG_From_long   PyInt_FromLong
#define SWIG_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)
SWIGINTERN swig_type_infoSWIG_pchar_descriptor (void)
SWIGINTERN int SWIG_AsCharPtrAndSize (PyObject *obj, char **cptr, size_t *psize, int *alloc)
SWIGINTERN int SWIG_AsVal_double (PyObject *obj, double *val)
SWIGINTERNINLINE int SWIG_CanCastAsInteger (double *d, double min, double max)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int (PyObject *obj, unsigned int *val)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize (const char *carray, size_t size)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtr (const char *cptr)
SWIGINTERN int SWIG_AsVal_long (PyObject *obj, long *val)
SWIGINTERN int SWIG_AsVal_int (PyObject *obj, int *val)
SWIGINTERNINLINE PyObject * SWIG_From_bool (bool value)
SWIGINTERNINLINE PyObject * SWIG_From_int (int value)
SWIGINTERN int SWIG_AsPtr_std_string (PyObject *obj, std::string **val)
SWIGINTERNINLINE PyObject * SWIG_From_std_string (const std::string &s)
SWIGINTERN PyObject * _wrap_makeText (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_Exception__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_Exception__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_Exception__SWIG_2 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_Exception__SWIG_3 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_Exception (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_SALOME_Exception (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_Exception_what (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SALOME_Exception_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_IncompatibleComponent__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_IncompatibleComponent__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_IncompatibleComponent (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_IncompatibleComponent (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * IncompatibleComponent_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_LifeCycleCORBA__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_LifeCycleCORBA__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_LifeCycleCORBA (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_SALOME_LifeCycleCORBA (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindComponent__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindComponent__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindComponent (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_LoadComponent__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_LoadComponent__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_LoadComponent (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_2 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_3 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_4 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_Load_ParallelComponent (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_isKnownComponentClass (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_isMpiContainer (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_NbProc (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_preSet__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_preSet__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_preSet__SWIG_2 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_preSet (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_getContainerManager (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_getResourcesManager (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_namingService (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_orb (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_copyFile (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_shutdownServers (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_killOmniNames (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_LifeCycleCORBA_convert (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SALOME_LifeCycleCORBA_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_FileTransferCORBA__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_FileTransferCORBA__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_FileTransferCORBA__SWIG_2 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_FileTransferCORBA__SWIG_3 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_SALOME_FileTransferCORBA (PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_SALOME_FileTransferCORBA (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_FileTransferCORBA_getLocalFile__SWIG_0 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_FileTransferCORBA_getLocalFile__SWIG_1 (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_SALOME_FileTransferCORBA_getLocalFile (PyObject *self, PyObject *args)
SWIGINTERN PyObject * SALOME_FileTransferCORBA_swigregister (PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static void * _p_IncompatibleComponentTo_p_SALOME_Exception (void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_IncompatibleComponentTo_p_std__exception (void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_SALOME_ExceptionTo_p_std__exception (void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME void SWIG_InitializeModule (void *clientdata)
SWIGRUNTIME void SWIG_PropagateClientData (void)
SWIGINTERN PyObject * swig_varlink_repr (swig_varlinkobject *SWIGUNUSEDPARM(v))
SWIGINTERN PyObject * swig_varlink_str (swig_varlinkobject *v)
SWIGINTERN int swig_varlink_print (swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
SWIGINTERN void swig_varlink_dealloc (swig_varlinkobject *v)
SWIGINTERN PyObject * swig_varlink_getattr (swig_varlinkobject *v, char *n)
SWIGINTERN int swig_varlink_setattr (swig_varlinkobject *v, char *n, PyObject *p)
SWIGINTERN PyTypeObject * swig_varlink_type (void)
SWIGINTERN PyObject * SWIG_Python_newvarlink (void)
SWIGINTERN void SWIG_Python_addvarlink (PyObject *p, char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGINTERN PyObject * SWIG_globals (void)
SWIGINTERN void SWIG_Python_InstallConstants (PyObject *d, swig_const_info constants[])
SWIGINTERN void SWIG_Python_FixMethods (PyMethodDef *methods, swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial)
SWIGEXPORT void SWIG_init (void)

Variables

static PyMethodDef swigobject_methods []
static swig_type_infoswig_types [12]
static swig_module_info swig_module = {swig_types, 11, 0, 0, 0, 0}
omniORBpyAPIapi
static PyMethodDef SwigMethods []
static swig_type_info _swigt__p_CORBA__ORB_ptr = {"_p_CORBA__ORB_ptr", "CORBA::ORB_ptr *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Engines__ContainerParameters = {"_p_Engines__ContainerParameters", "Engines::ContainerParameters *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Engines__MachineParameters = {"_p_Engines__MachineParameters", "Engines::MachineParameters *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_Engines__ResourceParameters = {"_p_Engines__ResourceParameters", "Engines::ResourceParameters *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_IncompatibleComponent = {"_p_IncompatibleComponent", "IncompatibleComponent *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_SALOME_Exception = {"_p_SALOME_Exception", "SALOME_Exception *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_SALOME_FileTransferCORBA = {"_p_SALOME_FileTransferCORBA", "SALOME_FileTransferCORBA *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_SALOME_LifeCycleCORBA = {"_p_SALOME_LifeCycleCORBA", "SALOME_LifeCycleCORBA *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_SALOME_NamingService = {"_p_SALOME_NamingService", "SALOME_NamingService *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}
static swig_type_info _swigt__p_std__exception = {"_p_std__exception", "std::exception *", 0, 0, (void*)0, 0}
static swig_type_infoswig_type_initial []
static swig_cast_info _swigc__p_CORBA__ORB_ptr [] = { {&_swigt__p_CORBA__ORB_ptr, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Engines__ContainerParameters [] = { {&_swigt__p_Engines__ContainerParameters, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Engines__MachineParameters [] = { {&_swigt__p_Engines__MachineParameters, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_Engines__ResourceParameters [] = { {&_swigt__p_Engines__ResourceParameters, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_IncompatibleComponent [] = { {&_swigt__p_IncompatibleComponent, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_SALOME_Exception [] = { {&_swigt__p_IncompatibleComponent, _p_IncompatibleComponentTo_p_SALOME_Exception, 0, 0}, {&_swigt__p_SALOME_Exception, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_SALOME_FileTransferCORBA [] = { {&_swigt__p_SALOME_FileTransferCORBA, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_SALOME_LifeCycleCORBA [] = { {&_swigt__p_SALOME_LifeCycleCORBA, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_SALOME_NamingService [] = { {&_swigt__p_SALOME_NamingService, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_char [] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}
static swig_cast_info _swigc__p_std__exception [] = { {&_swigt__p_IncompatibleComponent, _p_IncompatibleComponentTo_p_std__exception, 0, 0}, {&_swigt__p_std__exception, 0, 0, 0}, {&_swigt__p_SALOME_Exception, _p_SALOME_ExceptionTo_p_std__exception, 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 7127 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 2725 of file swig_wrap.cpp.

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

Definition at line 2726 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_From_long   PyInt_FromLong

Definition at line 3168 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_LifeCycleCORBA

Definition at line 2716 of file swig_wrap.cpp.

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

Definition at line 7128 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 2699 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_LifeCycleCORBA"

Definition at line 2719 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 7126 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 2698 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 2722 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[9]

Definition at line 2694 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.

Definition at line 2688 of file swig_wrap.cpp.

Definition at line 2689 of file swig_wrap.cpp.

Definition at line 2690 of file swig_wrap.cpp.

Definition at line 2691 of file swig_wrap.cpp.

Definition at line 2692 of file swig_wrap.cpp.

Definition at line 2693 of file swig_wrap.cpp.

Definition at line 2695 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 2721 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

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

Definition at line 6812 of file swig_wrap.cpp.

                                                                                                    {
    return (void *)((SALOME_Exception *)  ((IncompatibleComponent *) x));
}
static void* _p_IncompatibleComponentTo_p_std__exception ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 6815 of file swig_wrap.cpp.

                                                                                                  {
    return (void *)((std::exception *) (SALOME_Exception *) ((IncompatibleComponent *) x));
}
static void* _p_SALOME_ExceptionTo_p_std__exception ( void *  x,
int *  SWIGUNUSEDPARMnewmemory 
) [static]

Definition at line 6818 of file swig_wrap.cpp.

                                                                                             {
    return (void *)((std::exception *)  ((SALOME_Exception *) x));
}
SWIGRUNTIME PyTypeObject* _PySwigObject_type ( void  )
SWIGRUNTIME PyTypeObject* _PySwigPacked_type ( void  )
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:

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

Definition at line 3640 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  IncompatibleComponent *arg1 = (IncompatibleComponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_IncompatibleComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_IncompatibleComponent, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IncompatibleComponent" "', argument " "1"" of type '" "IncompatibleComponent *""'"); 
  }
  arg1 = reinterpret_cast< IncompatibleComponent * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      delete arg1;
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3469 of file swig_wrap.cpp.

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

Here is the call graph for this function:

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

Definition at line 6520 of file swig_wrap.cpp.

                                                                                                           {
  PyObject *resultobj = 0;
  SALOME_FileTransferCORBA *arg1 = (SALOME_FileTransferCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_SALOME_FileTransferCORBA",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_FileTransferCORBA, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SALOME_FileTransferCORBA" "', argument " "1"" of type '" "SALOME_FileTransferCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_FileTransferCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      delete arg1;
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3813 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_SALOME_LifeCycleCORBA",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SALOME_LifeCycleCORBA" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      delete arg1;
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3222 of file swig_wrap.cpp.

                                                                                    {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned int arg3 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:makeText",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "makeText" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "makeText" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "makeText" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  result = (char *)makeText((char const *)arg1,(char const *)arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3609 of file swig_wrap.cpp.

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

Here is the call graph for this function:

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

Definition at line 3519 of file swig_wrap.cpp.

                                                                                                             {
  PyObject *resultobj = 0;
  IncompatibleComponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_IncompatibleComponent")) SWIG_fail;
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (IncompatibleComponent *)new IncompatibleComponent();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_IncompatibleComponent, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 3558 of file swig_wrap.cpp.

                                                                                                             {
  PyObject *resultobj = 0;
  IncompatibleComponent *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  IncompatibleComponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_IncompatibleComponent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_IncompatibleComponent,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_IncompatibleComponent" "', argument " "1"" of type '" "IncompatibleComponent const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_IncompatibleComponent" "', argument " "1"" of type '" "IncompatibleComponent const &""'"); 
  }
  arg1 = reinterpret_cast< IncompatibleComponent * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (IncompatibleComponent *)new IncompatibleComponent((IncompatibleComponent const &)*arg1);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_IncompatibleComponent, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 3401 of file swig_wrap.cpp.

                                                                                {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_SALOME_Exception, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_SALOME_Exception__SWIG_3(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_SALOME_Exception__SWIG_2(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_SALOME_Exception__SWIG_1(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_new_SALOME_Exception__SWIG_0(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SALOME_Exception'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SALOME_Exception(char const *,char const *,unsigned int const)\n"
    "    SALOME_Exception(char const *,char const *)\n"
    "    SALOME_Exception(char const *)\n"
    "    SALOME_Exception(SALOME_Exception const &)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3268 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned int arg3 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  SALOME_Exception *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_SALOME_Exception",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SALOME_Exception" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SALOME_Exception" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SALOME_Exception" "', argument " "3"" of type '" "unsigned int""'");
  } 
  arg3 = static_cast< unsigned int >(val3);
  result = (SALOME_Exception *)new SALOME_Exception((char const *)arg1,(char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_Exception, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3314 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  SALOME_Exception *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_SALOME_Exception",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SALOME_Exception" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SALOME_Exception" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  result = (SALOME_Exception *)new SALOME_Exception((char const *)arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_Exception, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3351 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  SALOME_Exception *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_SALOME_Exception",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SALOME_Exception" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = reinterpret_cast< char * >(buf1);
  result = (SALOME_Exception *)new SALOME_Exception((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_Exception, SWIG_POINTER_NEW |  0 );
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3376 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  SALOME_Exception *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  SALOME_Exception *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_SALOME_Exception",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_SALOME_Exception,  0  | 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SALOME_Exception" "', argument " "1"" of type '" "SALOME_Exception const &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SALOME_Exception" "', argument " "1"" of type '" "SALOME_Exception const &""'"); 
  }
  arg1 = reinterpret_cast< SALOME_Exception * >(argp1);
  result = (SALOME_Exception *)new SALOME_Exception((SALOME_Exception const &)*arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_Exception, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 6458 of file swig_wrap.cpp.

                                                                                        {
  int argc;
  PyObject *argv[4];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 3); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_SALOME_FileTransferCORBA__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    {
      _v=PyObject_HasAttrString(argv[0], "__omni_obj");
    }
    if (_v) {
      return _wrap_new_SALOME_FileTransferCORBA__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_new_SALOME_FileTransferCORBA__SWIG_3(self, args);
      }
    }
  }
  if (argc == 3) {
    int _v;
    int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_SALOME_FileTransferCORBA__SWIG_2(self, args);
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SALOME_FileTransferCORBA'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SALOME_FileTransferCORBA()\n"
    "    SALOME_FileTransferCORBA(Engines::fileRef_ptr)\n"
    "    SALOME_FileTransferCORBA(std::string,std::string,std::string)\n"
    "    SALOME_FileTransferCORBA(std::string,std::string)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 6234 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  SALOME_FileTransferCORBA *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_SALOME_FileTransferCORBA")) SWIG_fail;
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_FileTransferCORBA *)new SALOME_FileTransferCORBA();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_FileTransferCORBA, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 6273 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  Engines::fileRef_ptr arg1 ;
  PyObject * obj0 = 0 ;
  SALOME_FileTransferCORBA *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_SALOME_FileTransferCORBA",&obj0)) SWIG_fail;
  {
    MESSAGE("typemap in on CORBA object ptr");
    try {
      CORBA::Object_ptr obj = api->pyObjRefToCxxObjRef(obj0,1);
      arg1 = Engines::fileRef::_narrow(obj);
      SCRUTE(arg1);
    }
    catch (...) {
      PyErr_SetString(PyExc_RuntimeError, "not a valid CORBA object ptr");
    }
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_FileTransferCORBA *)new SALOME_FileTransferCORBA(arg1);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_FileTransferCORBA, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 6325 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  std::string arg1 ;
  std::string arg2 ;
  std::string arg3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  SALOME_FileTransferCORBA *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:new_SALOME_FileTransferCORBA",&obj0,&obj1,&obj2)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj0, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SALOME_FileTransferCORBA" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SALOME_FileTransferCORBA" "', argument " "2"" of type '" "std::string""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj2, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SALOME_FileTransferCORBA" "', argument " "3"" of type '" "std::string""'"); 
    }
    arg3 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_FileTransferCORBA *)new SALOME_FileTransferCORBA(arg1,arg2,arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_FileTransferCORBA, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 6397 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  std::string arg1 ;
  std::string arg2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  SALOME_FileTransferCORBA *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:new_SALOME_FileTransferCORBA",&obj0,&obj1)) SWIG_fail;
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj0, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SALOME_FileTransferCORBA" "', argument " "1"" of type '" "std::string""'"); 
    }
    arg1 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SALOME_FileTransferCORBA" "', argument " "2"" of type '" "std::string""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_FileTransferCORBA *)new SALOME_FileTransferCORBA(arg1,arg2);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_FileTransferCORBA, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3781 of file swig_wrap.cpp.

                                                                                     {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_new_SALOME_LifeCycleCORBA__SWIG_1(self, args);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_NamingService, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_SALOME_LifeCycleCORBA__SWIG_0(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_SALOME_LifeCycleCORBA'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    SALOME_LifeCycleCORBA(SALOME_NamingService *)\n"
    "    SALOME_LifeCycleCORBA()\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3694 of file swig_wrap.cpp.

                                                                                                             {
  PyObject *resultobj = 0;
  SALOME_NamingService *arg1 = (SALOME_NamingService *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  SALOME_LifeCycleCORBA *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:new_SALOME_LifeCycleCORBA",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_NamingService, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SALOME_LifeCycleCORBA" "', argument " "1"" of type '" "SALOME_NamingService *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_NamingService * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_LifeCycleCORBA *)new SALOME_LifeCycleCORBA(arg1);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_LifeCycleCORBA, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 3742 of file swig_wrap.cpp.

                                                                                                             {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_SALOME_LifeCycleCORBA")) SWIG_fail;
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_LifeCycleCORBA *)new SALOME_LifeCycleCORBA();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_LifeCycleCORBA, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}

Here is the caller graph for this function:

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

Definition at line 3490 of file swig_wrap.cpp.

                                                                                                 {
  PyObject *resultobj = 0;
  SALOME_Exception *arg1 = (SALOME_Exception *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_Exception_what",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_Exception, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_Exception_what" "', argument " "1"" of type '" "SALOME_Exception const *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_Exception * >(argp1);
  result = (char *)((SALOME_Exception const *)arg1)->what();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 6674 of file swig_wrap.cpp.

                                                                                                 {
  int argc;
  PyObject *argv[3];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 2); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_FileTransferCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_SALOME_FileTransferCORBA_getLocalFile__SWIG_1(self, args);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_FileTransferCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_SALOME_FileTransferCORBA_getLocalFile__SWIG_0(self, args);
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SALOME_FileTransferCORBA_getLocalFile'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    getLocalFile(SALOME_FileTransferCORBA *,std::string)\n"
    "    getLocalFile(SALOME_FileTransferCORBA *)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 6567 of file swig_wrap.cpp.

                                                                                                                         {
  PyObject *resultobj = 0;
  SALOME_FileTransferCORBA *arg1 = (SALOME_FileTransferCORBA *) 0 ;
  std::string arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  std::string result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:SALOME_FileTransferCORBA_getLocalFile",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_FileTransferCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_FileTransferCORBA_getLocalFile" "', argument " "1"" of type '" "SALOME_FileTransferCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_FileTransferCORBA * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    int res = SWIG_AsPtr_std_string(obj1, &ptr);
    if (!SWIG_IsOK(res) || !ptr) {
      SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "SALOME_FileTransferCORBA_getLocalFile" "', argument " "2"" of type '" "std::string""'"); 
    }
    arg2 = *ptr;
    if (SWIG_IsNewObj(res)) delete ptr;
  }
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->getLocalFile(arg2);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 6626 of file swig_wrap.cpp.

                                                                                                                         {
  PyObject *resultobj = 0;
  SALOME_FileTransferCORBA *arg1 = (SALOME_FileTransferCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  std::string result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_FileTransferCORBA_getLocalFile",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_FileTransferCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_FileTransferCORBA_getLocalFile" "', argument " "1"" of type '" "SALOME_FileTransferCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_FileTransferCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->getLocalFile();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_std_string(static_cast< std::string >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 6089 of file swig_wrap.cpp.

                                                                                                         {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  Engines::ContainerParameters *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:SALOME_LifeCycleCORBA_convert",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_convert" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_Engines__ContainerParameters,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_convert" "', argument " "3"" of type '" "Engines::ContainerParameters &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_convert" "', argument " "3"" of type '" "Engines::ContainerParameters &""'"); 
  }
  arg3 = reinterpret_cast< Engines::ContainerParameters * >(argp3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      (arg1)->convert((Engines::MachineParameters const &)*arg2,*arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 5909 of file swig_wrap.cpp.

                                                                                                          {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  char *arg5 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  int alloc4 = 0 ;
  int res5 ;
  char *buf5 = 0 ;
  int alloc5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:SALOME_LifeCycleCORBA_copyFile",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_copyFile" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_copyFile" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_copyFile" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SALOME_LifeCycleCORBA_copyFile" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = reinterpret_cast< char * >(buf4);
  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SALOME_LifeCycleCORBA_copyFile" "', argument " "5"" of type '" "char const *""'");
  }
  arg5 = reinterpret_cast< char * >(buf5);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      (arg1)->copyFile((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 4157 of file swig_wrap.cpp.

                                                                                               {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PyDict_Check(argv[1])? 1 : 0;
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_SALOME_LifeCycleCORBA_FindComponent__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PyDict_Check(argv[1])? 1 : 0;
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_SALOME_LifeCycleCORBA_FindComponent__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SALOME_LifeCycleCORBA_FindComponent'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindComponent(SALOME_LifeCycleCORBA *,Engines::MachineParameters const &,char const *,int)\n"
    "    FindComponent(SALOME_LifeCycleCORBA *,Engines::MachineParameters const &,char const *)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3860 of file swig_wrap.cpp.

                                                                                                                       {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:SALOME_LifeCycleCORBA_FindComponent",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindComponent" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindComponent" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SALOME_LifeCycleCORBA_FindComponent" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindComponent((Engines::MachineParameters const &)*arg2,(char const *)arg3,arg4);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4013 of file swig_wrap.cpp.

                                                                                                                       {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:SALOME_LifeCycleCORBA_FindComponent",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindComponent" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindComponent" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindComponent((Engines::MachineParameters const &)*arg2,(char const *)arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5115 of file swig_wrap.cpp.

                                                                                                      {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PyDict_Check(argv[1])? 1 : 0;
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_Engines__ContainerParameters, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_3(self, args);
        }
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_4(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PyDict_Check(argv[1])? 1 : 0;
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_0(self, args);
          }
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_Engines__ContainerParameters, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_SALOME_LifeCycleCORBA_FindOrLoad_Component__SWIG_2(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SALOME_LifeCycleCORBA_FindOrLoad_Component'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    FindOrLoad_Component(SALOME_LifeCycleCORBA *,Engines::MachineParameters const &,char const *,int)\n"
    "    FindOrLoad_Component(SALOME_LifeCycleCORBA *,Engines::MachineParameters const &,char const *)\n"
    "    FindOrLoad_Component(SALOME_LifeCycleCORBA *,Engines::ContainerParameters const &,char const *,int)\n"
    "    FindOrLoad_Component(SALOME_LifeCycleCORBA *,Engines::ContainerParameters const &,char const *)\n"
    "    FindOrLoad_Component(SALOME_LifeCycleCORBA *,char const *,char const *)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 4578 of file swig_wrap.cpp.

                                                                                                                              {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:SALOME_LifeCycleCORBA_FindOrLoad_Component",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindOrLoad_Component((Engines::MachineParameters const &)*arg2,(char const *)arg3,arg4);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4731 of file swig_wrap.cpp.

                                                                                                                              {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:SALOME_LifeCycleCORBA_FindOrLoad_Component",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindOrLoad_Component((Engines::MachineParameters const &)*arg2,(char const *)arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4875 of file swig_wrap.cpp.

                                                                                                                              {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::ContainerParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:SALOME_LifeCycleCORBA_FindOrLoad_Component",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Engines__ContainerParameters,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  arg2 = reinterpret_cast< Engines::ContainerParameters * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindOrLoad_Component((Engines::ContainerParameters const &)*arg2,(char const *)arg3,arg4);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4961 of file swig_wrap.cpp.

                                                                                                                              {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::ContainerParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:SALOME_LifeCycleCORBA_FindOrLoad_Component",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Engines__ContainerParameters,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  arg2 = reinterpret_cast< Engines::ContainerParameters * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindOrLoad_Component((Engines::ContainerParameters const &)*arg2,(char const *)arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5038 of file swig_wrap.cpp.

                                                                                                                              {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:SALOME_LifeCycleCORBA_FindOrLoad_Component",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_FindOrLoad_Component" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->FindOrLoad_Component((char const *)arg2,(char const *)arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5707 of file swig_wrap.cpp.

                                                                                                                     {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  Engines::ContainerManager_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_getContainerManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_getContainerManager" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->getContainerManager();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}
SWIGINTERN PyObject* _wrap_SALOME_LifeCycleCORBA_getResourcesManager ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 5760 of file swig_wrap.cpp.

                                                                                                                     {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  Engines::ResourcesManager_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_getResourcesManager",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_getResourcesManager" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->getResourcesManager();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 5323 of file swig_wrap.cpp.

                                                                                                                       {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  char *arg2 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  bool result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:SALOME_LifeCycleCORBA_isKnownComponentClass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_isKnownComponentClass" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_isKnownComponentClass" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (bool)(arg1)->isKnownComponentClass((char const *)arg2);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 5383 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::ContainerParameters *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  bool result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:SALOME_LifeCycleCORBA_isMpiContainer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_isMpiContainer" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Engines__ContainerParameters,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_isMpiContainer" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_isMpiContainer" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  arg2 = reinterpret_cast< Engines::ContainerParameters * >(argp2);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      try {
        result = (bool)(arg1)->isMpiContainer((Engines::ContainerParameters const &)*arg2);
      }
      catch(IncompatibleComponent &_e) {
        SWIG_Python_Raise(SWIG_NewPointerObj((new IncompatibleComponent(static_cast< const IncompatibleComponent& >(_e))),SWIGTYPE_p_IncompatibleComponent,SWIG_POINTER_OWN), "IncompatibleComponent", SWIGTYPE_p_IncompatibleComponent); SWIG_fail;
      }
      
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_bool(static_cast< bool >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 6051 of file swig_wrap.cpp.

                                                                                                               {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":SALOME_LifeCycleCORBA_killOmniNames")) SWIG_fail;
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      SALOME_LifeCycleCORBA::killOmniNames();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 5237 of file swig_wrap.cpp.

                                                                                                                        {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::ContainerParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:SALOME_LifeCycleCORBA_Load_ParallelComponent",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_Load_ParallelComponent" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Engines__ContainerParameters,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_Load_ParallelComponent" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_Load_ParallelComponent" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  arg2 = reinterpret_cast< Engines::ContainerParameters * >(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_Load_ParallelComponent" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SALOME_LifeCycleCORBA_Load_ParallelComponent" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->Load_ParallelComponent((Engines::ContainerParameters const &)*arg2,(char const *)arg3,arg4);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 4516 of file swig_wrap.cpp.

                                                                                               {
  int argc;
  PyObject *argv[5];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 4); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PyDict_Check(argv[1])? 1 : 0;
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_SALOME_LifeCycleCORBA_LoadComponent__SWIG_1(self, args);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SALOME_LifeCycleCORBA, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = PyDict_Check(argv[1])? 1 : 0;
      }
      if (_v) {
        int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          {
            int res = SWIG_AsVal_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_SALOME_LifeCycleCORBA_LoadComponent__SWIG_0(self, args);
          }
        }
      }
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SALOME_LifeCycleCORBA_LoadComponent'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    LoadComponent(SALOME_LifeCycleCORBA *,Engines::MachineParameters const &,char const *,int)\n"
    "    LoadComponent(SALOME_LifeCycleCORBA *,Engines::MachineParameters const &,char const *)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 4219 of file swig_wrap.cpp.

                                                                                                                       {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:SALOME_LifeCycleCORBA_LoadComponent",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_LoadComponent" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_LoadComponent" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SALOME_LifeCycleCORBA_LoadComponent" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->LoadComponent((Engines::MachineParameters const &)*arg2,(char const *)arg3,arg4);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4372 of file swig_wrap.cpp.

                                                                                                                       {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::MachineParameters *arg2 = 0 ;
  char *arg3 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  Engines::EngineComponent_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:SALOME_LifeCycleCORBA_LoadComponent",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_LoadComponent" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    //printf("typemap in on Engines::MachineParameters\n");
    MESSAGE("typemap in on Engines::MachineParameters");
    if (PyDict_Check(obj1) == 1)
    {
      Engines::MachineParameters *param = new Engines::MachineParameters ;
      SALOME_LifeCycleCORBA::preSet(*param);
      
      PyObject *key, *value;
      Py_ssize_t pos = 0;
      while (PyDict_Next(obj1, &pos, &key, &value))
      {
        char* keystr = PyString_AsString(key);
        if (strcmp(keystr,"container_name")==0)
        {
          param->container_name = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"hostname")==0)
        {
          param->hostname = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"OS")==0)
        {
          param->OS = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"mem_mb")==0)
        {
          param->mem_mb = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"cpu_clock")==0)
        {
          param->cpu_clock = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_proc_per_node")==0)
        {
          param->nb_proc_per_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"nb_node")==0)
        {
          param->nb_node = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"isMPI")==0)
        {
          param->isMPI = PyLong_AsLong(value);
        }
        else if (strcmp(keystr,"workingdir")==0)
        param->workingdir = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"mode")==0)
        param->mode = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"policy")==0)
        param->policy = CORBA::string_dup(PyString_AsString(value));
        else if (strcmp(keystr,"parallelLib")==0)
        {
          param->parallelLib = CORBA::string_dup(PyString_AsString(value));
        }
        else if (strcmp(keystr,"nb_component_nodes")==0)
        {
          param->nb_component_nodes = PyLong_AsLong(value);
        }
      }
      arg2 = param;
    }
    else 
    {
      MESSAGE("Not a dictionnary");
      PyErr_SetString(PyExc_TypeError,"Must Be a Python Dictionnary");
      return NULL;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SALOME_LifeCycleCORBA_LoadComponent" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->LoadComponent((Engines::MachineParameters const &)*arg2,(char const *)arg3);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  {
    MESSAGE("typemap out on CORBA object ptr");
    SCRUTE(result);
    resultobj = api->cxxObjRefToPyObjRef(result, 1);
    SCRUTE(resultobj);
  }
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return resultobj;
fail:
  {
    MESSAGE("delete arg2");
    delete arg2;
  }
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5813 of file swig_wrap.cpp.

                                                                                                               {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  SALOME_NamingService *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_namingService",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_namingService" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (SALOME_NamingService *)(arg1)->namingService();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SALOME_NamingService, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}
SWIGINTERN PyObject* _wrap_SALOME_LifeCycleCORBA_NbProc ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 5449 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  Engines::ContainerParameters *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:SALOME_LifeCycleCORBA_NbProc",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_NbProc" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_Engines__ContainerParameters,  0  | 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SALOME_LifeCycleCORBA_NbProc" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_NbProc" "', argument " "2"" of type '" "Engines::ContainerParameters const &""'"); 
  }
  arg2 = reinterpret_cast< Engines::ContainerParameters * >(argp2);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (int)(arg1)->NbProc((Engines::ContainerParameters const &)*arg2);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_From_int(static_cast< int >(result));
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 5861 of file swig_wrap.cpp.

                                                                                                     {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  CORBA::ORB_ptr result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_orb",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_orb" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      result = (arg1)->orb();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_NewPointerObj((new CORBA::ORB_ptr(static_cast< const CORBA::ORB_ptr& >(result))), SWIGTYPE_p_CORBA__ORB_ptr, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}
SWIGINTERN PyObject* _wrap_SALOME_LifeCycleCORBA_preSet ( PyObject *  self,
PyObject *  args 
)

Definition at line 5659 of file swig_wrap.cpp.

                                                                                        {
  int argc;
  PyObject *argv[2];
  int ii;
  
  if (!PyTuple_Check(args)) SWIG_fail;
  argc = (int)PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Engines__MachineParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_SALOME_LifeCycleCORBA_preSet__SWIG_0(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Engines__ResourceParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_SALOME_LifeCycleCORBA_preSet__SWIG_1(self, args);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_Engines__ContainerParameters, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_SALOME_LifeCycleCORBA_preSet__SWIG_2(self, args);
    }
  }
  
fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SALOME_LifeCycleCORBA_preSet'.\n"
    "  Possible C/C++ prototypes are:\n"
    "    preSet(Engines::MachineParameters &)\n"
    "    preSet(Engines::ResourceParameters &)\n"
    "    SALOME_LifeCycleCORBA::preSet(Engines::ContainerParameters &)\n");
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 5509 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  Engines::MachineParameters *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_preSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Engines__MachineParameters,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_preSet" "', argument " "1"" of type '" "Engines::MachineParameters &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_preSet" "', argument " "1"" of type '" "Engines::MachineParameters &""'"); 
  }
  arg1 = reinterpret_cast< Engines::MachineParameters * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      SALOME_LifeCycleCORBA::preSet(*arg1);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5559 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  Engines::ResourceParameters *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_preSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Engines__ResourceParameters,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_preSet" "', argument " "1"" of type '" "Engines::ResourceParameters &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_preSet" "', argument " "1"" of type '" "Engines::ResourceParameters &""'"); 
  }
  arg1 = reinterpret_cast< Engines::ResourceParameters * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      SALOME_LifeCycleCORBA::preSet(*arg1);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 5609 of file swig_wrap.cpp.

                                                                                                                {
  PyObject *resultobj = 0;
  Engines::ContainerParameters *arg1 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_preSet",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_Engines__ContainerParameters,  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_preSet" "', argument " "1"" of type '" "Engines::ContainerParameters &""'"); 
  }
  if (!argp1) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SALOME_LifeCycleCORBA_preSet" "', argument " "1"" of type '" "Engines::ContainerParameters &""'"); 
  }
  arg1 = reinterpret_cast< Engines::ContainerParameters * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      SALOME_LifeCycleCORBA::preSet(*arg1);
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 6004 of file swig_wrap.cpp.

                                                                                                                 {
  PyObject *resultobj = 0;
  SALOME_LifeCycleCORBA *arg1 = (SALOME_LifeCycleCORBA *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:SALOME_LifeCycleCORBA_shutdownServers",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SALOME_LifeCycleCORBA, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SALOME_LifeCycleCORBA_shutdownServers" "', argument " "1"" of type '" "SALOME_LifeCycleCORBA *""'"); 
  }
  arg1 = reinterpret_cast< SALOME_LifeCycleCORBA * >(argp1);
  {
    Py_BEGIN_ALLOW_THREADS
    try {
      (arg1)->shutdownServers();
    }
    catch (ServiceUnreachable) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,"Naming Service Unreacheable");
      return NULL;
    }
    catch (SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.what());
      return NULL;
    }
    catch (SALOME::SALOME_Exception &e) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError,e.details.text);
      return NULL;
    }
    catch (...) {
      Py_BLOCK_THREADS
      PyErr_SetString(PyExc_RuntimeError, "unknown exception");
      return NULL;
    }
    Py_END_ALLOW_THREADS
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

Here is the call graph for this function:

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

Definition at line 3687 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_IncompatibleComponent, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

Here is the call 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;
}
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* SALOME_Exception_swigregister ( PyObject *  SWIGUNUSEDPARMself,
PyObject *  args 
)

Definition at line 3512 of file swig_wrap.cpp.

                                                                                                   {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_SALOME_Exception, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

Here is the call graph for this function:

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

Definition at line 6716 of file swig_wrap.cpp.

                                                                                                           {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_SALOME_FileTransferCORBA, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

Here is the call graph for this function:

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

Definition at line 6227 of file swig_wrap.cpp.

                                                                                                        {
  PyObject *obj;
  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
  SWIG_TypeNewClientData(SWIGTYPE_p_SALOME_LifeCycleCORBA, SWIG_NewClientData(obj));
  return SWIG_Py_Void();
}

Here is the call graph for this function:

SWIGINTERN int SWIG_AsCharPtrAndSize ( PyObject *  obj,
char **  cptr,
size_t *  psize,
int *  alloc 
)

Definition at line 2850 of file swig_wrap.cpp.

{
#if PY_VERSION_HEX>=0x03000000
  if (PyUnicode_Check(obj))
#else  
  if (PyString_Check(obj))
#endif
  {
    char *cstr; Py_ssize_t len;
#if PY_VERSION_HEX>=0x03000000
    if (!alloc && cptr) {
        /* We can't allow converting without allocation, since the internal
           representation of string in Python 3 is UCS-2/UCS-4 but we require
           a UTF-8 representation.
           TODO(bhy) More detailed explanation */
        return SWIG_RuntimeError;
    }
    obj = PyUnicode_AsUTF8String(obj);
    PyBytes_AsStringAndSize(obj, &cstr, &len);
    if(alloc) *alloc = SWIG_NEWOBJ;
#else
    PyString_AsStringAndSize(obj, &cstr, &len);
#endif
    if (cptr) {
      if (alloc) {
       /* 
          In python the user should not be able to modify the inner
          string representation. To warranty that, if you define
          SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
          buffer is always returned.

          The default behavior is just to return the pointer value,
          so, be careful.
       */ 
#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
       if (*alloc != SWIG_OLDOBJ) 
#else
       if (*alloc == SWIG_NEWOBJ) 
#endif
         {
           *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
           *alloc = SWIG_NEWOBJ;
         }
       else {
         *cptr = cstr;
         *alloc = SWIG_OLDOBJ;
       }
      } else {
        #if PY_VERSION_HEX>=0x03000000
        assert(0); /* Should never reach here in Python 3 */
        #endif
       *cptr = SWIG_Python_str_AsChar(obj);
      }
    }
    if (psize) *psize = len + 1;
#if PY_VERSION_HEX>=0x03000000
    Py_XDECREF(obj);
#endif
    return SWIG_OK;
  } else {
    swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    if (pchar_descriptor) {
      void* vptr = 0;
      if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
       if (cptr) *cptr = (char *) vptr;
       if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
       if (alloc) *alloc = SWIG_OLDOBJ;
       return SWIG_OK;
      }
    }
  }
  return SWIG_TypeError;
}

Here is the call graph for this function:

SWIGINTERN int SWIG_AsPtr_std_string ( PyObject *  obj,
std::string **  val 
)

Definition at line 3179 of file swig_wrap.cpp.

{
  char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
  if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
    if (buf) {
      if (val) *val = new std::string(buf, size - 1);
      if (alloc == SWIG_NEWOBJ) delete[] buf;
      return SWIG_NEWOBJ;
    } else {
      if (val) *val = 0;
      return SWIG_OLDOBJ;
    }
  } else {
    static int init = 0;
    static swig_type_info* descriptor = 0;
    if (!init) {
      descriptor = SWIG_TypeQuery("std::string" " *");
      init = 1;
    }
    if (descriptor) {
      std::string *vptr;
      int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
      if (SWIG_IsOK(res) && val) *val = vptr;
      return res;
    }
  }
  return SWIG_ERROR;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN int SWIG_AsVal_double ( PyObject *  obj,
double *  val 
)

Definition at line 2939 of file swig_wrap.cpp.

{
  int res = SWIG_TypeError;
  if (PyFloat_Check(obj)) {
    if (val) *val = PyFloat_AsDouble(obj);
    return SWIG_OK;
  } else if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    double v = PyLong_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    double d = PyFloat_AsDouble(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = d;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      long v = PyLong_AsLong(obj);
      if (!PyErr_Occurred()) {
       if (val) *val = v;
       return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
      } else {
       PyErr_Clear();
      }
    }
  }
#endif
  return res;
}
SWIGINTERN int SWIG_AsVal_int ( PyObject *  obj,
int *  val 
)

Definition at line 3146 of file swig_wrap.cpp.

{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}

Here is the call graph for this function:

SWIGINTERN int SWIG_AsVal_long ( PyObject *  obj,
long *  val 
)

Definition at line 3107 of file swig_wrap.cpp.

{
  if (PyInt_Check(obj)) {
    if (val) *val = PyInt_AsLong(obj);
    return SWIG_OK;
  } else if (PyLong_Check(obj)) {
    long v = PyLong_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    long v = PyInt_AsLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
       if (val) *val = (long)(d);
       return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}

Here is the call graph for this function:

SWIGINTERN int SWIG_AsVal_unsigned_SS_int ( PyObject *  obj,
unsigned int *  val 
)

Definition at line 3063 of file swig_wrap.cpp.

{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UINT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned int >(v);
    }
  }  
  return res;
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERN int SWIG_AsVal_unsigned_SS_long ( PyObject *  obj,
unsigned long *  val 
)

Definition at line 3019 of file swig_wrap.cpp.

{
  if (PyInt_Check(obj)) {
    long v = PyInt_AsLong(obj);
    if (v >= 0) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      return SWIG_OverflowError;
    }
  } else if (PyLong_Check(obj)) {
    unsigned long v = PyLong_AsUnsignedLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_OK;
    } else {
      PyErr_Clear();
    }
  }
#ifdef SWIG_PYTHON_CAST_MODE
  {
    int dispatch = 0;
    unsigned long v = PyLong_AsUnsignedLong(obj);
    if (!PyErr_Occurred()) {
      if (val) *val = v;
      return SWIG_AddCast(SWIG_OK);
    } else {
      PyErr_Clear();
    }
    if (!dispatch) {
      double d;
      int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
      if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
       if (val) *val = (unsigned long)(d);
       return res;
      }
    }
  }
#endif
  return SWIG_TypeError;
}

Here is the call graph for this function:

SWIGINTERNINLINE int SWIG_CanCastAsInteger ( double *  d,
double  min,
double  max 
)

Definition at line 2989 of file swig_wrap.cpp.

                                                         {
  double x = *d;
  if ((min <= x && x <= max)) {
   double fx = floor(x);
   double cx = ceil(x);
   double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
   if ((errno == EDOM) || (errno == ERANGE)) {
     errno = 0;
   } else {
     double summ, reps, diff;
     if (rd < x) {
       diff = x - rd;
     } else if (rd > x) {
       diff = rd - x;
     } else {
       return 1;
     }
     summ = rd + x;
     reps = diff/summ;
     if (reps < 8*DBL_EPSILON) {
       *d = rd;
       return 1;
     }
   }
  }
  return 0;
}
SWIGINTERNINLINE PyObject* SWIG_From_bool ( bool  value)

Definition at line 3162 of file swig_wrap.cpp.

{
  return PyBool_FromLong(value ? 1 : 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERNINLINE PyObject* SWIG_From_int ( int  value)

Definition at line 3172 of file swig_wrap.cpp.

{    
  return SWIG_From_long  (value);
}
SWIGINTERNINLINE PyObject* SWIG_From_std_string ( const std::string &  s)

Definition at line 3210 of file swig_wrap.cpp.

{
  if (s.size()) {
    return SWIG_FromCharPtrAndSize(s.data(), s.size());
  } else {
    return SWIG_FromCharPtrAndSize(s.c_str(), 0);
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

SWIGINTERNINLINE PyObject* SWIG_FromCharPtr ( const char *  cptr)

Definition at line 3100 of file swig_wrap.cpp.

{ 
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
}

Here is the call graph for this function:

SWIGINTERNINLINE PyObject* SWIG_FromCharPtrAndSize ( const char *  carray,
size_t  size 
)

Definition at line 3079 of file swig_wrap.cpp.

{
  if (carray) {
    if (size > INT_MAX) {
      swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
      return pchar_descriptor ? 
       SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
    } else {
#if PY_VERSION_HEX >= 0x03000000
      return PyUnicode_FromStringAndSize(carray, static_cast< int >(size));
#else
      return PyString_FromStringAndSize(carray, static_cast< int >(size));
#endif
    }
  } else {
    return SWIG_Py_Void();
  }
}

Here is the call graph for this function:

SWIGINTERN PyObject* SWIG_globals ( void  )

Definition at line 7336 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 7434 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);
  
  
  
  // init section
  
  PyObject* omnipy = PyImport_ImportModule((char*)"_omnipy");
  if (!omnipy)
  {
    PyErr_SetString(PyExc_ImportError, (char*)"Cannot import _omnipy");
    return;
  }
  PyObject* pyapi = PyObject_GetAttrString(omnipy, (char*)"API");
  api = (omniORBpyAPI*)PyCObject_AsVoidPtr(pyapi);
  Py_DECREF(pyapi);
  
#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 6936 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:

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;
}
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;
}
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:

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:

Definition at line 2837 of file swig_wrap.cpp.

{
  static int init = 0;
  static swig_type_info* info = 0;
  if (!init) {
    info = SWIG_TypeQuery("_p_char");
    init = 1;
  }
  return info;
}

Definition at line 7089 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:

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 7319 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
}
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:

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:

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:

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 7375 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:

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;
}

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:

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 7348 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);