12 #define SWIG_DIRECTORS
13 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
18 template<
typename T>
class SwigValueWrapper {
19 struct SwigMovePointer {
21 SwigMovePointer(T *p) : ptr(p) { }
22 ~SwigMovePointer() {
delete ptr; }
23 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0;
delete oldptr; ptr = rhs.ptr; rhs.ptr = 0;
return *
this; }
25 SwigValueWrapper& operator=(
const SwigValueWrapper<T>& rhs);
26 SwigValueWrapper(
const SwigValueWrapper<T>& rhs);
28 SwigValueWrapper() : pointer(0) { }
29 SwigValueWrapper& operator=(
const T& t) { SwigMovePointer tmp(
new T(t)); pointer = tmp;
return *
this; }
30 operator T&()
const {
return *pointer.ptr; }
31 T *operator&() {
return pointer.ptr; }
34 template <
typename T> T SwigValueInit() {
45 #ifndef SWIGTEMPLATEDISAMBIGUATOR
46 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
47 # define SWIGTEMPLATEDISAMBIGUATOR template
48 # elif defined(__HP_aCC)
51 # define SWIGTEMPLATEDISAMBIGUATOR template
53 # define SWIGTEMPLATEDISAMBIGUATOR
59 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
60 # define SWIGINLINE inline
68 # if defined(__GNUC__)
69 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
70 # define SWIGUNUSED __attribute__ ((__unused__))
75 # define SWIGUNUSED __attribute__ ((__unused__))
81 #ifndef SWIG_MSC_UNSUPPRESS_4505
82 # if defined(_MSC_VER)
83 # pragma warning(disable : 4505)
87 #ifndef SWIGUNUSEDPARM
89 # define SWIGUNUSEDPARM(p)
91 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
97 # define SWIGINTERN static SWIGUNUSED
101 #ifndef SWIGINTERNINLINE
102 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
106 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
107 # ifndef GCC_HASCLASSVISIBILITY
108 # define GCC_HASCLASSVISIBILITY
113 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
114 # if defined(STATIC_LINKED)
117 # define SWIGEXPORT __declspec(dllexport)
120 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
121 # define SWIGEXPORT __attribute__ ((visibility("default")))
130 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
131 # define SWIGSTDCALL __stdcall
138 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
139 # define _CRT_SECURE_NO_DEPRECATE
143 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
144 # define _SCL_SECURE_NO_DEPRECATE
149 #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
167 #define SWIG_RUNTIME_VERSION "4"
170 #ifdef SWIG_TYPE_TABLE
171 # define SWIG_QUOTE_STRING(x) #x
172 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
173 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
175 # define SWIG_TYPE_TABLE_NAME
188 # define SWIGRUNTIME SWIGINTERN
191 #ifndef SWIGRUNTIMEINLINE
192 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
196 #ifndef SWIG_BUFFER_SIZE
197 # define SWIG_BUFFER_SIZE 1024
201 #define SWIG_POINTER_DISOWN 0x1
202 #define SWIG_CAST_NEW_MEMORY 0x2
205 #define SWIG_POINTER_OWN 0x1
288 #define SWIG_ERROR (-1)
289 #define SWIG_IsOK(r) (r >= 0)
290 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
293 #define SWIG_CASTRANKLIMIT (1 << 8)
295 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
297 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
299 #define SWIG_BADOBJ (SWIG_ERROR)
300 #define SWIG_OLDOBJ (SWIG_OK)
301 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
302 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
304 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
305 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
306 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
307 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
308 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
309 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
312 #if defined(SWIG_CASTRANK_MODE)
313 # ifndef SWIG_TypeRank
314 # define SWIG_TypeRank unsigned long
316 # ifndef SWIG_MAXCASTRANK
317 # define SWIG_MAXCASTRANK (2)
319 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
320 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
321 SWIGINTERNINLINE
int SWIG_AddCast(
int r) {
322 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
324 SWIGINTERNINLINE
int SWIG_CheckState(
int r) {
325 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
328 # define SWIG_AddCast(r) (r)
329 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
339 typedef void *(*swig_converter_func)(
void *,
int *);
346 swig_dycast_func dcast;
355 swig_converter_func converter;
380 SWIG_TypeNameComp(
const char *f1,
const char *l1,
381 const char *f2,
const char *l2) {
382 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
383 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
384 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
385 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
387 return (
int)((l1 - f1) - (l2 - f2));
395 SWIG_TypeCmp(
const char *nb,
const char *tb) {
397 const char* te = tb + strlen(tb);
399 while (equiv != 0 && *ne) {
400 for (nb = ne; *ne; ++ne) {
401 if (*ne ==
'|')
break;
403 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
414 SWIG_TypeEquiv(
const char *nb,
const char *tb) {
415 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
426 if (strcmp(iter->type->name, c) == 0) {
427 if (iter == ty->cast)
430 iter->prev->next = iter->next;
432 iter->next->prev = iter->prev;
433 iter->next = ty->cast;
435 if (ty->cast) ty->cast->prev = iter;
453 if (iter->type == from) {
454 if (iter == ty->cast)
457 iter->prev->next = iter->next;
459 iter->next->prev = iter->prev;
460 iter->next = ty->cast;
462 if (ty->cast) ty->cast->prev = iter;
475 SWIGRUNTIMEINLINE
void *
477 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
486 if (!ty || !ty->dcast)
return ty;
487 while (ty && (ty->dcast)) {
488 ty = (*ty->dcast)(ptr);
497 SWIGRUNTIMEINLINE
const char *
506 SWIGRUNTIME
const char *
512 if (!type)
return NULL;
513 if (type->str != NULL) {
514 const char *last_name = type->str;
516 for (s = type->str; *s; s++)
517 if (*s ==
'|') last_name = s+1;
531 ti->clientdata = clientdata;
534 if (!cast->converter) {
536 if (!tc->clientdata) {
537 SWIG_TypeClientData(tc, clientdata);
545 SWIG_TypeClientData(ti, clientdata);
565 size_t r = iter->size - 1;
568 size_t i = (l + r) >> 1;
569 const char *iname = iter->types[i]->name;
571 int compare = strcmp(name, iname);
573 return iter->types[i];
574 }
else if (compare < 0) {
580 }
else if (compare > 0) {
589 }
while (iter != end);
607 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
616 for (; i < iter->size; ++i) {
617 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
618 return iter->types[i];
621 }
while (iter != end);
632 SWIG_PackData(
char *c,
void *ptr,
size_t sz) {
633 static const char hex[17] =
"0123456789abcdef";
634 const unsigned char *u = (
unsigned char *) ptr;
635 const unsigned char *eu = u + sz;
636 for (; u != eu; ++u) {
637 unsigned char uu = *u;
638 *(c++) = hex[(uu & 0xf0) >> 4];
639 *(c++) = hex[uu & 0xf];
647 SWIGRUNTIME
const char *
648 SWIG_UnpackData(
const char *c,
void *ptr,
size_t sz) {
649 unsigned char *u = (
unsigned char *) ptr;
650 const unsigned char *eu = u + sz;
651 for (; u != eu; ++u) {
654 if ((d >=
'0') && (d <=
'9'))
655 uu = ((d -
'0') << 4);
656 else if ((d >=
'a') && (d <=
'f'))
657 uu = ((d - (
'a'-10)) << 4);
661 if ((d >=
'0') && (d <=
'9'))
663 else if ((d >=
'a') && (d <=
'f'))
664 uu |= (d - (
'a'-10));
676 SWIG_PackVoidPtr(
char *buff,
void *ptr,
const char *name,
size_t bsz) {
678 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
680 r = SWIG_PackData(r,&ptr,
sizeof(
void *));
681 if (strlen(name) + 1 > (bsz - (r - buff)))
return 0;
686 SWIGRUNTIME
const char *
687 SWIG_UnpackVoidPtr(
const char *c,
void **ptr,
const char *name) {
689 if (strcmp(c,
"NULL") == 0) {
696 return SWIG_UnpackData(++c,ptr,
sizeof(
void *));
700 SWIG_PackDataName(
char *buff,
void *ptr,
size_t sz,
const char *name,
size_t bsz) {
702 size_t lname = (name ? strlen(name) : 0);
703 if ((2*sz + 2 + lname) > bsz)
return 0;
705 r = SWIG_PackData(r,ptr,sz);
707 strncpy(r,name,lname+1);
714 SWIGRUNTIME
const char *
715 SWIG_UnpackDataName(
const char *c,
void *ptr,
size_t sz,
const char *name) {
717 if (strcmp(c,
"NULL") == 0) {
724 return SWIG_UnpackData(++c,ptr,sz);
732 #define SWIG_UnknownError -1
733 #define SWIG_IOError -2
734 #define SWIG_RuntimeError -3
735 #define SWIG_IndexError -4
736 #define SWIG_TypeError -5
737 #define SWIG_DivisionByZero -6
738 #define SWIG_OverflowError -7
739 #define SWIG_SyntaxError -8
740 #define SWIG_ValueError -9
741 #define SWIG_SystemError -10
742 #define SWIG_AttributeError -11
743 #define SWIG_MemoryError -12
744 #define SWIG_NullReferenceError -13
749 #if PY_VERSION_HEX >= 0x03000000
751 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
752 #define PyInt_Check(x) PyLong_Check(x)
753 #define PyInt_AsLong(x) PyLong_AsLong(x)
754 #define PyInt_FromLong(x) PyLong_FromLong(x)
755 #define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
756 #define PyString_Check(name) PyBytes_Check(name)
757 #define PyString_FromString(x) PyUnicode_FromString(x)
758 #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
759 #define PyString_AsString(str) PyBytes_AsString(str)
760 #define PyString_Size(str) PyBytes_Size(str)
761 #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
762 #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
763 #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
764 #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
769 # define Py_TYPE(op) ((op)->ob_type)
774 #if PY_VERSION_HEX >= 0x03000000
775 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat
777 # define SWIG_Python_str_FromFormat PyString_FromFormat
785 SWIG_Python_str_AsChar(PyObject *str)
787 #if PY_VERSION_HEX >= 0x03000000
791 str = PyUnicode_AsUTF8String(str);
792 PyBytes_AsStringAndSize(str, &cstr, &len);
793 newstr = (
char *) malloc(len+1);
794 memcpy(newstr, cstr, len+1);
798 return PyString_AsString(str);
802 #if PY_VERSION_HEX >= 0x03000000
803 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
805 # define SWIG_Python_str_DelForPy3(x)
810 SWIG_Python_str_FromChar(
const char *c)
812 #if PY_VERSION_HEX >= 0x03000000
813 return PyUnicode_FromString(c);
815 return PyString_FromString(c);
820 #if PY_VERSION_HEX < 0x02020000
821 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
822 # define PyOS_snprintf _snprintf
824 # define PyOS_snprintf snprintf
829 #if PY_VERSION_HEX < 0x02020000
831 #ifndef SWIG_PYBUFFER_SIZE
832 # define SWIG_PYBUFFER_SIZE 1024
836 PyString_FromFormat(
const char *fmt, ...) {
838 char buf[SWIG_PYBUFFER_SIZE * 2];
841 res = vsnprintf(buf,
sizeof(buf), fmt, ap);
843 return (res < 0 || res >= (
int)
sizeof(buf)) ? 0 : PyString_FromString(buf);
848 #if PY_VERSION_HEX < 0x01060000
849 # define PyObject_Del(op) PyMem_DEL((op))
852 # define PyObject_DEL PyObject_Del
856 #if PY_VERSION_HEX < 0x02020000
857 # ifndef PyExc_StopIteration
858 # define PyExc_StopIteration PyExc_RuntimeError
860 # ifndef PyObject_GenericGetAttr
861 # define PyObject_GenericGetAttr 0
866 #if PY_VERSION_HEX < 0x02010000
867 # ifndef Py_NotImplemented
868 # define Py_NotImplemented PyExc_RuntimeError
873 #if PY_VERSION_HEX < 0x02010000
874 # ifndef PyString_AsStringAndSize
875 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
880 #if PY_VERSION_HEX < 0x02000000
881 # ifndef PySequence_Size
882 # define PySequence_Size PySequence_Length
887 #if PY_VERSION_HEX < 0x02030000
889 PyObject *PyBool_FromLong(
long ok)
891 PyObject *result = ok ? Py_True : Py_False;
900 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
901 typedef int Py_ssize_t;
902 # define PY_SSIZE_T_MAX INT_MAX
903 # define PY_SSIZE_T_MIN INT_MIN
904 typedef inquiry lenfunc;
905 typedef intargfunc ssizeargfunc;
906 typedef intintargfunc ssizessizeargfunc;
907 typedef intobjargproc ssizeobjargproc;
908 typedef intintobjargproc ssizessizeobjargproc;
909 typedef getreadbufferproc readbufferproc;
910 typedef getwritebufferproc writebufferproc;
911 typedef getsegcountproc segcountproc;
912 typedef getcharbufferproc charbufferproc;
913 static long PyNumber_AsSsize_t (PyObject *x,
void *SWIGUNUSEDPARM(exc))
916 PyObject *i = PyNumber_Int(x);
918 result = PyInt_AsLong(i);
925 #if PY_VERSION_HEX < 0x02050000
926 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
929 #if PY_VERSION_HEX < 0x02040000
930 #define Py_VISIT(op) \
933 int vret = visit((op), arg); \
940 #if PY_VERSION_HEX < 0x02030000
943 PyNumberMethods as_number;
944 PyMappingMethods as_mapping;
945 PySequenceMethods as_sequence;
946 PyBufferProcs as_buffer;
947 PyObject *name, *slots;
951 #if PY_VERSION_HEX < 0x02030000
952 typedef destructor freefunc;
955 #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
956 (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
957 (PY_MAJOR_VERSION > 3))
958 # define SWIGPY_USE_CAPSULE
959 # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
962 #if PY_VERSION_HEX < 0x03020000
963 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
964 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
971 SWIGRUNTIME PyObject*
972 SWIG_Python_ErrorType(
int code) {
975 case SWIG_MemoryError:
976 type = PyExc_MemoryError;
979 type = PyExc_IOError;
981 case SWIG_RuntimeError:
982 type = PyExc_RuntimeError;
984 case SWIG_IndexError:
985 type = PyExc_IndexError;
988 type = PyExc_TypeError;
990 case SWIG_DivisionByZero:
991 type = PyExc_ZeroDivisionError;
993 case SWIG_OverflowError:
994 type = PyExc_OverflowError;
996 case SWIG_SyntaxError:
997 type = PyExc_SyntaxError;
999 case SWIG_ValueError:
1000 type = PyExc_ValueError;
1002 case SWIG_SystemError:
1003 type = PyExc_SystemError;
1005 case SWIG_AttributeError:
1006 type = PyExc_AttributeError;
1009 type = PyExc_RuntimeError;
1016 SWIG_Python_AddErrorMsg(
const char* mesg)
1019 PyObject *value = 0;
1020 PyObject *traceback = 0;
1022 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
1025 PyObject *old_str = PyObject_Str(value);
1029 PyErr_Format(type,
"%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
1030 SWIG_Python_str_DelForPy3(tmp);
1034 PyErr_SetString(PyExc_RuntimeError, mesg);
1038 #if defined(SWIG_PYTHON_NO_THREADS)
1039 # if defined(SWIG_PYTHON_THREADS)
1040 # undef SWIG_PYTHON_THREADS
1043 #if defined(SWIG_PYTHON_THREADS)
1044 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1045 # if (PY_VERSION_HEX >= 0x02030000)
1046 # define SWIG_PYTHON_USE_GIL
1049 # if defined(SWIG_PYTHON_USE_GIL)
1050 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
1051 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1054 class SWIG_Python_Thread_Block {
1056 PyGILState_STATE state;
1058 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
1059 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1060 ~SWIG_Python_Thread_Block() { end(); }
1062 class SWIG_Python_Thread_Allow {
1064 PyThreadState *save;
1066 void end() {
if (status) { PyEval_RestoreThread(save); status =
false; }}
1067 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1068 ~SWIG_Python_Thread_Allow() { end(); }
1070 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1071 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1072 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1073 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1075 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1076 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1077 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1078 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1081 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1082 # define SWIG_PYTHON_INITIALIZE_THREADS
1084 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1085 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1087 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1088 # define SWIG_PYTHON_THREAD_END_BLOCK
1090 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1091 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1093 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1094 # define SWIG_PYTHON_THREAD_END_ALLOW
1098 # define SWIG_PYTHON_INITIALIZE_THREADS
1099 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1100 # define SWIG_PYTHON_THREAD_END_BLOCK
1101 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1102 # define SWIG_PYTHON_THREAD_END_ALLOW
1118 #define SWIG_PY_POINTER 4
1119 #define SWIG_PY_BINARY 5
1136 #if PY_VERSION_HEX >= 0x03000000
1137 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(
self), PyObject *func)
1139 return PyInstanceMethod_New(func);
1142 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(
self), PyObject *SWIGUNUSEDPARM(func))
1165 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1166 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1167 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1169 #ifdef SWIGPYTHON_BUILTIN
1170 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1172 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1175 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1177 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1178 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1179 #define swig_owntype int
1182 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1183 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1186 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1187 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1190 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1191 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1194 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1195 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1200 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1201 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1202 #define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1204 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1205 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1206 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1207 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1208 #define SWIG_fail goto fail
1216 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1217 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1218 PyErr_SetObject(errtype, obj);
1220 SWIG_PYTHON_THREAD_END_BLOCK;
1224 SWIG_Python_SetErrorMsg(PyObject *errtype,
const char *msg) {
1225 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1226 PyErr_SetString(errtype, msg);
1227 SWIG_PYTHON_THREAD_END_BLOCK;
1230 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1234 #if defined(SWIGPYTHON_BUILTIN)
1237 SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1238 PyObject *s = PyString_InternFromString(key);
1239 PyList_Append(seq, s);
1244 SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface,
const char *name, PyObject *obj) {
1245 #if PY_VERSION_HEX < 0x02030000
1246 PyDict_SetItemString(d, (
char *)name, obj);
1248 PyDict_SetItemString(d, name, obj);
1251 if (public_interface)
1252 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1258 SWIG_Python_SetConstant(PyObject *d,
const char *name, PyObject *obj) {
1259 #if PY_VERSION_HEX < 0x02030000
1260 PyDict_SetItemString(d, (
char *)name, obj);
1262 PyDict_SetItemString(d, name, obj);
1271 SWIGINTERN PyObject*
1272 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1273 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1276 }
else if (result == Py_None) {
1280 if (!PyList_Check(result)) {
1281 PyObject *o2 = result;
1282 result = PyList_New(1);
1283 PyList_SetItem(result, 0, o2);
1285 PyList_Append(result,obj);
1294 }
else if (result == Py_None) {
1298 if (!PyTuple_Check(result)) {
1300 result = PyTuple_New(1);
1301 PyTuple_SET_ITEM(result, 0, o2);
1303 o3 = PyTuple_New(1);
1304 PyTuple_SET_ITEM(o3, 0, obj);
1306 result = PySequence_Concat(o2, o3);
1317 SWIG_Python_UnpackTuple(PyObject *args,
const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1323 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1324 name, (min == max ?
"" :
"at least "), (
int)min);
1328 if (!PyTuple_Check(args)) {
1329 if (min <= 1 && max >= 1) {
1332 for (i = 1; i < max; ++i) {
1337 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1340 Py_ssize_t l = PyTuple_GET_SIZE(args);
1342 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1343 name, (min == max ?
"" :
"at least "), (
int)min, (
int)l);
1345 }
else if (l > max) {
1346 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1347 name, (min == max ?
"" :
"at most "), (
int)max, (
int)l);
1351 for (i = 0; i < l; ++i) {
1352 objs[i] = PyTuple_GET_ITEM(args, i);
1354 for (; l < max; ++l) {
1363 #if PY_VERSION_HEX >= 0x02020000
1364 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1366 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1374 #define SWIG_STATIC_POINTER(var) var
1376 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1384 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1385 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1387 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1389 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1390 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1397 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1398 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1399 # ifndef SWIG_PYTHON_BUILD_NONE
1400 # define SWIG_PYTHON_BUILD_NONE
1405 #ifdef SWIG_PYTHON_BUILD_NONE
1408 # define Py_None SWIG_Py_None()
1410 SWIGRUNTIMEINLINE PyObject *
1413 PyObject *none = Py_BuildValue((
char*)
"");
1417 SWIGRUNTIME PyObject *
1420 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1427 SWIGRUNTIMEINLINE PyObject *
1430 PyObject *none = Py_None;
1444 PyTypeObject *pytype;
1447 SWIGRUNTIMEINLINE
int
1451 return data ? data->implicitconv : 0;
1454 SWIGRUNTIMEINLINE PyObject *
1457 PyObject *klass = data ? data->klass : 0;
1458 return (klass ? klass : PyExc_RuntimeError);
1463 SwigPyClientData_New(PyObject* obj)
1471 Py_INCREF(data->klass);
1473 if (PyClass_Check(obj)) {
1475 data->newargs = obj;
1478 #if (PY_VERSION_HEX < 0x02020000)
1481 data->newraw = PyObject_GetAttrString(data->klass, (
char *)
"__new__");
1484 Py_INCREF(data->newraw);
1485 data->newargs = PyTuple_New(1);
1486 PyTuple_SetItem(data->newargs, 0, obj);
1488 data->newargs = obj;
1490 Py_INCREF(data->newargs);
1493 data->destroy = PyObject_GetAttrString(data->klass, (
char *)
"__swig_destroy__");
1494 if (PyErr_Occurred()) {
1498 if (data->destroy) {
1500 Py_INCREF(data->destroy);
1501 flags = PyCFunction_GET_FLAGS(data->destroy);
1503 data->delargs = !(flags & (METH_O));
1510 data->implicitconv = 0;
1518 Py_XDECREF(data->newraw);
1519 Py_XDECREF(data->newargs);
1520 Py_XDECREF(data->destroy);
1531 #ifdef SWIGPYTHON_BUILTIN
1536 SWIGRUNTIME PyObject *
1539 return PyLong_FromVoidPtr(v->ptr);
1542 SWIGRUNTIME PyObject *
1545 PyObject *res = NULL;
1546 PyObject *args = PyTuple_New(1);
1548 if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
1549 PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
1551 #if PY_VERSION_HEX >= 0x03000000
1552 res = PyUnicode_Format(ofmt,args);
1554 res = PyString_Format(ofmt,args);
1564 SWIGRUNTIME PyObject *
1567 return SwigPyObject_format(
"%o",v);
1570 SWIGRUNTIME PyObject *
1573 return SwigPyObject_format(
"%x",v);
1576 SWIGRUNTIME PyObject *
1583 const char *name = SWIG_TypePrettyName(v->ty);
1584 PyObject *repr = SWIG_Python_str_FromFormat(
"<Swig Object of type '%s' at %p>", (name ? name :
"unknown"), (
void *)v);
1587 PyObject *nrep = SwigPyObject_repr((
SwigPyObject *)v->next);
1589 PyObject *nrep = SwigPyObject_repr((
SwigPyObject *)v->next, args);
1591 # if PY_VERSION_HEX >= 0x03000000
1592 PyObject *joined = PyUnicode_Concat(repr, nrep);
1597 PyString_ConcatAndDel(&repr,nrep);
1608 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1612 SWIGRUNTIME PyObject*
1616 if( op != Py_EQ && op != Py_NE ) {
1617 Py_INCREF(Py_NotImplemented);
1618 return Py_NotImplemented;
1620 res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
1625 SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(
void);
1627 #ifdef SWIGPYTHON_BUILTIN
1629 SWIGRUNTIME PyTypeObject*
1630 SwigPyObject_type(
void) {
1632 assert(SwigPyObject_stype);
1639 SWIGRUNTIME PyTypeObject*
1640 SwigPyObject_type(
void) {
1641 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
1646 SWIGRUNTIMEINLINE
int
1647 SwigPyObject_Check(PyObject *op) {
1648 #ifdef SWIGPYTHON_BUILTIN
1649 PyTypeObject *target_tp = SwigPyObject_type();
1650 if (PyType_IsSubtype(op->ob_type, target_tp))
1652 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1654 return (Py_TYPE(op) == SwigPyObject_type())
1655 || (strcmp(Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1659 SWIGRUNTIME PyObject *
1663 SwigPyObject_dealloc(PyObject *v)
1666 PyObject *next = sobj->next;
1667 if (sobj->own == SWIG_POINTER_OWN) {
1670 PyObject *destroy = data ? data->destroy : 0;
1674 if (data->delargs) {
1676 PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
1677 res = SWIG_Python_CallFunctor(destroy, tmp);
1680 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1681 PyObject *mself = PyCFunction_GET_SELF(destroy);
1682 res = ((*meth)(mself, v));
1686 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1688 const char *name = SWIG_TypePrettyName(ty);
1689 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name :
"unknown"));
1697 SWIGRUNTIME PyObject*
1698 SwigPyObject_append(PyObject* v, PyObject* next)
1703 if (!PyArg_ParseTuple(next,(
char *)
"O:append", &tmp))
return NULL;
1706 if (!SwigPyObject_Check(next)) {
1711 return SWIG_Py_Void();
1714 SWIGRUNTIME PyObject*
1716 SwigPyObject_next(PyObject* v)
1718 SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1723 Py_INCREF(sobj->next);
1726 return SWIG_Py_Void();
1730 SWIGINTERN PyObject*
1732 SwigPyObject_disown(PyObject *v)
1734 SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1739 return SWIG_Py_Void();
1742 SWIGINTERN PyObject*
1744 SwigPyObject_acquire(PyObject *v)
1746 SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1750 sobj->own = SWIG_POINTER_OWN;
1751 return SWIG_Py_Void();
1754 SWIGINTERN PyObject*
1755 SwigPyObject_own(PyObject *v, PyObject *args)
1758 #if (PY_VERSION_HEX < 0x02020000)
1759 if (!PyArg_ParseTuple(args,(
char *)
"|O:own",&val))
1760 #elif (PY_VERSION_HEX < 0x02050000)
1761 if (!PyArg_UnpackTuple(args, (
char *)
"own", 0, 1, &val))
1763 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val))
1771 PyObject *obj = PyBool_FromLong(sobj->own);
1774 if (PyObject_IsTrue(val)) {
1775 SwigPyObject_acquire(v);
1777 SwigPyObject_disown(v);
1780 if (PyObject_IsTrue(val)) {
1781 SwigPyObject_acquire(v,args);
1783 SwigPyObject_disown(v,args);
1793 swigobject_methods[] = {
1794 {(
char *)
"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (
char *)
"releases ownership of the pointer"},
1795 {(
char *)
"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (
char *)
"acquires ownership of the pointer"},
1796 {(
char *)
"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1797 {(
char *)
"append", (PyCFunction)SwigPyObject_append, METH_O, (
char *)
"appends another 'this' object"},
1798 {(
char *)
"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (
char *)
"returns the next 'this' object"},
1799 {(
char *)
"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (
char *)
"returns object representation"},
1804 swigobject_methods[] = {
1805 {(
char *)
"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS, (
char *)
"releases ownership of the pointer"},
1806 {(
char *)
"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS, (
char *)
"aquires ownership of the pointer"},
1807 {(
char *)
"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1808 {(
char *)
"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (
char *)
"appends another 'this' object"},
1809 {(
char *)
"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (
char *)
"returns the next 'this' object"},
1810 {(
char *)
"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (
char *)
"returns object representation"},
1815 #if PY_VERSION_HEX < 0x02020000
1816 SWIGINTERN PyObject *
1819 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1823 SWIGRUNTIME PyTypeObject*
1824 SwigPyObject_TypeOnce(
void) {
1825 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1827 static PyNumberMethods SwigPyObject_as_number = {
1832 #
if PY_VERSION_HEX < 0x03000000
1848 #
if PY_VERSION_HEX < 0x03000000
1851 (unaryfunc)SwigPyObject_long,
1852 #if PY_VERSION_HEX < 0x03000000
1853 (unaryfunc)SwigPyObject_long,
1858 #if PY_VERSION_HEX < 0x03000000
1859 (unaryfunc)SwigPyObject_oct,
1860 (unaryfunc)SwigPyObject_hex,
1862 #if PY_VERSION_HEX >= 0x03000000
1863 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1864 #elif PY_VERSION_HEX >= 0x02050000
1865 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1866 #elif PY_VERSION_HEX >= 0x02020000
1867 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1868 #elif PY_VERSION_HEX >= 0x02000000
1869 0,0,0,0,0,0,0,0,0,0,0
1873 static PyTypeObject swigpyobject_type;
1874 static int type_init = 0;
1876 const PyTypeObject tmp = {
1878 #if PY_VERSION_HEX >= 0x03000000
1879 PyVarObject_HEAD_INIT(NULL, 0)
1881 PyObject_HEAD_INIT(NULL)
1884 (
char *)
"SwigPyObject",
1887 (destructor)SwigPyObject_dealloc,
1889 #
if PY_VERSION_HEX < 0x02020000
1890 (getattrfunc)SwigPyObject_getattr,
1895 #if PY_VERSION_HEX >= 0x03000000
1898 (cmpfunc)SwigPyObject_compare,
1900 (reprfunc)SwigPyObject_repr,
1901 &SwigPyObject_as_number,
1907 PyObject_GenericGetAttr,
1914 (richcmpfunc)SwigPyObject_richcompare,
1916 #
if PY_VERSION_HEX >= 0x02020000
1938 #
if PY_VERSION_HEX >= 0x02030000
1941 #
if PY_VERSION_HEX >= 0x02060000
1948 swigpyobject_type = tmp;
1950 #if PY_VERSION_HEX < 0x02020000
1951 swigpyobject_type.ob_type = &PyType_Type;
1953 if (PyType_Ready(&swigpyobject_type) < 0)
1957 return &swigpyobject_type;
1960 SWIGRUNTIME PyObject *
1970 return (PyObject *)sobj;
1985 SwigPyPacked_print(
SwigPyPacked *v, FILE *fp,
int SWIGUNUSEDPARM(flags))
1987 char result[SWIG_BUFFER_SIZE];
1988 fputs(
"<Swig Packed ", fp);
1989 if (SWIG_PackDataName(result, v->pack, v->size, 0,
sizeof(result))) {
1993 fputs(v->ty->name,fp);
1998 SWIGRUNTIME PyObject *
2001 char result[SWIG_BUFFER_SIZE];
2002 if (SWIG_PackDataName(result, v->pack, v->size, 0,
sizeof(result))) {
2003 return SWIG_Python_str_FromFormat(
"<Swig Packed at %s%s>", result, v->ty->name);
2005 return SWIG_Python_str_FromFormat(
"<Swig Packed %s>", v->ty->name);
2009 SWIGRUNTIME PyObject *
2012 char result[SWIG_BUFFER_SIZE];
2013 if (SWIG_PackDataName(result, v->pack, v->size, 0,
sizeof(result))){
2014 return SWIG_Python_str_FromFormat(
"%s%s", result, v->ty->name);
2016 return SWIG_Python_str_FromChar(v->ty->name);
2025 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2026 return s ? s : strncmp((
char *)v->pack, (
char *)w->pack, 2*v->size);
2029 SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(
void);
2031 SWIGRUNTIME PyTypeObject*
2032 SwigPyPacked_type(
void) {
2033 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2037 SWIGRUNTIMEINLINE
int
2038 SwigPyPacked_Check(PyObject *op) {
2039 return ((op)->ob_type == SwigPyPacked_TypeOnce())
2040 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2044 SwigPyPacked_dealloc(PyObject *v)
2046 if (SwigPyPacked_Check(v)) {
2053 SWIGRUNTIME PyTypeObject*
2054 SwigPyPacked_TypeOnce(
void) {
2055 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2056 static PyTypeObject swigpypacked_type;
2057 static int type_init = 0;
2059 const PyTypeObject tmp = {
2061 #if PY_VERSION_HEX>=0x03000000
2062 PyVarObject_HEAD_INIT(NULL, 0)
2064 PyObject_HEAD_INIT(NULL)
2067 (
char *)
"SwigPyPacked",
2070 (destructor)SwigPyPacked_dealloc,
2071 (printfunc)SwigPyPacked_print,
2074 #if PY_VERSION_HEX>=0x03000000
2077 (cmpfunc)SwigPyPacked_compare,
2079 (reprfunc)SwigPyPacked_repr,
2085 (reprfunc)SwigPyPacked_str,
2086 PyObject_GenericGetAttr,
2095 #
if PY_VERSION_HEX >= 0x02020000
2117 #
if PY_VERSION_HEX >= 0x02030000
2120 #
if PY_VERSION_HEX >= 0x02060000
2127 swigpypacked_type = tmp;
2129 #if PY_VERSION_HEX < 0x02020000
2130 swigpypacked_type.ob_type = &PyType_Type;
2132 if (PyType_Ready(&swigpypacked_type) < 0)
2136 return &swigpypacked_type;
2139 SWIGRUNTIME PyObject *
2144 void *pack = malloc(size);
2146 memcpy(pack, ptr, size);
2151 PyObject_DEL((PyObject *) sobj);
2155 return (PyObject *) sobj;
2159 SwigPyPacked_UnpackData(PyObject *obj,
void *ptr,
size_t size)
2161 if (SwigPyPacked_Check(obj)) {
2163 if (sobj->size != size)
return 0;
2164 memcpy(ptr, sobj->pack, size);
2175 SWIGRUNTIMEINLINE PyObject *
2178 return SWIG_Python_str_FromChar(
"this");
2181 static PyObject *swig_this = NULL;
2183 SWIGRUNTIME PyObject *
2186 if (swig_this == NULL)
2187 swig_this = _SWIG_This();
2194 #if PY_VERSION_HEX>=0x03000000
2195 #define SWIG_PYTHON_SLOW_GETSET_THIS
2199 SWIG_Python_GetSwigThis(PyObject *pyobj)
2203 if (SwigPyObject_Check(pyobj))
2206 #ifdef SWIGPYTHON_BUILTIN
2208 # ifdef PyWeakref_CheckProxy
2209 if (PyWeakref_CheckProxy(pyobj)) {
2210 pyobj = PyWeakref_GET_OBJECT(pyobj);
2211 if (pyobj && SwigPyObject_Check(pyobj))
2220 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
2221 if (PyInstance_Check(pyobj)) {
2222 obj = _PyInstance_Lookup(pyobj, SWIG_This());
2224 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2225 if (dictptr != NULL) {
2226 PyObject *dict = *dictptr;
2227 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2229 #ifdef PyWeakref_CheckProxy
2230 if (PyWeakref_CheckProxy(pyobj)) {
2231 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2232 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2235 obj = PyObject_GetAttr(pyobj,SWIG_This());
2239 if (PyErr_Occurred()) PyErr_Clear();
2245 obj = PyObject_GetAttr(pyobj,SWIG_This());
2249 if (PyErr_Occurred()) PyErr_Clear();
2253 if (obj && !SwigPyObject_Check(obj)) {
2256 return SWIG_Python_GetSwigThis(obj);
2265 SWIG_Python_AcquirePtr(PyObject *obj,
int own) {
2266 if (own == SWIG_POINTER_OWN) {
2269 int oldown = sobj->own;
2280 SWIG_Python_ConvertPtrAndOwn(PyObject *obj,
void **ptr,
swig_type_info *ty,
int flags,
int *own) {
2283 int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2287 if (obj == Py_None && !implicit_conv) {
2295 sobj = SWIG_Python_GetSwigThis(obj);
2299 void *vptr = sobj->ptr;
2304 if (ptr) *ptr = vptr;
2313 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2314 if (newmemory == SWIG_CAST_NEW_MEMORY) {
2317 *own = *own | SWIG_CAST_NEW_MEMORY;
2324 if (ptr) *ptr = vptr;
2330 *own = *own | sobj->own;
2331 if (flags & SWIG_POINTER_DISOWN) {
2336 if (implicit_conv) {
2338 if (data && !data->implicitconv) {
2339 PyObject *klass = data->klass;
2342 data->implicitconv = 1;
2343 impconv = SWIG_Python_CallFunctor(klass, obj);
2344 data->implicitconv = 0;
2345 if (PyErr_Occurred()) {
2353 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2354 if (SWIG_IsOK(res)) {
2359 res = SWIG_AddCast(res);
2360 res = SWIG_AddNewMask(res);
2362 res = SWIG_AddCast(res);
2371 if (!SWIG_IsOK(res) && obj == Py_None) {
2374 if (PyErr_Occurred())
2385 SWIG_Python_ConvertFunctionPtr(PyObject *obj,
void **ptr,
swig_type_info *ty) {
2386 if (!PyCFunction_Check(obj)) {
2387 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2392 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2393 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2395 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2402 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2417 SWIG_Python_ConvertPacked(PyObject *obj,
void *ptr,
size_t sz,
swig_type_info *ty) {
2419 if (!to)
return SWIG_ERROR;
2424 if (!tc)
return SWIG_ERROR;
2439 SWIGRUNTIME PyObject*
2442 #if (PY_VERSION_HEX >= 0x02020000)
2444 PyObject *newraw = data->newraw;
2446 inst = PyObject_Call(newraw, data->newargs, NULL);
2448 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2449 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2450 if (dictptr != NULL) {
2451 PyObject *dict = *dictptr;
2453 dict = PyDict_New();
2455 PyDict_SetItem(dict, SWIG_This(), swig_this);
2459 PyObject *key = SWIG_This();
2460 PyObject_SetAttr(inst, key, swig_this);
2464 #if PY_VERSION_HEX >= 0x03000000
2465 inst = ((PyTypeObject*) data->newargs)->tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
2467 PyObject_SetAttr(inst, SWIG_This(), swig_this);
2468 Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2471 PyObject *dict = PyDict_New();
2473 PyDict_SetItem(dict, SWIG_This(), swig_this);
2474 inst = PyInstance_NewRaw(data->newargs, dict);
2481 #if (PY_VERSION_HEX >= 0x02010000)
2483 PyObject *dict = PyDict_New();
2485 PyDict_SetItem(dict, SWIG_This(), swig_this);
2486 inst = PyInstance_NewRaw(data->newargs, dict);
2489 return (PyObject *) inst;
2491 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2495 inst->in_class = (PyClassObject *)data->newargs;
2496 Py_INCREF(inst->in_class);
2497 inst->in_dict = PyDict_New();
2498 if (inst->in_dict == NULL) {
2502 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2503 inst->in_weakreflist = NULL;
2505 #ifdef Py_TPFLAGS_GC
2506 PyObject_GC_Init(inst);
2508 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2509 return (PyObject *) inst;
2515 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2518 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2519 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2520 if (dictptr != NULL) {
2523 dict = PyDict_New();
2526 PyDict_SetItem(dict, SWIG_This(), swig_this);
2530 dict = PyObject_GetAttrString(inst, (
char*)
"__dict__");
2531 PyDict_SetItem(dict, SWIG_This(), swig_this);
2536 SWIGINTERN PyObject *
2537 SWIG_Python_InitShadowInstance(PyObject *args) {
2539 if (!SWIG_Python_UnpackTuple(args,
"swiginit", 2, 2, obj)) {
2544 SwigPyObject_append((PyObject*) sthis, obj[1]);
2546 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2548 return SWIG_Py_Void();
2554 SWIGRUNTIME PyObject *
2555 SWIG_Python_NewPointerObj(PyObject *
self,
void *ptr,
swig_type_info *type,
int flags) {
2561 return SWIG_Py_Void();
2564 own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2565 if (clientdata && clientdata->pytype) {
2567 if (flags & SWIG_BUILTIN_TP_INIT) {
2570 PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
2571 while (newobj->next)
2573 newobj->next = next_self;
2577 newobj = PyObject_New(
SwigPyObject, clientdata->pytype);
2584 #ifdef SWIGPYTHON_BUILTIN
2587 return (PyObject*) newobj;
2589 return SWIG_Py_Void();
2592 assert(!(flags & SWIG_BUILTIN_TP_INIT));
2594 robj = SwigPyObject_New(ptr, type, own);
2595 if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2596 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2605 SWIGRUNTIMEINLINE PyObject *
2606 SWIG_Python_NewPackedObj(
void *ptr,
size_t sz,
swig_type_info *type) {
2607 return ptr ? SwigPyPacked_New((
void *) ptr, sz, type) : SWIG_Py_Void();
2614 #ifdef SWIG_LINK_RUNTIME
2615 void *SWIG_ReturnGlobalTypeList(
void *);
2619 SWIG_Python_GetModule(
void *SWIGUNUSEDPARM(clientdata)) {
2620 static void *type_pointer = (
void *)0;
2622 if (!type_pointer) {
2623 #ifdef SWIG_LINK_RUNTIME
2624 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2626 # ifdef SWIGPY_USE_CAPSULE
2627 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2629 type_pointer = PyCObject_Import((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION,
2630 (
char*)
"type_pointer" SWIG_TYPE_TABLE_NAME);
2632 if (PyErr_Occurred()) {
2634 type_pointer = (
void *)0;
2641 #if PY_MAJOR_VERSION < 2
2645 PyModule_AddObject(PyObject *m,
char *name, PyObject *o)
2648 if (!PyModule_Check(m)) {
2649 PyErr_SetString(PyExc_TypeError,
2650 "PyModule_AddObject() needs module as first arg");
2654 PyErr_SetString(PyExc_TypeError,
2655 "PyModule_AddObject() needs non-NULL value");
2659 dict = PyModule_GetDict(m);
2662 PyErr_Format(PyExc_SystemError,
"module '%s' has no __dict__",
2663 PyModule_GetName(m));
2666 if (PyDict_SetItemString(dict, name, o))
2674 #ifdef SWIGPY_USE_CAPSULE
2675 SWIG_Python_DestroyModule(PyObject *obj)
2677 SWIG_Python_DestroyModule(
void *vptr)
2680 #ifdef SWIGPY_USE_CAPSULE
2687 for (i =0; i < swig_module->size; ++i) {
2691 if (data) SwigPyClientData_Del(data);
2694 Py_DECREF(SWIG_This());
2700 #if PY_VERSION_HEX >= 0x03000000
2702 PyObject *module = PyImport_AddModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION);
2704 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2705 PyObject *module = Py_InitModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2707 #ifdef SWIGPY_USE_CAPSULE
2708 PyObject *pointer = PyCapsule_New((
void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
2709 if (pointer && module) {
2710 PyModule_AddObject(module, (
char*)
"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
2712 Py_XDECREF(pointer);
2715 PyObject *pointer = PyCObject_FromVoidPtr((
void *) swig_module, SWIG_Python_DestroyModule);
2716 if (pointer && module) {
2717 PyModule_AddObject(module, (
char*)
"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2719 Py_XDECREF(pointer);
2725 SWIGRUNTIME PyObject *
2726 SWIG_Python_TypeCache(
void) {
2727 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2732 SWIG_Python_TypeQuery(
const char *type)
2734 PyObject *cache = SWIG_Python_TypeCache();
2735 PyObject *key = SWIG_Python_str_FromChar(type);
2736 PyObject *obj = PyDict_GetItem(cache, key);
2739 #ifdef SWIGPY_USE_CAPSULE
2746 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2748 #ifdef SWIGPY_USE_CAPSULE
2749 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2751 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2753 PyDict_SetItem(cache, key, obj);
2764 #define SWIG_POINTER_EXCEPTION 0
2765 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2766 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2769 SWIG_Python_AddErrMesg(
const char* mesg,
int infront)
2771 if (PyErr_Occurred()) {
2773 PyObject *value = 0;
2774 PyObject *traceback = 0;
2775 PyErr_Fetch(&type, &value, &traceback);
2778 PyObject *old_str = PyObject_Str(value);
2782 PyErr_Format(type,
"%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
2784 PyErr_Format(type,
"%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
2786 SWIG_Python_str_DelForPy3(tmp);
2796 SWIG_Python_ArgFail(
int argnum)
2798 if (PyErr_Occurred()) {
2801 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2802 return SWIG_Python_AddErrMesg(mesg, 1);
2808 SWIGRUNTIMEINLINE
const char *
2809 SwigPyObject_GetDesc(PyObject *
self)
2813 return ty ? ty->str :
"";
2817 SWIG_Python_TypeError(
const char *type, PyObject *obj)
2820 #if defined(SWIG_COBJECT_TYPES)
2821 if (obj && SwigPyObject_Check(obj)) {
2822 const char *otype = (
const char *) SwigPyObject_GetDesc(obj);
2824 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2831 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2833 PyObject *str = PyObject_Str(obj);
2834 const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
2836 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2838 SWIG_Python_str_DelForPy3(cstr);
2840 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2847 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2849 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2856 SWIG_Python_MustGetPtr(PyObject *obj,
swig_type_info *ty,
int SWIGUNUSEDPARM(argnum),
int flags) {
2858 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2860 #if SWIG_POINTER_EXCEPTION
2862 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2863 SWIG_Python_ArgFail(argnum);
2870 #ifdef SWIGPYTHON_BUILTIN
2872 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
2873 PyTypeObject *tp = obj->ob_type;
2875 PyObject *encoded_name;
2879 # ifdef Py_USING_UNICODE
2880 if (PyString_Check(name)) {
2881 name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
2884 }
else if (!PyUnicode_Check(name))
2886 if (!PyString_Check(name))
2889 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2896 if (PyType_Ready(tp) < 0)
2900 descr = _PyType_Lookup(tp, name);
2903 f = descr->ob_type->tp_descr_set;
2905 if (PyString_Check(name)) {
2906 encoded_name = name;
2909 encoded_name = PyUnicode_AsUTF8String(name);
2911 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2912 Py_DECREF(encoded_name);
2914 res = f(descr, obj, value);
2930 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2932 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2936 #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
2945 #ifndef SWIG_DIRECTOR_PYTHON_HEADER_
2946 #define SWIG_DIRECTOR_PYTHON_HEADER_
2950 #include <exception>
2961 #ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE
2962 #ifndef SWIG_PYTHON_DIRECTOR_VTABLE
2963 #define SWIG_PYTHON_DIRECTOR_VTABLE
2973 #ifndef SWIG_DIRECTOR_NO_UEH
2974 #ifndef SWIG_DIRECTOR_UEH
2975 #define SWIG_DIRECTOR_UEH
2984 #ifdef SWIG_DIRECTOR_STATIC
2995 #ifdef SWIG_DIRECTOR_NORTTI
3000 # ifndef SWIG_DIRECTOR_RTDIR
3001 # define SWIG_DIRECTOR_RTDIR
3005 SWIGINTERN std::map<void *, Director *>& get_rtdir_map() {
3006 static std::map<void *, Director *> rtdir_map;
3010 SWIGINTERNINLINE
void set_rtdir(
void *vptr, Director *rtdir) {
3011 get_rtdir_map()[vptr] = rtdir;
3014 SWIGINTERNINLINE Director *get_rtdir(
void *vptr) {
3015 std::map<void *, Director *>::const_iterator pos = get_rtdir_map().find(vptr);
3016 Director *rtdir = (pos != get_rtdir_map().end()) ? pos->second : 0;
3022 # define SWIG_DIRECTOR_CAST(ARG) Swig::get_rtdir(static_cast<void *>(ARG))
3023 # define SWIG_DIRECTOR_RGTR(ARG1, ARG2) Swig::set_rtdir(static_cast<void *>(ARG1), ARG2)
3027 # define SWIG_DIRECTOR_CAST(ARG) dynamic_cast<Swig::Director *>(ARG)
3028 # define SWIG_DIRECTOR_RGTR(ARG1, ARG2)
3042 virtual int get_own()
const {
3062 GCItem * operator->()
const {
3077 int get_own()
const {
3085 template <
typename Type>
3098 template <
typename Type>
3114 std::string swig_msg;
3116 DirectorException(PyObject *error,
const char *hdr =
"",
const char *msg =
"") : swig_msg(hdr) {
3117 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3122 if (!PyErr_Occurred()) {
3123 PyErr_SetString(error, what());
3125 SWIG_PYTHON_THREAD_END_BLOCK;
3132 const char *getMessage()
const {
3136 const char *what()
const throw() {
3137 return swig_msg.c_str();
3140 static void raise(PyObject *error,
const char *msg) {
3144 static void raise(
const char *msg) {
3145 raise(PyExc_RuntimeError, msg);
3151 #ifdef SWIG_DIRECTOR_UEH
3152 static void handler() {
3156 std::cerr <<
"SWIG Director exception caught:" << std::endl
3157 << e.what() << std::endl;
3158 }
catch (std::exception& e) {
3159 std::cerr <<
"std::exception caught: "<< e.what() << std::endl;
3161 std::cerr <<
"Unknown exception caught." << std::endl;
3164 std::cerr << std::endl
3165 <<
"Python interpreter traceback:" << std::endl;
3167 std::cerr << std::endl;
3169 std::cerr <<
"This exception was caught by the SWIG unexpected exception handler." << std::endl
3170 <<
"Try using %feature(\"director:except\") to avoid reaching this point." << std::endl
3172 <<
"Exception is being re-thrown, program will likely abort/terminate." << std::endl;
3178 std::unexpected_handler old;
3180 old = std::set_unexpected(nh);
3184 std::set_unexpected(old);
3200 static void raise(PyObject *error,
const char *msg) {
3204 static void raise(
const char *msg) {
3216 static void raise(
const char *msg) {
3225 :
DirectorException(PyExc_RuntimeError,
"SWIG director pure virtual method called", msg) {
3228 static void raise(
const char *msg) {
3234 #if defined(SWIG_PYTHON_THREADS)
3236 # if !defined(__THREAD__)
3237 # define __THREAD__ 1
3242 # include "pythread.h"
3244 PyThread_type_lock &mutex_;
3247 Guard(PyThread_type_lock & mutex) : mutex_(mutex) {
3248 PyThread_acquire_lock(mutex_, WAIT_LOCK);
3252 PyThread_release_lock(mutex_);
3255 # define SWIG_GUARD(mutex) Guard _guard(mutex)
3257 # define SWIG_GUARD(mutex)
3264 PyObject *swig_self;
3266 mutable bool swig_disown_flag;
3269 void swig_decref()
const {
3270 if (swig_disown_flag) {
3271 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3272 Py_DECREF(swig_self);
3273 SWIG_PYTHON_THREAD_END_BLOCK;
3279 Director(PyObject *
self) : swig_self(
self), swig_disown_flag(
false) {
3289 PyObject *swig_get_self()
const {
3294 void swig_disown()
const {
3295 if (!swig_disown_flag) {
3296 swig_disown_flag=
true;
3302 void swig_incref()
const {
3303 if (swig_disown_flag) {
3304 Py_INCREF(swig_self);
3309 virtual bool swig_get_inner(
const char * )
const {
3313 virtual void swig_set_inner(
const char * ,
bool )
const {
3318 typedef std::map<void *, GCItem_var> swig_ownership_map;
3319 mutable swig_ownership_map swig_owner;
3321 static PyThread_type_lock swig_mutex_own;
3325 template <
typename Type>
3326 void swig_acquire_ownership_array(Type *vptr)
const {
3328 SWIG_GUARD(swig_mutex_own);
3333 template <
typename Type>
3334 void swig_acquire_ownership(Type *vptr)
const {
3336 SWIG_GUARD(swig_mutex_own);
3341 void swig_acquire_ownership_obj(
void *vptr,
int own)
const {
3343 SWIG_GUARD(swig_mutex_own);
3348 int swig_release_ownership(
void *vptr)
const {
3351 SWIG_GUARD(swig_mutex_own);
3352 swig_ownership_map::iterator iter = swig_owner.find(vptr);
3353 if (iter != swig_owner.end()) {
3354 own = iter->second->get_own();
3355 swig_owner.erase(iter);
3361 template <
typename Type>
3362 static PyObject *swig_pyobj_disown(PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) {
3365 Director *d = SWIG_DIRECTOR_CAST(reinterpret_cast<Type *>(sobj->ptr));
3368 return PyWeakref_NewProxy(pyobj, NULL);
3373 PyThread_type_lock Director::swig_mutex_own = PyThread_allocate_lock();
3381 #define SWIGTYPE_p_ActivatedItem swig_types[0]
3382 #define SWIGTYPE_p_Adapter swig_types[1]
3383 #define SWIGTYPE_p_AnimatBase swig_types[2]
3384 #define SWIGTYPE_p_AnimatPropertyType swig_types[3]
3385 #define SWIGTYPE_p_AnimatSim__ActivatedItem swig_types[4]
3386 #define SWIGTYPE_p_AnimatSim__ActivatedItemMgr swig_types[5]
3387 #define SWIGTYPE_p_AnimatSim__Adapters__Adapter swig_types[6]
3388 #define SWIGTYPE_p_AnimatSim__Adapters__ContactAdapter swig_types[7]
3389 #define SWIGTYPE_p_AnimatSim__Adapters__PropertyControlAdapter swig_types[8]
3390 #define SWIGTYPE_p_AnimatSim__AnimatBase swig_types[9]
3391 #define SWIGTYPE_p_AnimatSim__Behavior__NervousSystem swig_types[10]
3392 #define SWIGTYPE_p_AnimatSim__Behavior__NeuralModule swig_types[11]
3393 #define SWIGTYPE_p_AnimatSim__Behavior__PhysicsNeuralModule swig_types[12]
3394 #define SWIGTYPE_p_AnimatSim__BoundingBox swig_types[13]
3395 #define SWIGTYPE_p_AnimatSim__Charting__ArrayChart swig_types[14]
3396 #define SWIGTYPE_p_AnimatSim__Charting__DataChart swig_types[15]
3397 #define SWIGTYPE_p_AnimatSim__Charting__DataChartMgr swig_types[16]
3398 #define SWIGTYPE_p_AnimatSim__Charting__DataColumn swig_types[17]
3399 #define SWIGTYPE_p_AnimatSim__Charting__FileChart swig_types[18]
3400 #define SWIGTYPE_p_AnimatSim__Charting__MemoryChart swig_types[19]
3401 #define SWIGTYPE_p_AnimatSim__DelayLine swig_types[20]
3402 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Attachment swig_types[21]
3403 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Box swig_types[22]
3404 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Cone swig_types[23]
3405 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Cylinder swig_types[24]
3406 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Ellipsoid swig_types[25]
3407 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__FluidPlane swig_types[26]
3408 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__LineBase swig_types[27]
3409 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillMuscle swig_types[28]
3410 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__LinearHillStretchReceptor swig_types[29]
3411 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Mesh swig_types[30]
3412 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Mouth swig_types[31]
3413 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__MuscleBase swig_types[32]
3414 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__OdorSensor swig_types[33]
3415 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Plane swig_types[34]
3416 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Sensor swig_types[35]
3417 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Sphere swig_types[36]
3418 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Spring swig_types[37]
3419 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Stomach swig_types[38]
3420 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Terrain swig_types[39]
3421 #define SWIGTYPE_p_AnimatSim__Environment__Bodies__Torus swig_types[40]
3422 #define SWIGTYPE_p_AnimatSim__Environment__BodyPart swig_types[41]
3423 #define SWIGTYPE_p_AnimatSim__Environment__CollisionPair swig_types[42]
3424 #define SWIGTYPE_p_AnimatSim__Environment__ConstraintFriction swig_types[43]
3425 #define SWIGTYPE_p_AnimatSim__Environment__ConstraintLimit swig_types[44]
3426 #define SWIGTYPE_p_AnimatSim__Environment__ConstraintRelaxation swig_types[45]
3427 #define SWIGTYPE_p_AnimatSim__Environment__ContactSensor swig_types[46]
3428 #define SWIGTYPE_p_AnimatSim__Environment__IMotorizedJoint swig_types[47]
3429 #define SWIGTYPE_p_AnimatSim__Environment__IPhysicsBody swig_types[48]
3430 #define SWIGTYPE_p_AnimatSim__Environment__IPhysicsMovableItem swig_types[49]
3431 #define SWIGTYPE_p_AnimatSim__Environment__Joint swig_types[50]
3432 #define SWIGTYPE_p_AnimatSim__Environment__Joints__BallSocket swig_types[51]
3433 #define SWIGTYPE_p_AnimatSim__Environment__Joints__Hinge swig_types[52]
3434 #define SWIGTYPE_p_AnimatSim__Environment__Joints__LinearJoint swig_types[53]
3435 #define SWIGTYPE_p_AnimatSim__Environment__Joints__Prismatic swig_types[54]
3436 #define SWIGTYPE_p_AnimatSim__Environment__Joints__RPRO swig_types[55]
3437 #define SWIGTYPE_p_AnimatSim__Environment__Light swig_types[56]
3438 #define SWIGTYPE_p_AnimatSim__Environment__LightManager swig_types[57]
3439 #define SWIGTYPE_p_AnimatSim__Environment__MaterialType swig_types[58]
3440 #define SWIGTYPE_p_AnimatSim__Environment__Materials swig_types[59]
3441 #define SWIGTYPE_p_AnimatSim__Environment__MotorizedJoint swig_types[60]
3442 #define SWIGTYPE_p_AnimatSim__Environment__MovableItem swig_types[61]
3443 #define SWIGTYPE_p_AnimatSim__Environment__Odor swig_types[62]
3444 #define SWIGTYPE_p_AnimatSim__Environment__OdorType swig_types[63]
3445 #define SWIGTYPE_p_AnimatSim__Environment__Organism swig_types[64]
3446 #define SWIGTYPE_p_AnimatSim__Environment__ReceptiveFieldPair swig_types[65]
3447 #define SWIGTYPE_p_AnimatSim__Environment__RigidBody swig_types[66]
3448 #define SWIGTYPE_p_AnimatSim__Environment__Structure swig_types[67]
3449 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__CurrentStimulus swig_types[68]
3450 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__EnablerStimulus swig_types[69]
3451 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalInputStimulus swig_types[70]
3452 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimuliMgr swig_types[71]
3453 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__ExternalStimulus swig_types[72]
3454 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__ForceStimulus swig_types[73]
3455 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__InverseMuscleCurrent swig_types[74]
3456 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__MotorStimulus swig_types[75]
3457 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__PropertyControlStimulus swig_types[76]
3458 #define SWIGTYPE_p_AnimatSim__ExternalStimuli__VoltageClamp swig_types[77]
3459 #define SWIGTYPE_p_AnimatSim__Gains__BellGain swig_types[78]
3460 #define SWIGTYPE_p_AnimatSim__Gains__EquationGain swig_types[79]
3461 #define SWIGTYPE_p_AnimatSim__Gains__Gain swig_types[80]
3462 #define SWIGTYPE_p_AnimatSim__Gains__LengthTensionGain swig_types[81]
3463 #define SWIGTYPE_p_AnimatSim__Gains__PolynomialGain swig_types[82]
3464 #define SWIGTYPE_p_AnimatSim__Gains__SigmoidGain swig_types[83]
3465 #define SWIGTYPE_p_AnimatSim__Hud swig_types[84]
3466 #define SWIGTYPE_p_AnimatSim__HudItem swig_types[85]
3467 #define SWIGTYPE_p_AnimatSim__HudText swig_types[86]
3468 #define SWIGTYPE_p_AnimatSim__IMovableItemCallback swig_types[87]
3469 #define SWIGTYPE_p_AnimatSim__ISimGUICallback swig_types[88]
3470 #define SWIGTYPE_p_AnimatSim__Link swig_types[89]
3471 #define SWIGTYPE_p_AnimatSim__Node swig_types[90]
3472 #define SWIGTYPE_p_AnimatSim__Recording__KeyFrame swig_types[91]
3473 #define SWIGTYPE_p_AnimatSim__Recording__SimulationRecorder swig_types[92]
3474 #define SWIGTYPE_p_AnimatSim__Robotics__PassThroughLinkage swig_types[93]
3475 #define SWIGTYPE_p_AnimatSim__Robotics__PulsedLinkage swig_types[94]
3476 #define SWIGTYPE_p_AnimatSim__Robotics__RemoteControl swig_types[95]
3477 #define SWIGTYPE_p_AnimatSim__Robotics__RemoteControlLinkage swig_types[96]
3478 #define SWIGTYPE_p_AnimatSim__Robotics__RobotIOControl swig_types[97]
3479 #define SWIGTYPE_p_AnimatSim__Robotics__RobotInterface swig_types[98]
3480 #define SWIGTYPE_p_AnimatSim__Robotics__RobotPartInterface swig_types[99]
3481 #define SWIGTYPE_p_AnimatSim__ScriptProcessor swig_types[100]
3482 #define SWIGTYPE_p_AnimatSim__SimulationMgr swig_types[101]
3483 #define SWIGTYPE_p_AnimatSim__SimulationThread swig_types[102]
3484 #define SWIGTYPE_p_AnimatSim__SimulationWindow swig_types[103]
3485 #define SWIGTYPE_p_AnimatSim__SimulationWindowMgr swig_types[104]
3486 #define SWIGTYPE_p_AnimatSim__Simulator swig_types[105]
3487 #define SWIGTYPE_p_Attachment swig_types[106]
3488 #define SWIGTYPE_p_BodyPart swig_types[107]
3489 #define SWIGTYPE_p_BoundingBox swig_types[108]
3490 #define SWIGTYPE_p_CStdArrayT_ActivatedItem_p_t swig_types[109]
3491 #define SWIGTYPE_p_CStdArrayT_Adapter_p_t swig_types[110]
3492 #define SWIGTYPE_p_CStdArrayT_AnimatSim__Environment__Bodies__Attachment_p_t swig_types[111]
3493 #define SWIGTYPE_p_CStdArrayT_Attachment_p_t swig_types[112]
3494 #define SWIGTYPE_p_CStdArrayT_BodyPart_p_t swig_types[113]
3495 #define SWIGTYPE_p_CStdArrayT_KeyFrame_p_t swig_types[114]
3496 #define SWIGTYPE_p_CStdArrayT_ModuleThreadProcessor_p_t swig_types[115]
3497 #define SWIGTYPE_p_CStdArrayT_RigidBody_p_t swig_types[116]
3498 #define SWIGTYPE_p_CStdArrayT_RobotPartInterface_p_t swig_types[117]
3499 #define SWIGTYPE_p_CStdArrayT_double_t swig_types[118]
3500 #define SWIGTYPE_p_CStdArrayT_float_t swig_types[119]
3501 #define SWIGTYPE_p_CStdArrayT_int_t swig_types[120]
3502 #define SWIGTYPE_p_CStdArrayT_long_t swig_types[121]
3503 #define SWIGTYPE_p_CStdArrayT_std__string_t swig_types[122]
3504 #define SWIGTYPE_p_CStdCircularArrayT_float_t swig_types[123]
3505 #define SWIGTYPE_p_CStdMapT_std__string_AnimatBase_p_t swig_types[124]
3506 #define SWIGTYPE_p_CStdMapT_std__string_AnimatSim__AnimatBase_p_t swig_types[125]
3507 #define SWIGTYPE_p_CStdMapT_std__string_DataColumn_p_t swig_types[126]
3508 #define SWIGTYPE_p_CStdMapT_std__string_Joint_p_t swig_types[127]
3509 #define SWIGTYPE_p_CStdMapT_std__string_Odor_p_t swig_types[128]
3510 #define SWIGTYPE_p_CStdMapT_std__string_RigidBody_p_t swig_types[129]
3511 #define SWIGTYPE_p_CStdMapT_std__string_StdUtils__IStdClassFactory_p_t swig_types[130]
3512 #define SWIGTYPE_p_CStdMapT_std__string_Structure_p_t swig_types[131]
3513 #define SWIGTYPE_p_CStdPointT_double_t swig_types[132]
3514 #define SWIGTYPE_p_CStdPointT_float_t swig_types[133]
3515 #define SWIGTYPE_p_CStdPointT_int_t swig_types[134]
3516 #define SWIGTYPE_p_CStdPointT_long_t swig_types[135]
3517 #define SWIGTYPE_p_CStdPtrArrayT_Adapter_t swig_types[136]
3518 #define SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Environment__CollisionPair_t swig_types[137]
3519 #define SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Environment__Light_t swig_types[138]
3520 #define SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Environment__RigidBody_t swig_types[139]
3521 #define SWIGTYPE_p_CStdPtrArrayT_AnimatSim__Robotics__RemoteControlLinkage_t swig_types[140]
3522 #define SWIGTYPE_p_CStdPtrArrayT_AnimatSim__SimulationThread_t swig_types[141]
3523 #define SWIGTYPE_p_CStdPtrArrayT_AnimatSim__SimulationWindow_t swig_types[142]
3524 #define SWIGTYPE_p_CStdPtrArrayT_CollisionPair_t swig_types[143]
3525 #define SWIGTYPE_p_CStdPtrArrayT_DataColumn_t swig_types[144]
3526 #define SWIGTYPE_p_CStdPtrArrayT_HudItem_t swig_types[145]
3527 #define SWIGTYPE_p_CStdPtrArrayT_Light_t swig_types[146]
3528 #define SWIGTYPE_p_CStdPtrArrayT_MaterialType_t swig_types[147]
3529 #define SWIGTYPE_p_CStdPtrArrayT_Neuron_t swig_types[148]
3530 #define SWIGTYPE_p_CStdPtrArrayT_ReceptiveFieldPair_t swig_types[149]
3531 #define SWIGTYPE_p_CStdPtrArrayT_ReceptiveField_t swig_types[150]
3532 #define SWIGTYPE_p_CStdPtrArrayT_RigidBody_t swig_types[151]
3533 #define SWIGTYPE_p_CStdPtrArrayT_RobotIOControl_t swig_types[152]
3534 #define SWIGTYPE_p_CStdPtrArrayT_RobotPartInterface_t swig_types[153]
3535 #define SWIGTYPE_p_CStdPtrArrayT_SimulationThread_t swig_types[154]
3536 #define SWIGTYPE_p_CStdPtrArrayT_SimulationWindow_t swig_types[155]
3537 #define SWIGTYPE_p_CStdPtrArrayT_StdUtils__CStdVariable_t swig_types[156]
3538 #define SWIGTYPE_p_CStdPtrArrayT_Synapse_t swig_types[157]
3539 #define SWIGTYPE_p_CStdPtrArrayT_TypeProperty_t swig_types[158]
3540 #define SWIGTYPE_p_CStdPtrMapT_std__string_ActivatedItem_t swig_types[159]
3541 #define SWIGTYPE_p_CStdPtrMapT_std__string_NeuralModule_t swig_types[160]
3542 #define SWIGTYPE_p_CStdPtrMapT_std__string_OdorType_t swig_types[161]
3543 #define SWIGTYPE_p_CStdPtrMapT_std__string_Odor_t swig_types[162]
3544 #define SWIGTYPE_p_CStdPtrMapT_std__string_Organism_t swig_types[163]
3545 #define SWIGTYPE_p_CStdPtrMapT_std__string_Structure_t swig_types[164]
3546 #define SWIGTYPE_p_CStdStackT_double_t swig_types[165]
3547 #define SWIGTYPE_p_CollisionPair swig_types[166]
3548 #define SWIGTYPE_p_ContactSensor swig_types[167]
3549 #define SWIGTYPE_p_DataChart swig_types[168]
3550 #define SWIGTYPE_p_DataChartMgr swig_types[169]
3551 #define SWIGTYPE_p_DataColumn swig_types[170]
3552 #define SWIGTYPE_p_ExternalStimuliMgr swig_types[171]
3553 #define SWIGTYPE_p_FiringRateModule swig_types[172]
3554 #define SWIGTYPE_p_FiringRateSim__FiringRateModule swig_types[173]
3555 #define SWIGTYPE_p_FiringRateSim__Neurons__BistableNeuron swig_types[174]
3556 #define SWIGTYPE_p_FiringRateSim__Neurons__Neuron swig_types[175]
3557 #define SWIGTYPE_p_FiringRateSim__Neurons__PacemakerNeuron swig_types[176]
3558 #define SWIGTYPE_p_FiringRateSim__Neurons__RandomNeuron swig_types[177]
3559 #define SWIGTYPE_p_FiringRateSim__Neurons__TonicNeuron swig_types[178]
3560 #define SWIGTYPE_p_FiringRateSim__Synapses__GatedSynapse swig_types[179]
3561 #define SWIGTYPE_p_FiringRateSim__Synapses__ModulateNeuronPropSynapse swig_types[180]
3562 #define SWIGTYPE_p_FiringRateSim__Synapses__ModulatedSynapse swig_types[181]
3563 #define SWIGTYPE_p_FiringRateSim__Synapses__Synapse swig_types[182]
3564 #define SWIGTYPE_p_Gain swig_types[183]
3565 #define SWIGTYPE_p_HWND swig_types[184]
3566 #define SWIGTYPE_p_HudItem swig_types[185]
3567 #define SWIGTYPE_p_Joint swig_types[186]
3568 #define SWIGTYPE_p_KeyFrame swig_types[187]
3569 #define SWIGTYPE_p_LengthTensionGain swig_types[188]
3570 #define SWIGTYPE_p_Light swig_types[189]
3571 #define SWIGTYPE_p_LightManager swig_types[190]
3572 #define SWIGTYPE_p_LinearHillMuscle swig_types[191]
3573 #define SWIGTYPE_p_MaterialType swig_types[192]
3574 #define SWIGTYPE_p_Materials swig_types[193]
3575 #define SWIGTYPE_p_ModuleThreadProcessor swig_types[194]
3576 #define SWIGTYPE_p_NeuralModule swig_types[195]
3577 #define SWIGTYPE_p_Neuron swig_types[196]
3578 #define SWIGTYPE_p_Node swig_types[197]
3579 #define SWIGTYPE_p_Odor swig_types[198]
3580 #define SWIGTYPE_p_OdorType swig_types[199]
3581 #define SWIGTYPE_p_Organism swig_types[200]
3582 #define SWIGTYPE_p_ReceptiveField swig_types[201]
3583 #define SWIGTYPE_p_ReceptiveFieldPair swig_types[202]
3584 #define SWIGTYPE_p_RigidBody swig_types[203]
3585 #define SWIGTYPE_p_RobotIOControl swig_types[204]
3586 #define SWIGTYPE_p_RobotInterface swig_types[205]
3587 #define SWIGTYPE_p_RobotPartInterface swig_types[206]
3588 #define SWIGTYPE_p_ScriptProcessor swig_types[207]
3589 #define SWIGTYPE_p_SigmoidGain swig_types[208]
3590 #define SWIGTYPE_p_SimulationRecorder swig_types[209]
3591 #define SWIGTYPE_p_SimulationThread swig_types[210]
3592 #define SWIGTYPE_p_SimulationWindow swig_types[211]
3593 #define SWIGTYPE_p_Simulator swig_types[212]
3594 #define SWIGTYPE_p_StdUtils__CMarkupSTL swig_types[213]
3595 #define SWIGTYPE_p_StdUtils__CStdColor swig_types[214]
3596 #define SWIGTYPE_p_StdUtils__CStdCriticalSection swig_types[215]
3597 #define SWIGTYPE_p_StdUtils__CStdFixed swig_types[216]
3598 #define SWIGTYPE_p_StdUtils__CStdFont swig_types[217]
3599 #define SWIGTYPE_p_StdUtils__CStdLookupTable swig_types[218]
3600 #define SWIGTYPE_p_StdUtils__CStdPID swig_types[219]
3601 #define SWIGTYPE_p_StdUtils__CStdPostFixEval swig_types[220]
3602 #define SWIGTYPE_p_StdUtils__CStdSerialize swig_types[221]
3603 #define SWIGTYPE_p_StdUtils__CStdVariable swig_types[222]
3604 #define SWIGTYPE_p_StdUtils__CStdVariant swig_types[223]
3605 #define SWIGTYPE_p_StdUtils__CStdXml swig_types[224]
3606 #define SWIGTYPE_p_StdUtils__IStdClassFactory swig_types[225]
3607 #define SWIGTYPE_p_Structure swig_types[226]
3608 #define SWIGTYPE_p_Synapse swig_types[227]
3609 #define SWIGTYPE_p_TypeProperty swig_types[228]
3610 #define SWIGTYPE_p_a_3__float swig_types[229]
3611 #define SWIGTYPE_p_a_4__a_4__float swig_types[230]
3612 #define SWIGTYPE_p_a_4__float swig_types[231]
3613 #define SWIGTYPE_p_allocator_type swig_types[232]
3614 #define SWIGTYPE_p_bool swig_types[233]
3615 #define SWIGTYPE_p_byte swig_types[234]
3616 #define SWIGTYPE_p_char swig_types[235]
3617 #define SWIGTYPE_p_const_reference swig_types[236]
3618 #define SWIGTYPE_p_difference_type swig_types[237]
3619 #define SWIGTYPE_p_double swig_types[238]
3620 #define SWIGTYPE_p_float swig_types[239]
3621 #define SWIGTYPE_p_int swig_types[240]
3622 #define SWIGTYPE_p_key_type swig_types[241]
3623 #define SWIGTYPE_p_long swig_types[242]
3624 #define SWIGTYPE_p_mapped_type swig_types[243]
3625 #define SWIGTYPE_p_p_PyObject swig_types[244]
3626 #define SWIGTYPE_p_p_char swig_types[245]
3627 #define SWIGTYPE_p_reference swig_types[246]
3628 #define SWIGTYPE_p_short swig_types[247]
3629 #define SWIGTYPE_p_size_type swig_types[248]
3630 #define SWIGTYPE_p_std__allocatorT_ActivatedItem_p_t swig_types[249]
3631 #define SWIGTYPE_p_std__allocatorT_Adapter_p_t swig_types[250]
3632 #define SWIGTYPE_p_std__allocatorT_Attachment_p_t swig_types[251]
3633 #define SWIGTYPE_p_std__allocatorT_BodyPart_p_t swig_types[252]
3634 #define SWIGTYPE_p_std__allocatorT_CollisionPair_p_t swig_types[253]
3635 #define SWIGTYPE_p_std__allocatorT_DataColumn_p_t swig_types[254]
3636 #define SWIGTYPE_p_std__allocatorT_HudItem_p_t swig_types[255]
3637 #define SWIGTYPE_p_std__allocatorT_KeyFrame_p_t swig_types[256]
3638 #define SWIGTYPE_p_std__allocatorT_Light_p_t swig_types[257]
3639 #define SWIGTYPE_p_std__allocatorT_MaterialType_p_t swig_types[258]
3640 #define SWIGTYPE_p_std__allocatorT_ModuleThreadProcessor_p_t swig_types[259]
3641 #define SWIGTYPE_p_std__allocatorT_Neuron_p_t swig_types[260]
3642 #define SWIGTYPE_p_std__allocatorT_ReceptiveFieldPair_p_t swig_types[261]
3643 #define SWIGTYPE_p_std__allocatorT_ReceptiveField_p_t swig_types[262]
3644 #define SWIGTYPE_p_std__allocatorT_RigidBody_p_t swig_types[263]
3645 #define SWIGTYPE_p_std__allocatorT_RobotIOControl_p_t swig_types[264]
3646 #define SWIGTYPE_p_std__allocatorT_RobotInterface_p_t swig_types[265]
3647 #define SWIGTYPE_p_std__allocatorT_RobotPartInterface_p_t swig_types[266]
3648 #define SWIGTYPE_p_std__allocatorT_SimulationThread_p_t swig_types[267]
3649 #define SWIGTYPE_p_std__allocatorT_SimulationWindow_p_t swig_types[268]
3650 #define SWIGTYPE_p_std__allocatorT_StdUtils__CStdVariable_p_t swig_types[269]
3651 #define SWIGTYPE_p_std__allocatorT_Synapse_p_t swig_types[270]
3652 #define SWIGTYPE_p_std__allocatorT_TypeProperty_p_t swig_types[271]
3653 #define SWIGTYPE_p_std__allocatorT_double_t swig_types[272]
3654 #define SWIGTYPE_p_std__allocatorT_float_t swig_types[273]
3655 #define SWIGTYPE_p_std__allocatorT_int_t swig_types[274]
3656 #define SWIGTYPE_p_std__allocatorT_long_t swig_types[275]
3657 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t swig_types[276]
3658 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t swig_types[277]
3659 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t swig_types[278]
3660 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t swig_types[279]
3661 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t swig_types[280]
3662 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t swig_types[281]
3663 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t swig_types[282]
3664 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t swig_types[283]
3665 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t swig_types[284]
3666 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t swig_types[285]
3667 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t swig_types[286]
3668 #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[287]
3669 #define SWIGTYPE_p_std__invalid_argument swig_types[288]
3670 #define SWIGTYPE_p_std__lessT_std__string_t swig_types[289]
3671 #define SWIGTYPE_p_std__mapT_std__string_ActivatedItem_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_ActivatedItem_p_t_t_t swig_types[290]
3672 #define SWIGTYPE_p_std__mapT_std__string_AnimatBase_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_AnimatBase_p_t_t_t swig_types[291]
3673 #define SWIGTYPE_p_std__mapT_std__string_DataColumn_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_DataColumn_p_t_t_t swig_types[292]
3674 #define SWIGTYPE_p_std__mapT_std__string_Joint_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Joint_p_t_t_t swig_types[293]
3675 #define SWIGTYPE_p_std__mapT_std__string_NeuralModule_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_NeuralModule_p_t_t_t swig_types[294]
3676 #define SWIGTYPE_p_std__mapT_std__string_OdorType_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_OdorType_p_t_t_t swig_types[295]
3677 #define SWIGTYPE_p_std__mapT_std__string_Odor_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Odor_p_t_t_t swig_types[296]
3678 #define SWIGTYPE_p_std__mapT_std__string_Organism_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Organism_p_t_t_t swig_types[297]
3679 #define SWIGTYPE_p_std__mapT_std__string_RigidBody_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_RigidBody_p_t_t_t swig_types[298]
3680 #define SWIGTYPE_p_std__mapT_std__string_StdUtils__IStdClassFactory_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_StdUtils__IStdClassFactory_p_t_t_t swig_types[299]
3681 #define SWIGTYPE_p_std__mapT_std__string_Structure_p_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Structure_p_t_t_t swig_types[300]
3682 #define SWIGTYPE_p_std__ofstream swig_types[301]
3683 #define SWIGTYPE_p_std__ostream swig_types[302]
3684 #define SWIGTYPE_p_std__string swig_types[303]
3685 #define SWIGTYPE_p_std__unordered_setT_AnimatSim__Environment__RigidBody_p_t swig_types[304]
3686 #define SWIGTYPE_p_std__vectorT_ActivatedItem_p_std__allocatorT_ActivatedItem_p_t_t swig_types[305]
3687 #define SWIGTYPE_p_std__vectorT_Adapter_p_std__allocatorT_Adapter_p_t_t swig_types[306]
3688 #define SWIGTYPE_p_std__vectorT_Attachment_p_std__allocatorT_Attachment_p_t_t swig_types[307]
3689 #define SWIGTYPE_p_std__vectorT_BodyPart_p_std__allocatorT_BodyPart_p_t_t swig_types[308]
3690 #define SWIGTYPE_p_std__vectorT_CollisionPair_p_std__allocatorT_CollisionPair_p_t_t swig_types[309]
3691 #define SWIGTYPE_p_std__vectorT_DataColumn_p_std__allocatorT_DataColumn_p_t_t swig_types[310]
3692 #define SWIGTYPE_p_std__vectorT_HudItem_p_std__allocatorT_HudItem_p_t_t swig_types[311]
3693 #define SWIGTYPE_p_std__vectorT_KeyFrame_p_std__allocatorT_KeyFrame_p_t_t swig_types[312]
3694 #define SWIGTYPE_p_std__vectorT_Light_p_std__allocatorT_Light_p_t_t swig_types[313]
3695 #define SWIGTYPE_p_std__vectorT_MaterialType_p_std__allocatorT_MaterialType_p_t_t swig_types[314]
3696 #define SWIGTYPE_p_std__vectorT_ModuleThreadProcessor_p_std__allocatorT_ModuleThreadProcessor_p_t_t swig_types[315]
3697 #define SWIGTYPE_p_std__vectorT_Neuron_p_std__allocatorT_Neuron_p_t_t swig_types[316]
3698 #define SWIGTYPE_p_std__vectorT_ReceptiveFieldPair_p_std__allocatorT_ReceptiveFieldPair_p_t_t swig_types[317]
3699 #define SWIGTYPE_p_std__vectorT_ReceptiveField_p_std__allocatorT_ReceptiveField_p_t_t swig_types[318]
3700 #define SWIGTYPE_p_std__vectorT_RigidBody_p_std__allocatorT_RigidBody_p_t_t swig_types[319]
3701 #define SWIGTYPE_p_std__vectorT_RobotIOControl_p_std__allocatorT_RobotIOControl_p_t_t swig_types[320]
3702 #define SWIGTYPE_p_std__vectorT_RobotInterface_p_std__allocatorT_RobotInterface_p_t_t swig_types[321]
3703 #define SWIGTYPE_p_std__vectorT_RobotPartInterface_p_std__allocatorT_RobotPartInterface_p_t_t swig_types[322]
3704 #define SWIGTYPE_p_std__vectorT_SimulationThread_p_std__allocatorT_SimulationThread_p_t_t swig_types[323]
3705 #define SWIGTYPE_p_std__vectorT_SimulationWindow_p_std__allocatorT_SimulationWindow_p_t_t swig_types[324]
3706 #define SWIGTYPE_p_std__vectorT_StdUtils__CStdVariable_p_std__allocatorT_StdUtils__CStdVariable_p_t_t swig_types[325]
3707 #define SWIGTYPE_p_std__vectorT_Synapse_p_std__allocatorT_Synapse_p_t_t swig_types[326]
3708 #define SWIGTYPE_p_std__vectorT_TypeProperty_p_std__allocatorT_TypeProperty_p_t_t swig_types[327]
3709 #define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[328]
3710 #define SWIGTYPE_p_std__vectorT_float_std__allocatorT_float_t_t swig_types[329]
3711 #define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[330]
3712 #define SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t swig_types[331]
3713 #define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[332]
3714 #define SWIGTYPE_p_swig__SwigPyIterator swig_types[333]
3715 #define SWIGTYPE_p_unsigned_char swig_types[334]
3716 #define SWIGTYPE_p_unsigned_int swig_types[335]
3717 #define SWIGTYPE_p_unsigned_long swig_types[336]
3718 #define SWIGTYPE_p_unsigned_short swig_types[337]
3719 #define SWIGTYPE_p_value_type swig_types[338]
3722 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3723 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3727 #if (PY_VERSION_HEX <= 0x02000000)
3728 # if !defined(SWIG_PYTHON_CLASSIC)
3729 # error "This python version requires swig to be run with the '-classic' option"
3736 #if PY_VERSION_HEX >= 0x03000000
3737 # define SWIG_init PyInit__AnimatSimPy
3740 # define SWIG_init init_AnimatSimPy
3743 #define SWIG_name "_AnimatSimPy"
3745 #define SWIGVERSION 0x030005
3746 #define SWIG_VERSION SWIGVERSION
3749 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
3750 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
3753 #include <stdexcept>
3768 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3770 SWIG_PYTHON_THREAD_END_BLOCK;
3776 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3778 SWIG_PYTHON_THREAD_END_BLOCK;
3784 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3785 Py_XINCREF(item._obj);
3788 SWIG_PYTHON_THREAD_END_BLOCK;
3794 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3796 SWIG_PYTHON_THREAD_END_BLOCK;
3799 operator PyObject *()
const
3804 PyObject *operator->()
const
3832 #if PY_VERSION_HEX >= 0x03020000
3833 # define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj))
3835 # define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
3839 #include <stdexcept>
3842 #if defined(__GNUC__)
3843 # if __GNUC__ == 2 && __GNUC_MINOR <= 96
3844 # define SWIG_STD_NOMODERN_STL
3872 virtual PyObject *value()
const = 0;
3886 throw std::invalid_argument(
"operation not supported");
3891 throw std::invalid_argument(
"operation not supported");
3899 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3900 PyObject *obj = value();
3902 SWIG_PYTHON_THREAD_END_BLOCK;
3907 PyObject *__next__()
3912 PyObject *previous()
3914 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3916 PyObject *obj = value();
3917 SWIG_PYTHON_THREAD_END_BLOCK;
3923 return (n > 0) ? incr(n) : decr(-n);
3933 return ! operator==(x);
3943 return *advance(-n);
3948 return copy()->advance(n);
3953 return copy()->advance(-n);
3958 return x.distance(*
this);
3962 static int init = 0;
3965 desc = SWIG_TypeQuery(
"swig::SwigPyIterator *");
3972 #if defined(SWIGPYTHON_BUILTIN)
3973 inline PyObject* make_output_iterator_builtin (PyObject *pyself)
3983 SWIG_AsVal_double (PyObject *obj,
double *val)
3985 int res = SWIG_TypeError;
3986 if (PyFloat_Check(obj)) {
3987 if (val) *val = PyFloat_AsDouble(obj);
3989 }
else if (PyInt_Check(obj)) {
3990 if (val) *val = PyInt_AsLong(obj);
3992 }
else if (PyLong_Check(obj)) {
3993 double v = PyLong_AsDouble(obj);
3994 if (!PyErr_Occurred()) {
4001 #ifdef SWIG_PYTHON_CAST_MODE
4004 double d = PyFloat_AsDouble(obj);
4005 if (!PyErr_Occurred()) {
4007 return SWIG_AddCast(SWIG_OK);
4012 long v = PyLong_AsLong(obj);
4013 if (!PyErr_Occurred()) {
4015 return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
4032 SWIGINTERNINLINE
int
4033 SWIG_CanCastAsInteger(
double *d,
double min,
double max) {
4035 if ((min <= x && x <= max)) {
4036 double fx = floor(x);
4037 double cx = ceil(x);
4038 double rd = ((x - fx) < 0.5) ? fx : cx;
4039 if ((errno == EDOM) || (errno == ERANGE)) {
4042 double summ, reps, diff;
4045 }
else if (rd > x) {
4052 if (reps < 8*DBL_EPSILON) {
4063 SWIG_AsVal_unsigned_SS_long (PyObject *obj,
unsigned long *val)
4065 #if PY_VERSION_HEX < 0x03000000
4066 if (PyInt_Check(obj)) {
4067 long v = PyInt_AsLong(obj);
4072 return SWIG_OverflowError;
4076 if (PyLong_Check(obj)) {
4077 unsigned long v = PyLong_AsUnsignedLong(obj);
4078 if (!PyErr_Occurred()) {
4083 #if PY_VERSION_HEX >= 0x03000000
4085 long v = PyLong_AsLong(obj);
4086 if (!PyErr_Occurred()) {
4088 return SWIG_OverflowError;
4097 #ifdef SWIG_PYTHON_CAST_MODE
4100 unsigned long v = PyLong_AsUnsignedLong(obj);
4101 if (!PyErr_Occurred()) {
4103 return SWIG_AddCast(SWIG_OK);
4109 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
4110 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
4111 if (val) *val = (
unsigned long)(d);
4117 return SWIG_TypeError;
4121 SWIGINTERNINLINE
int
4122 SWIG_AsVal_size_t (PyObject * obj,
size_t *val)
4125 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
4126 if (SWIG_IsOK(res) && val) *val =
static_cast< size_t >(v);
4131 #define SWIG_From_long PyLong_FromLong
4134 SWIGINTERNINLINE PyObject *
4135 SWIG_From_ptrdiff_t (ptrdiff_t value)
4137 return SWIG_From_long (static_cast< long >(value));
4141 SWIGINTERNINLINE PyObject*
4142 SWIG_From_bool (
bool value)
4144 return PyBool_FromLong(value ? 1 : 0);
4149 SWIG_AsVal_long (PyObject *obj,
long* val)
4151 if (PyInt_Check(obj)) {
4152 if (val) *val = PyInt_AsLong(obj);
4154 }
else if (PyLong_Check(obj)) {
4155 long v = PyLong_AsLong(obj);
4156 if (!PyErr_Occurred()) {
4163 #ifdef SWIG_PYTHON_CAST_MODE
4166 long v = PyInt_AsLong(obj);
4167 if (!PyErr_Occurred()) {
4169 return SWIG_AddCast(SWIG_OK);
4175 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
4176 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
4177 if (val) *val = (long)(d);
4183 return SWIG_TypeError;
4187 SWIGINTERNINLINE
int
4188 SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
4191 int res = SWIG_AsVal_long (obj, val ? &v : 0);
4192 if (SWIG_IsOK(res) && val) *val =
static_cast< ptrdiff_t
>(v);
4197 #include <algorithm>
4203 SWIGINTERNINLINE PyObject*
4204 SWIG_From_int (
int value)
4206 return PyInt_FromLong((
long) value);
4216 #include <algorithm>
4220 template <
class Type>
4222 typedef Type noconst_type;
4225 template <
class Type>
4227 typedef Type noconst_type;
4241 template <
class Type>
4242 inline const char* type_name() {
4246 template <
class Type>
4250 return SWIG_TypeQuery(name.c_str());
4258 template <
class Type>
4266 template <
class Type>
struct traits <Type *> {
4268 static std::string make_ptr_name(
const char* name) {
4269 std::string ptrname = name;
4273 static const char* type_name() {
4274 static std::string name = make_ptr_name(swig::type_name<Type>());
4275 return name.c_str();
4279 template <
class Type,
class Category>
4282 template <
class Type,
class Category>
4293 static PyObject *from(Type *val,
int owner = 0) {
4294 return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner);
4299 static PyObject *from(
const Type& val) {
4305 static PyObject *from(Type* val) {
4311 static PyObject *from(
const Type* val) {
4317 template <
class Type>
4318 inline PyObject *from(
const Type& val) {
4322 template <
class Type>
4323 inline PyObject *from_ptr(Type* val,
int owner) {
4324 return traits_from_ptr<Type>::from(val, owner);
4330 template <
class Type>
4332 static int asptr(PyObject *obj, Type **val) {
4334 int res = SWIG_ConvertPtr(obj, (
void**)&p, type_info<Type>(), 0);
4335 if (SWIG_IsOK(res)) {
4342 template <
class Type>
4343 inline int asptr(PyObject *obj, Type **vptr) {
4347 template <
class Type>
4349 static int asval(PyObject *obj, Type *val) {
4353 if (!SWIG_IsOK(res))
return res;
4355 typedef typename noconst_traits<Type>::noconst_type noconst_type;
4356 *(
const_cast<noconst_type*
>(val)) = *p;
4357 if (SWIG_IsNewObj(res)){
4359 res = SWIG_DelNewMask(res);
4372 static int asval(PyObject *obj, Type **val) {
4374 typedef typename noconst_traits<Type>::noconst_type noconst_type;
4375 noconst_type *p = 0;
4377 if (SWIG_IsOK(res)) {
4378 *(
const_cast<noconst_type**
>(val)) = p;
4387 template <
class Type>
4388 inline int asval(PyObject *obj, Type *val) {
4392 template <
class Type>
4394 static Type as(PyObject *obj,
bool throw_error) {
4396 int res = asval(obj, &v);
4397 if (!obj || !SWIG_IsOK(res)) {
4398 if (!PyErr_Occurred()) {
4399 ::SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
4401 if (throw_error)
throw std::invalid_argument(
"bad type");
4407 template <
class Type>
4409 static Type as(PyObject *obj,
bool throw_error) {
4412 if (SWIG_IsOK(res) && v) {
4413 if (SWIG_IsNewObj(res)) {
4422 static Type *v_def = (Type*) malloc(
sizeof(Type));
4423 if (!PyErr_Occurred()) {
4424 SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
4426 if (throw_error)
throw std::invalid_argument(
"bad type");
4427 memset(v_def,0,
sizeof(Type));
4433 template <
class Type>
4435 static Type* as(PyObject *obj,
bool throw_error) {
4438 if (SWIG_IsOK(res)) {
4441 if (!PyErr_Occurred()) {
4442 SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
4444 if (throw_error)
throw std::invalid_argument(
"bad type");
4450 template <
class Type>
4451 inline Type as(PyObject *obj,
bool te =
false) {
4455 template <
class Type>
4457 static bool check(PyObject *obj) {
4458 int res = obj ? asval(obj, (Type *)(0)) : SWIG_ERROR;
4459 return SWIG_IsOK(res) ?
true :
false;
4463 template <
class Type>
4465 static bool check(PyObject *obj) {
4466 int res = obj ? asptr(obj, (Type **)(0)) : SWIG_ERROR;
4467 return SWIG_IsOK(res) ?
true :
false;
4471 template <
class Type>
4472 inline bool check(PyObject *obj) {
4478 #include <functional>
4485 operator()(PyObject * v, PyObject *w)
const
4488 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4489 res = PyObject_RichCompareBool(v, w, Py_LT) ?
true :
false;
4494 if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
4501 SWIG_PYTHON_THREAD_END_BLOCK;
4507 struct less <
swig::SwigPtr_PyObject>:
public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
4517 struct less <
swig::SwigVar_PyObject>:
public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
4531 static const char* type_name() {
return "PyObject *"; }
4535 typedef PyObject * value_type;
4536 static int asval(PyObject *obj, value_type *val) {
4537 if (val) *val = obj;
4544 static bool check(PyObject *) {
4550 typedef PyObject * value_type;
4551 static PyObject *from(
const value_type& val) {
4560 template <
class Difference>
4562 check_index(Difference i,
size_t size,
bool insert =
false) {
4564 if ((
size_t) (-i) <= size)
4565 return (
size_t) (i + size);
4566 }
else if ( (
size_t) i < size ) {
4568 }
else if (insert && ((
size_t) i == size)) {
4571 throw std::out_of_range(
"index out of range");
4574 template <
class Difference>
4576 slice_adjust(Difference i, Difference j, Py_ssize_t step,
size_t size, Difference &ii, Difference &jj,
bool insert =
false) {
4578 throw std::invalid_argument(
"slice step cannot be zero");
4579 }
else if (step > 0) {
4583 }
else if (i < (Difference)size) {
4585 }
else if (insert && (i >= (Difference)size)) {
4586 ii = (Difference)size;
4591 jj = (j < (Difference)size) ? j : (Difference)size;
4597 }
else if (i < (Difference) size) {
4599 }
else if (i >= (Difference)(size-1)) {
4600 ii = (Difference)(size-1);
4605 jj = (j < (Difference)size ) ? j : (Difference)(size-1);
4610 template <
class Sequence,
class Difference>
4611 inline typename Sequence::iterator
4612 getpos(Sequence*
self, Difference i) {
4613 typename Sequence::iterator pos =
self->begin();
4614 std::advance(pos, check_index(i,self->size()));
4618 template <
class Sequence,
class Difference>
4619 inline typename Sequence::const_iterator
4620 cgetpos(
const Sequence*
self, Difference i) {
4621 typename Sequence::const_iterator pos =
self->begin();
4622 std::advance(pos, check_index(i,self->size()));
4626 template <
class Sequence,
class Difference>
4628 getslice(
const Sequence*
self, Difference i, Difference j, Py_ssize_t step) {
4629 typename Sequence::size_type size =
self->size();
4632 swig::slice_adjust(i, j, step, size, ii, jj);
4635 typename Sequence::const_iterator sb =
self->begin();
4636 typename Sequence::const_iterator se =
self->begin();
4637 std::advance(sb,ii);
4638 std::advance(se,jj);
4640 return new Sequence(sb, se);
4642 Sequence *sequence =
new Sequence();
4643 typename Sequence::const_iterator it = sb;
4645 sequence->push_back(*it);
4646 for (Py_ssize_t c=0; c<step && it!=se; ++c)
4652 Sequence *sequence =
new Sequence();
4654 typename Sequence::const_reverse_iterator sb =
self->rbegin();
4655 typename Sequence::const_reverse_iterator se =
self->rbegin();
4656 std::advance(sb,size-ii-1);
4657 std::advance(se,size-jj-1);
4658 typename Sequence::const_reverse_iterator it = sb;
4660 sequence->push_back(*it);
4661 for (Py_ssize_t c=0; c<-step && it!=se; ++c)
4669 template <
class Sequence,
class Difference,
class InputSeq>
4671 setslice(Sequence*
self, Difference i, Difference j, Py_ssize_t step,
const InputSeq& is = InputSeq()) {
4672 typename Sequence::size_type size =
self->size();
4675 swig::slice_adjust(i, j, step, size, ii, jj,
true);
4680 size_t ssize = jj - ii;
4681 if (ssize <= is.size()) {
4683 typename Sequence::iterator sb =
self->begin();
4684 typename InputSeq::const_iterator isit = is.begin();
4685 std::advance(sb,ii);
4686 std::advance(isit, jj - ii);
4687 self->insert(std::copy(is.begin(), isit, sb), isit, is.end());
4690 typename Sequence::iterator sb =
self->begin();
4691 typename Sequence::iterator se =
self->begin();
4692 std::advance(sb,ii);
4693 std::advance(se,jj);
4696 std::advance(sb,ii);
4697 self->insert(sb, is.begin(), is.end());
4700 size_t replacecount = (jj - ii + step - 1) / step;
4701 if (is.size() != replacecount) {
4703 sprintf(msg,
"attempt to assign sequence of size %lu to extended slice of size %lu", (
unsigned long)is.size(), (
unsigned long)replacecount);
4704 throw std::invalid_argument(msg);
4706 typename Sequence::const_iterator isit = is.begin();
4707 typename Sequence::iterator it =
self->begin();
4708 std::advance(it,ii);
4709 for (
size_t rc=0; rc<replacecount; ++rc) {
4711 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4718 size_t replacecount = (ii - jj - step - 1) / -step;
4719 if (is.size() != replacecount) {
4721 sprintf(msg,
"attempt to assign sequence of size %lu to extended slice of size %lu", (
unsigned long)is.size(), (
unsigned long)replacecount);
4722 throw std::invalid_argument(msg);
4724 typename Sequence::const_iterator isit = is.begin();
4725 typename Sequence::reverse_iterator it =
self->rbegin();
4726 std::advance(it,size-ii-1);
4727 for (
size_t rc=0; rc<replacecount; ++rc) {
4729 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4735 template <
class Sequence,
class Difference>
4737 delslice(Sequence*
self, Difference i, Difference j, Py_ssize_t step) {
4738 typename Sequence::size_type size =
self->size();
4741 swig::slice_adjust(i, j, step, size, ii, jj,
true);
4744 typename Sequence::iterator sb =
self->begin();
4745 std::advance(sb,ii);
4747 typename Sequence::iterator se =
self->begin();
4748 std::advance(se,jj);
4751 typename Sequence::iterator it = sb;
4752 size_t delcount = (jj - ii + step - 1) / step;
4754 it =
self->erase(it);
4755 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
4763 typename Sequence::reverse_iterator sb =
self->rbegin();
4764 std::advance(sb,size-ii-1);
4765 typename Sequence::reverse_iterator it = sb;
4766 size_t delcount = (ii - jj - step - 1) / -step;
4768 it =
typename Sequence::reverse_iterator(self->erase((++it).base()));
4769 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
4779 #if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
4780 # if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
4781 # define SWIG_STD_NOITERATOR_TRAITS_STL
4785 #if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
4789 template <
class Iterator>
4790 struct iterator_traits {
4791 typedef ptrdiff_t difference_type;
4792 typedef typename Iterator::value_type value_type;
4795 template <
class Iterator,
class Category,
class T,
class Reference,
class Po
inter,
class Distance>
4796 struct iterator_traits<__reverse_bi_iterator<Iterator,Category,T,Reference,Pointer,Distance> > {
4797 typedef Distance difference_type;
4798 typedef T value_type;
4802 struct iterator_traits<T*> {
4803 typedef T value_type;
4804 typedef ptrdiff_t difference_type;
4807 template<
typename _InputIterator>
4808 inline typename iterator_traits<_InputIterator>::difference_type
4809 distance(_InputIterator __first, _InputIterator __last)
4811 typename iterator_traits<_InputIterator>::difference_type __n = 0;
4812 while (__first != __last) {
4822 template<
typename OutIterator>
4826 typedef OutIterator out_iterator;
4827 typedef typename std::iterator_traits<out_iterator>::value_type value_type;
4835 const out_iterator& get_current()
const
4843 const self_type *iters =
dynamic_cast<const self_type *
>(&iter);
4845 return (current == iters->get_current());
4847 throw std::invalid_argument(
"bad iterator type");
4853 const self_type *iters =
dynamic_cast<const self_type *
>(&iter);
4855 return std::distance(current, iters->get_current());
4857 throw std::invalid_argument(
"bad iterator type");
4862 out_iterator current;
4865 template <
class ValueType>
4868 typedef const ValueType& argument_type;
4869 typedef PyObject *result_type;
4870 result_type operator()(argument_type v)
const
4872 return swig::from(v);
4876 template<
typename OutIterator,
4877 typename ValueType =
typename std::iterator_traits<OutIterator>::value_type,
4883 typedef OutIterator out_iterator;
4884 typedef ValueType value_type;
4893 PyObject *value()
const {
4894 return from(static_cast<const value_type&>(*(base::current)));
4899 return new self_type(*
this);
4919 template<
typename OutIterator,
4920 typename ValueType =
typename std::iterator_traits<OutIterator>::value_type,
4926 typedef OutIterator out_iterator;
4927 typedef ValueType value_type;
4936 PyObject *value()
const {
4937 if (base::current == end) {
4940 return from(static_cast<const value_type&>(*(base::current)));
4946 return new self_type(*
this);
4952 if (base::current == end) {
4964 if (base::current == begin) {
4978 template<
typename OutIter>
4980 make_output_iterator(
const OutIter& current,
const OutIter& begin,
const OutIter& end, PyObject *seq = 0)
4985 template<
typename OutIter>
4986 inline SwigPyIterator*
4987 make_output_iterator(
const OutIter& current, PyObject *seq = 0)
4989 return new SwigPyIteratorOpen_T<OutIter>(current, seq);
5001 : _seq(seq), _index(index)
5009 return swig::as<T>(item,
true);
5010 }
catch (std::exception& e) {
5012 sprintf(msg,
"in sequence element %d ", _index);
5013 if (!PyErr_Occurred()) {
5014 ::SWIG_Error(SWIG_TypeError, swig::type_name<T>());
5016 SWIG_Python_AddErrorMsg(msg);
5017 SWIG_Python_AddErrorMsg(e.what());
5024 PySequence_SetItem(_seq, _index, swig::from<T>(v));
5037 const T* operator->()
const {
return &m_value; }
5038 operator const T*()
const {
return &m_value; }
5042 template <
class T,
class Reference >
5047 typedef std::random_access_iterator_tag iterator_category;
5048 typedef Reference reference;
5049 typedef T value_type;
5051 typedef int difference_type;
5058 : _seq(seq), _index(index)
5062 reference operator*()
const
5064 return reference(_seq, _index);
5068 operator->()
const {
5072 bool operator==(
const self& ri)
const
5074 return (_index == ri._index) && (_seq == ri._seq);
5077 bool operator!=(
const self& ri)
const
5079 return !(operator==(ri));
5082 self& operator ++ ()
5088 self& operator -- ()
5094 self& operator += (difference_type n)
5100 self operator +(difference_type n)
const
5102 return self(_seq, _index + n);
5105 self& operator -= (difference_type n)
5111 self operator -(difference_type n)
const
5113 return self(_seq, _index - n);
5116 difference_type operator - (
const self& ri)
const
5118 return _index - ri._index;
5121 bool operator < (
const self& ri)
const
5123 return _index < ri._index;
5127 operator[](difference_type n)
const
5129 return reference(_seq, _index + n);
5134 difference_type _index;
5142 typedef T value_type;
5144 typedef int difference_type;
5145 typedef int size_type;
5146 typedef const pointer const_pointer;
5152 if (!PySequence_Check(seq)) {
5153 throw std::invalid_argument(
"a sequence is expected");
5164 size_type size()
const
5166 return static_cast<size_type
>(PySequence_Size(_seq));
5176 return iterator(_seq, 0);
5179 const_iterator begin()
const
5181 return const_iterator(_seq, 0);
5186 return iterator(_seq, size());
5189 const_iterator end()
const
5191 return const_iterator(_seq, size());
5194 reference operator[](difference_type n)
5196 return reference(_seq, n);
5199 const_reference operator[](difference_type n)
const
5201 return const_reference(_seq, n);
5204 bool check(
bool set_err =
true)
const
5207 for (
int i = 0; i < s; ++i) {
5209 if (!swig::check<value_type>(item)) {
5212 sprintf(msg,
"in sequence element %d", i);
5213 SWIG_Error(SWIG_RuntimeError, msg);
5229 SWIG_pchar_descriptor(
void)
5231 static int init = 0;
5234 info = SWIG_TypeQuery(
"_p_char");
5242 SWIG_AsCharPtrAndSize(PyObject *obj,
char** cptr,
size_t* psize,
int *alloc)
5244 #if PY_VERSION_HEX>=0x03000000
5245 if (PyUnicode_Check(obj))
5247 if (PyString_Check(obj))
5250 char *cstr; Py_ssize_t len;
5251 #if PY_VERSION_HEX>=0x03000000
5252 if (!alloc && cptr) {
5257 return SWIG_RuntimeError;
5259 obj = PyUnicode_AsUTF8String(obj);
5260 PyBytes_AsStringAndSize(obj, &cstr, &len);
5261 if(alloc) *alloc = SWIG_NEWOBJ;
5263 PyString_AsStringAndSize(obj, &cstr, &len);
5276 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
5277 if (*alloc != SWIG_OLDOBJ)
5279 if (*alloc == SWIG_NEWOBJ)
5282 *cptr =
reinterpret_cast< char*
>(memcpy((
new char[len + 1]), cstr,
sizeof(
char)*(len + 1)));
5283 *alloc = SWIG_NEWOBJ;
5287 *alloc = SWIG_OLDOBJ;
5290 #if PY_VERSION_HEX>=0x03000000
5293 *cptr = SWIG_Python_str_AsChar(obj);
5296 if (psize) *psize = len + 1;
5297 #if PY_VERSION_HEX>=0x03000000
5303 if (pchar_descriptor) {
5305 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
5306 if (cptr) *cptr = (
char *) vptr;
5307 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
5308 if (alloc) *alloc = SWIG_OLDOBJ;
5313 return SWIG_TypeError;
5318 SWIG_AsPtr_std_string (PyObject * obj, std::string **val)
5320 char* buf = 0 ;
size_t size = 0;
int alloc = SWIG_OLDOBJ;
5321 if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
5323 if (val) *val =
new std::string(buf, size - 1);
5324 if (alloc == SWIG_NEWOBJ)
delete[] buf;
5331 static int init = 0;
5334 descriptor = SWIG_TypeQuery(
"std::string" " *");
5339 int res = SWIG_ConvertPtr(obj, (
void**)&vptr, descriptor, 0);
5340 if (SWIG_IsOK(res) && val) *val = vptr;
5349 SWIG_AsVal_std_string (PyObject * obj, std::string *val)
5351 std::string* v = (std::string *) 0;
5352 int res = SWIG_AsPtr_std_string (obj, &v);
5353 if (!SWIG_IsOK(res))
return res;
5356 if (SWIG_IsNewObj(res)) {
5358 res = SWIG_DelNewMask(res);
5366 SWIGINTERNINLINE PyObject *
5367 SWIG_FromCharPtrAndSize(
const char* carray,
size_t size)
5370 if (size > INT_MAX) {
5372 return pchar_descriptor ?
5373 SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
5375 #if PY_VERSION_HEX >= 0x03000000
5376 #if PY_VERSION_HEX >= 0x03010000
5377 return PyUnicode_DecodeUTF8(carray, static_cast< int >(size),
"surrogateescape");
5379 return PyUnicode_FromStringAndSize(carray, static_cast< int >(size));
5382 return PyString_FromStringAndSize(carray, static_cast< int >(size));
5386 return SWIG_Py_Void();
5391 SWIGINTERNINLINE PyObject *
5392 SWIG_From_std_string (
const std::string& s)
5394 return SWIG_FromCharPtrAndSize(s.data(), s.size());
5401 static const char* type_name() {
return"std::string"; }
5404 typedef std::string value_type;
5405 static int asval(PyObject *obj, value_type *val) {
5406 return SWIG_AsVal_std_string (obj, val);
5410 typedef std::string value_type;
5411 static PyObject *from(
const value_type& val) {
5412 return SWIG_From_std_string (val);
5419 template <
class SwigPySeq,
class Seq>
5421 assign(
const SwigPySeq& swigpyseq, Seq* seq) {
5423 typedef typename SwigPySeq::value_type value_type;
5424 typename SwigPySeq::const_iterator it = swigpyseq.begin();
5425 for (;it != swigpyseq.end(); ++it) {
5426 seq->insert(seq->end(),(value_type)(*it));
5430 template <
class Seq,
class T =
typename Seq::value_type >
5432 typedef Seq sequence;
5433 typedef T value_type;
5435 static int asptr(PyObject *obj, sequence **seq) {
5436 if (obj == Py_None || SWIG_Python_GetSwigThis(obj)) {
5438 if (::SWIG_ConvertPtr(obj,(
void**)&p,
5439 swig::type_info<sequence>(),0) == SWIG_OK) {
5443 }
else if (PySequence_Check(obj)) {
5447 sequence *pseq =
new sequence();
5448 assign(swigpyseq, pseq);
5452 return swigpyseq.check() ? SWIG_OK : SWIG_ERROR;
5454 }
catch (std::exception& e) {
5456 if (!PyErr_Occurred()) {
5457 PyErr_SetString(PyExc_TypeError, e.what());
5467 template <
class Seq,
class T =
typename Seq::value_type >
5469 typedef Seq sequence;
5470 typedef T value_type;
5471 typedef typename Seq::size_type size_type;
5472 typedef typename sequence::const_iterator const_iterator;
5474 static PyObject *from(
const sequence& seq) {
5475 #ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
5477 if (desc && desc->clientdata) {
5478 return SWIG_NewPointerObj(
new sequence(seq), desc, SWIG_POINTER_OWN);
5481 size_type size = seq.size();
5482 if (size <= (size_type)INT_MAX) {
5483 PyObject *obj = PyTuple_New((
int)size);
5485 for (const_iterator it = seq.begin();
5486 it != seq.end(); ++it, ++i) {
5487 PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
5491 PyErr_SetString(PyExc_OverflowError,
"sequence size not valid in python");
5502 static int asptr(PyObject *obj, std::vector<T> **vec) {
5509 static PyObject *from(
const std::vector<T>& vec) {
5517 template <>
struct traits<
std::vector<std::string, std::allocator< std::string > > > {
5519 static const char* type_name() {
5520 return "std::vector<" "std::string" "," "std::allocator< std::string >" " >";
5525 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_std_string_Sg__iterator(std::vector< std::string > *
self,PyObject **PYTHON_SELF){
5526 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
5528 SWIGINTERN
bool std_vector_Sl_std_string_Sg____nonzero__(std::vector< std::string >
const *
self){
5529 return !(
self->empty());
5531 SWIGINTERN
bool std_vector_Sl_std_string_Sg____bool__(std::vector< std::string >
const *
self){
5532 return !(
self->empty());
5534 SWIGINTERN std::vector< std::string >::size_type std_vector_Sl_std_string_Sg____len__(std::vector< std::string >
const *
self){
5535 return self->size();
5538 SWIGINTERNINLINE PyObject*
5539 SWIG_From_unsigned_SS_long (
unsigned long value)
5541 return (value > LONG_MAX) ?
5542 PyLong_FromUnsignedLong(value) : PyLong_FromLong(static_cast< long >(value));
5546 SWIGINTERNINLINE PyObject *
5547 SWIG_From_size_t (
size_t value)
5549 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
5552 SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *
self){
5553 if (self->size() == 0)
5554 throw std::out_of_range(
"pop from empty container");
5555 std::vector<std::string,std::allocator< std::string > >::value_type x =
self->back();
5559 SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getslice__(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
5560 return swig::getslice(
self, i, j, 1);
5562 SWIGINTERN
void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > >
const &v=std::vector< std::string,std::allocator< std::string > >()){
5563 swig::setslice(
self, i, j, 1, v);
5565 SWIGINTERN
void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
5566 swig::delslice(
self, i, j, 1);
5568 SWIGINTERN
void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::difference_type i){
5569 self->erase(swig::getpos(
self,i));
5571 SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *
self,PySliceObject *slice){
5572 Py_ssize_t i, j, step;
5573 if( !PySlice_Check(slice) ) {
5574 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5577 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5578 std::vector<std::string,std::allocator< std::string > >::difference_type
id = i;
5579 std::vector<std::string,std::allocator< std::string > >::difference_type jd = j;
5580 return swig::getslice(
self,
id, jd, step);
5582 SWIGINTERN
void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *
self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > >
const &v){
5583 Py_ssize_t i, j, step;
5584 if( !PySlice_Check(slice) ) {
5585 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5588 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5589 std::vector<std::string,std::allocator< std::string > >::difference_type
id = i;
5590 std::vector<std::string,std::allocator< std::string > >::difference_type jd = j;
5591 swig::setslice(
self,
id, jd, step, v);
5593 SWIGINTERN
void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *
self,PySliceObject *slice){
5594 Py_ssize_t i, j, step;
5595 if( !PySlice_Check(slice) ) {
5596 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5599 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5600 std::vector<std::string,std::allocator< std::string > >::difference_type
id = i;
5601 std::vector<std::string,std::allocator< std::string > >::difference_type jd = j;
5602 swig::delslice(
self,
id, jd, step);
5604 SWIGINTERN
void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *
self,PySliceObject *slice){
5605 Py_ssize_t i, j, step;
5606 if( !PySlice_Check(slice) ) {
5607 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5610 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5611 std::vector<std::string,std::allocator< std::string > >::difference_type
id = i;
5612 std::vector<std::string,std::allocator< std::string > >::difference_type jd = j;
5613 swig::delslice(
self,
id, jd, step);
5615 SWIGINTERN std::vector< std::string >::value_type
const &std_vector_Sl_std_string_Sg____getitem____SWIG_1(std::vector< std::string >
const *
self,std::vector< std::string >::difference_type i){
5616 return *(swig::cgetpos(
self, i));
5618 SWIGINTERN
void std_vector_Sl_std_string_Sg____setitem____SWIG_2(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::value_type
const &x){
5619 *(swig::getpos(
self,i)) = x;
5621 SWIGINTERN
void std_vector_Sl_std_string_Sg__append(std::vector< std::string > *
self,std::vector< std::string >::value_type
const &x){
5624 SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__erase__SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::iterator pos){
return self->erase(pos); }
5625 SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__erase__SWIG_1(std::vector< std::string > *
self,std::vector< std::string >::iterator first,std::vector< std::string >::iterator last){
return self->erase(first, last); }
5626 SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__insert__SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::iterator pos,std::vector< std::string >::value_type
const &x){
return self->insert(pos, x); }
5627 SWIGINTERN
void std_vector_Sl_std_string_Sg__insert__SWIG_1(std::vector< std::string > *
self,std::vector< std::string >::iterator pos,std::vector< std::string >::size_type n,std::vector< std::string >::value_type
const &x){
self->insert(pos, n, x); }
5630 #if !defined(SWIG_NO_LLONG_MAX)
5631 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
5632 # define LLONG_MAX __LONG_LONG_MAX__
5633 # define LLONG_MIN (-LLONG_MAX - 1LL)
5634 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
5640 SWIG_AsVal_int (PyObject * obj,
int *val)
5643 int res = SWIG_AsVal_long (obj, &v);
5644 if (SWIG_IsOK(res)) {
5645 if ((v < INT_MIN || v > INT_MAX)) {
5646 return SWIG_OverflowError;
5648 if (val) *val =
static_cast< int >(v);
5658 static const char* type_name() {
return"int"; }
5661 typedef int value_type;
5662 static int asval(PyObject *obj, value_type *val) {
5663 return SWIG_AsVal_int (obj, val);
5667 typedef int value_type;
5668 static PyObject *from(
const value_type& val) {
5669 return SWIG_From_int (val);
5676 template <>
struct traits<
std::vector<int, std::allocator< int > > > {
5678 static const char* type_name() {
5679 return "std::vector<" "int" "," "std::allocator< int >" " >";
5684 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_int_Sg__iterator(std::vector< int > *
self,PyObject **PYTHON_SELF){
5685 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
5687 SWIGINTERN
bool std_vector_Sl_int_Sg____nonzero__(std::vector< int >
const *
self){
5688 return !(
self->empty());
5690 SWIGINTERN
bool std_vector_Sl_int_Sg____bool__(std::vector< int >
const *
self){
5691 return !(
self->empty());
5693 SWIGINTERN std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int >
const *
self){
5694 return self->size();
5696 SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *
self){
5697 if (self->size() == 0)
5698 throw std::out_of_range(
"pop from empty container");
5699 std::vector<int,std::allocator< int > >::value_type x =
self->back();
5703 SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getslice__(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
5704 return swig::getslice(
self, i, j, 1);
5706 SWIGINTERN
void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector<
int,std::allocator< int > >
const &v=std::vector<
int,std::allocator< int > >()){
5707 swig::setslice(
self, i, j, 1, v);
5709 SWIGINTERN
void std_vector_Sl_int_Sg____delslice__(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
5710 swig::delslice(
self, i, j, 1);
5712 SWIGINTERN
void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *
self,std::vector< int >::difference_type i){
5713 self->erase(swig::getpos(
self,i));
5715 SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *
self,PySliceObject *slice){
5716 Py_ssize_t i, j, step;
5717 if( !PySlice_Check(slice) ) {
5718 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5721 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5722 std::vector<int,std::allocator< int > >::difference_type
id = i;
5723 std::vector<int,std::allocator< int > >::difference_type jd = j;
5724 return swig::getslice(
self,
id, jd, step);
5726 SWIGINTERN
void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *
self,PySliceObject *slice,std::vector<
int,std::allocator< int > >
const &v){
5727 Py_ssize_t i, j, step;
5728 if( !PySlice_Check(slice) ) {
5729 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5732 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5733 std::vector<int,std::allocator< int > >::difference_type
id = i;
5734 std::vector<int,std::allocator< int > >::difference_type jd = j;
5735 swig::setslice(
self,
id, jd, step, v);
5737 SWIGINTERN
void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *
self,PySliceObject *slice){
5738 Py_ssize_t i, j, step;
5739 if( !PySlice_Check(slice) ) {
5740 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5743 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5744 std::vector<int,std::allocator< int > >::difference_type
id = i;
5745 std::vector<int,std::allocator< int > >::difference_type jd = j;
5746 swig::delslice(
self,
id, jd, step);
5748 SWIGINTERN
void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *
self,PySliceObject *slice){
5749 Py_ssize_t i, j, step;
5750 if( !PySlice_Check(slice) ) {
5751 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5754 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5755 std::vector<int,std::allocator< int > >::difference_type
id = i;
5756 std::vector<int,std::allocator< int > >::difference_type jd = j;
5757 swig::delslice(
self,
id, jd, step);
5759 SWIGINTERN std::vector< int >::value_type
const &std_vector_Sl_int_Sg____getitem____SWIG_1(std::vector< int >
const *
self,std::vector< int >::difference_type i){
5760 return *(swig::cgetpos(
self, i));
5762 SWIGINTERN
void std_vector_Sl_int_Sg____setitem____SWIG_2(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::value_type
const &x){
5763 *(swig::getpos(
self,i)) = x;
5765 SWIGINTERN
void std_vector_Sl_int_Sg__append(std::vector< int > *
self,std::vector< int >::value_type
const &x){
5768 SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__erase__SWIG_0(std::vector< int > *
self,std::vector< int >::iterator pos){
return self->erase(pos); }
5769 SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__erase__SWIG_1(std::vector< int > *
self,std::vector< int >::iterator first,std::vector< int >::iterator last){
return self->erase(first, last); }
5770 SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__insert__SWIG_0(std::vector< int > *
self,std::vector< int >::iterator pos,std::vector< int >::value_type
const &x){
return self->insert(pos, x); }
5771 SWIGINTERN
void std_vector_Sl_int_Sg__insert__SWIG_1(std::vector< int > *
self,std::vector< int >::iterator pos,std::vector< int >::size_type n,std::vector< int >::value_type
const &x){
self->insert(pos, n, x); }
5776 static const char* type_name() {
return"long"; }
5779 typedef long value_type;
5780 static int asval(PyObject *obj, value_type *val) {
5781 return SWIG_AsVal_long (obj, val);
5785 typedef long value_type;
5786 static PyObject *from(
const value_type& val) {
5787 return SWIG_From_long (val);
5794 template <>
struct traits<
std::vector<long, std::allocator< long > > > {
5796 static const char* type_name() {
5797 return "std::vector<" "long" "," "std::allocator< long >" " >";
5802 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_long_Sg__iterator(std::vector< long > *
self,PyObject **PYTHON_SELF){
5803 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
5805 SWIGINTERN
bool std_vector_Sl_long_Sg____nonzero__(std::vector< long >
const *
self){
5806 return !(
self->empty());
5808 SWIGINTERN
bool std_vector_Sl_long_Sg____bool__(std::vector< long >
const *
self){
5809 return !(
self->empty());
5811 SWIGINTERN std::vector< long >::size_type std_vector_Sl_long_Sg____len__(std::vector< long >
const *
self){
5812 return self->size();
5814 SWIGINTERN std::vector< long >::value_type std_vector_Sl_long_Sg__pop(std::vector< long > *
self){
5815 if (self->size() == 0)
5816 throw std::out_of_range(
"pop from empty container");
5817 std::vector<long,std::allocator< long > >::value_type x =
self->back();
5821 SWIGINTERN std::vector< long,std::allocator< long > > *std_vector_Sl_long_Sg____getslice__(std::vector< long > *
self,std::vector< long >::difference_type i,std::vector< long >::difference_type j){
5822 return swig::getslice(
self, i, j, 1);
5824 SWIGINTERN
void std_vector_Sl_long_Sg____setslice____SWIG_0(std::vector< long > *
self,std::vector< long >::difference_type i,std::vector< long >::difference_type j,std::vector<
long,std::allocator< long > >
const &v=std::vector<
long,std::allocator< long > >()){
5825 swig::setslice(
self, i, j, 1, v);
5827 SWIGINTERN
void std_vector_Sl_long_Sg____delslice__(std::vector< long > *
self,std::vector< long >::difference_type i,std::vector< long >::difference_type j){
5828 swig::delslice(
self, i, j, 1);
5830 SWIGINTERN
void std_vector_Sl_long_Sg____delitem____SWIG_0(std::vector< long > *
self,std::vector< long >::difference_type i){
5831 self->erase(swig::getpos(
self,i));
5833 SWIGINTERN std::vector< long,std::allocator< long > > *std_vector_Sl_long_Sg____getitem____SWIG_0(std::vector< long > *
self,PySliceObject *slice){
5834 Py_ssize_t i, j, step;
5835 if( !PySlice_Check(slice) ) {
5836 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5839 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5840 std::vector<long,std::allocator< long > >::difference_type
id = i;
5841 std::vector<long,std::allocator< long > >::difference_type jd = j;
5842 return swig::getslice(
self,
id, jd, step);
5844 SWIGINTERN
void std_vector_Sl_long_Sg____setitem____SWIG_0(std::vector< long > *
self,PySliceObject *slice,std::vector<
long,std::allocator< long > >
const &v){
5845 Py_ssize_t i, j, step;
5846 if( !PySlice_Check(slice) ) {
5847 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5850 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5851 std::vector<long,std::allocator< long > >::difference_type
id = i;
5852 std::vector<long,std::allocator< long > >::difference_type jd = j;
5853 swig::setslice(
self,
id, jd, step, v);
5855 SWIGINTERN
void std_vector_Sl_long_Sg____setitem____SWIG_1(std::vector< long > *
self,PySliceObject *slice){
5856 Py_ssize_t i, j, step;
5857 if( !PySlice_Check(slice) ) {
5858 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5861 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5862 std::vector<long,std::allocator< long > >::difference_type
id = i;
5863 std::vector<long,std::allocator< long > >::difference_type jd = j;
5864 swig::delslice(
self,
id, jd, step);
5866 SWIGINTERN
void std_vector_Sl_long_Sg____delitem____SWIG_1(std::vector< long > *
self,PySliceObject *slice){
5867 Py_ssize_t i, j, step;
5868 if( !PySlice_Check(slice) ) {
5869 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
5872 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
5873 std::vector<long,std::allocator< long > >::difference_type
id = i;
5874 std::vector<long,std::allocator< long > >::difference_type jd = j;
5875 swig::delslice(
self,
id, jd, step);
5877 SWIGINTERN std::vector< long >::value_type
const &std_vector_Sl_long_Sg____getitem____SWIG_1(std::vector< long >
const *
self,std::vector< long >::difference_type i){
5878 return *(swig::cgetpos(
self, i));
5880 SWIGINTERN
void std_vector_Sl_long_Sg____setitem____SWIG_2(std::vector< long > *
self,std::vector< long >::difference_type i,std::vector< long >::value_type
const &x){
5881 *(swig::getpos(
self,i)) = x;
5883 SWIGINTERN
void std_vector_Sl_long_Sg__append(std::vector< long > *
self,std::vector< long >::value_type
const &x){
5886 SWIGINTERN std::vector< long >::iterator std_vector_Sl_long_Sg__erase__SWIG_0(std::vector< long > *
self,std::vector< long >::iterator pos){
return self->erase(pos); }
5887 SWIGINTERN std::vector< long >::iterator std_vector_Sl_long_Sg__erase__SWIG_1(std::vector< long > *
self,std::vector< long >::iterator first,std::vector< long >::iterator last){
return self->erase(first, last); }
5888 SWIGINTERN std::vector< long >::iterator std_vector_Sl_long_Sg__insert__SWIG_0(std::vector< long > *
self,std::vector< long >::iterator pos,std::vector< long >::value_type
const &x){
return self->insert(pos, x); }
5889 SWIGINTERN
void std_vector_Sl_long_Sg__insert__SWIG_1(std::vector< long > *
self,std::vector< long >::iterator pos,std::vector< long >::size_type n,std::vector< long >::value_type
const &x){
self->insert(pos, n, x); }
5892 #ifndef SWIG_isfinite
5893 # if defined(isfinite)
5894 # define SWIG_isfinite(X) (isfinite(X))
5895 # elif defined(_MSC_VER)
5896 # define SWIG_isfinite(X) (_finite(X))
5897 # elif defined(__sun) && defined(__SVR4)
5898 # include <ieeefp.h>
5899 # define SWIG_isfinite(X) (finite(X))
5905 #ifdef SWIG_isfinite
5906 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX) && SWIG_isfinite(X))
5908 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX))
5913 SWIG_AsVal_float (PyObject * obj,
float *val)
5916 int res = SWIG_AsVal_double (obj, &v);
5917 if (SWIG_IsOK(res)) {
5918 if (SWIG_Float_Overflow_Check(v)) {
5919 return SWIG_OverflowError;
5921 if (val) *val =
static_cast< float >(v);
5928 #define SWIG_From_double PyFloat_FromDouble
5931 SWIGINTERNINLINE PyObject *
5932 SWIG_From_float (
float value)
5934 return SWIG_From_double (value);
5941 static const char* type_name() {
return"float"; }
5944 typedef float value_type;
5945 static int asval(PyObject *obj, value_type *val) {
5946 return SWIG_AsVal_float (obj, val);
5950 typedef float value_type;
5951 static PyObject *from(
const value_type& val) {
5952 return SWIG_From_float (val);
5959 template <>
struct traits<
std::vector<float, std::allocator< float > > > {
5961 static const char* type_name() {
5962 return "std::vector<" "float" "," "std::allocator< float >" " >";
5967 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_float_Sg__iterator(std::vector< float > *
self,PyObject **PYTHON_SELF){
5968 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
5970 SWIGINTERN
bool std_vector_Sl_float_Sg____nonzero__(std::vector< float >
const *
self){
5971 return !(
self->empty());
5973 SWIGINTERN
bool std_vector_Sl_float_Sg____bool__(std::vector< float >
const *
self){
5974 return !(
self->empty());
5976 SWIGINTERN std::vector< float >::size_type std_vector_Sl_float_Sg____len__(std::vector< float >
const *
self){
5977 return self->size();
5979 SWIGINTERN std::vector< float >::value_type std_vector_Sl_float_Sg__pop(std::vector< float > *
self){
5980 if (self->size() == 0)
5981 throw std::out_of_range(
"pop from empty container");
5982 std::vector<float,std::allocator< float > >::value_type x =
self->back();
5986 SWIGINTERN std::vector< float,std::allocator< float > > *std_vector_Sl_float_Sg____getslice__(std::vector< float > *
self,std::vector< float >::difference_type i,std::vector< float >::difference_type j){
5987 return swig::getslice(
self, i, j, 1);
5989 SWIGINTERN
void std_vector_Sl_float_Sg____setslice____SWIG_0(std::vector< float > *
self,std::vector< float >::difference_type i,std::vector< float >::difference_type j,std::vector<
float,std::allocator< float > >
const &v=std::vector<
float,std::allocator< float > >()){
5990 swig::setslice(
self, i, j, 1, v);
5992 SWIGINTERN
void std_vector_Sl_float_Sg____delslice__(std::vector< float > *
self,std::vector< float >::difference_type i,std::vector< float >::difference_type j){
5993 swig::delslice(
self, i, j, 1);
5995 SWIGINTERN
void std_vector_Sl_float_Sg____delitem____SWIG_0(std::vector< float > *
self,std::vector< float >::difference_type i){
5996 self->erase(swig::getpos(
self,i));
5998 SWIGINTERN std::vector< float,std::allocator< float > > *std_vector_Sl_float_Sg____getitem____SWIG_0(std::vector< float > *
self,PySliceObject *slice){
5999 Py_ssize_t i, j, step;
6000 if( !PySlice_Check(slice) ) {
6001 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6004 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6005 std::vector<float,std::allocator< float > >::difference_type
id = i;
6006 std::vector<float,std::allocator< float > >::difference_type jd = j;
6007 return swig::getslice(
self,
id, jd, step);
6009 SWIGINTERN
void std_vector_Sl_float_Sg____setitem____SWIG_0(std::vector< float > *
self,PySliceObject *slice,std::vector<
float,std::allocator< float > >
const &v){
6010 Py_ssize_t i, j, step;
6011 if( !PySlice_Check(slice) ) {
6012 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6015 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6016 std::vector<float,std::allocator< float > >::difference_type
id = i;
6017 std::vector<float,std::allocator< float > >::difference_type jd = j;
6018 swig::setslice(
self,
id, jd, step, v);
6020 SWIGINTERN
void std_vector_Sl_float_Sg____setitem____SWIG_1(std::vector< float > *
self,PySliceObject *slice){
6021 Py_ssize_t i, j, step;
6022 if( !PySlice_Check(slice) ) {
6023 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6026 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6027 std::vector<float,std::allocator< float > >::difference_type
id = i;
6028 std::vector<float,std::allocator< float > >::difference_type jd = j;
6029 swig::delslice(
self,
id, jd, step);
6031 SWIGINTERN
void std_vector_Sl_float_Sg____delitem____SWIG_1(std::vector< float > *
self,PySliceObject *slice){
6032 Py_ssize_t i, j, step;
6033 if( !PySlice_Check(slice) ) {
6034 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6037 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6038 std::vector<float,std::allocator< float > >::difference_type
id = i;
6039 std::vector<float,std::allocator< float > >::difference_type jd = j;
6040 swig::delslice(
self,
id, jd, step);
6042 SWIGINTERN std::vector< float >::value_type
const &std_vector_Sl_float_Sg____getitem____SWIG_1(std::vector< float >
const *
self,std::vector< float >::difference_type i){
6043 return *(swig::cgetpos(
self, i));
6045 SWIGINTERN
void std_vector_Sl_float_Sg____setitem____SWIG_2(std::vector< float > *
self,std::vector< float >::difference_type i,std::vector< float >::value_type
const &x){
6046 *(swig::getpos(
self,i)) = x;
6048 SWIGINTERN
void std_vector_Sl_float_Sg__append(std::vector< float > *
self,std::vector< float >::value_type
const &x){
6051 SWIGINTERN std::vector< float >::iterator std_vector_Sl_float_Sg__erase__SWIG_0(std::vector< float > *
self,std::vector< float >::iterator pos){
return self->erase(pos); }
6052 SWIGINTERN std::vector< float >::iterator std_vector_Sl_float_Sg__erase__SWIG_1(std::vector< float > *
self,std::vector< float >::iterator first,std::vector< float >::iterator last){
return self->erase(first, last); }
6053 SWIGINTERN std::vector< float >::iterator std_vector_Sl_float_Sg__insert__SWIG_0(std::vector< float > *
self,std::vector< float >::iterator pos,std::vector< float >::value_type
const &x){
return self->insert(pos, x); }
6054 SWIGINTERN
void std_vector_Sl_float_Sg__insert__SWIG_1(std::vector< float > *
self,std::vector< float >::iterator pos,std::vector< float >::size_type n,std::vector< float >::value_type
const &x){
self->insert(pos, n, x); }
6059 static const char* type_name() {
return"double"; }
6062 typedef double value_type;
6063 static int asval(PyObject *obj, value_type *val) {
6064 return SWIG_AsVal_double (obj, val);
6068 typedef double value_type;
6069 static PyObject *from(
const value_type& val) {
6070 return SWIG_From_double (val);
6077 template <>
struct traits<
std::vector<double, std::allocator< double > > > {
6079 static const char* type_name() {
6080 return "std::vector<" "double" "," "std::allocator< double >" " >";
6085 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_double_Sg__iterator(std::vector< double > *
self,PyObject **PYTHON_SELF){
6086 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6088 SWIGINTERN
bool std_vector_Sl_double_Sg____nonzero__(std::vector< double >
const *
self){
6089 return !(
self->empty());
6091 SWIGINTERN
bool std_vector_Sl_double_Sg____bool__(std::vector< double >
const *
self){
6092 return !(
self->empty());
6094 SWIGINTERN std::vector< double >::size_type std_vector_Sl_double_Sg____len__(std::vector< double >
const *
self){
6095 return self->size();
6097 SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *
self){
6098 if (self->size() == 0)
6099 throw std::out_of_range(
"pop from empty container");
6100 std::vector<double,std::allocator< double > >::value_type x =
self->back();
6104 SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getslice__(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
6105 return swig::getslice(
self, i, j, 1);
6107 SWIGINTERN
void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector<
double,std::allocator< double > >
const &v=std::vector<
double,std::allocator< double > >()){
6108 swig::setslice(
self, i, j, 1, v);
6110 SWIGINTERN
void std_vector_Sl_double_Sg____delslice__(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
6111 swig::delslice(
self, i, j, 1);
6113 SWIGINTERN
void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *
self,std::vector< double >::difference_type i){
6114 self->erase(swig::getpos(
self,i));
6116 SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *
self,PySliceObject *slice){
6117 Py_ssize_t i, j, step;
6118 if( !PySlice_Check(slice) ) {
6119 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6122 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6123 std::vector<double,std::allocator< double > >::difference_type
id = i;
6124 std::vector<double,std::allocator< double > >::difference_type jd = j;
6125 return swig::getslice(
self,
id, jd, step);
6127 SWIGINTERN
void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *
self,PySliceObject *slice,std::vector<
double,std::allocator< double > >
const &v){
6128 Py_ssize_t i, j, step;
6129 if( !PySlice_Check(slice) ) {
6130 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6133 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6134 std::vector<double,std::allocator< double > >::difference_type
id = i;
6135 std::vector<double,std::allocator< double > >::difference_type jd = j;
6136 swig::setslice(
self,
id, jd, step, v);
6138 SWIGINTERN
void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *
self,PySliceObject *slice){
6139 Py_ssize_t i, j, step;
6140 if( !PySlice_Check(slice) ) {
6141 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6144 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6145 std::vector<double,std::allocator< double > >::difference_type
id = i;
6146 std::vector<double,std::allocator< double > >::difference_type jd = j;
6147 swig::delslice(
self,
id, jd, step);
6149 SWIGINTERN
void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *
self,PySliceObject *slice){
6150 Py_ssize_t i, j, step;
6151 if( !PySlice_Check(slice) ) {
6152 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6155 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6156 std::vector<double,std::allocator< double > >::difference_type
id = i;
6157 std::vector<double,std::allocator< double > >::difference_type jd = j;
6158 swig::delslice(
self,
id, jd, step);
6160 SWIGINTERN std::vector< double >::value_type
const &std_vector_Sl_double_Sg____getitem____SWIG_1(std::vector< double >
const *
self,std::vector< double >::difference_type i){
6161 return *(swig::cgetpos(
self, i));
6163 SWIGINTERN
void std_vector_Sl_double_Sg____setitem____SWIG_2(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::value_type
const &x){
6164 *(swig::getpos(
self,i)) = x;
6166 SWIGINTERN
void std_vector_Sl_double_Sg__append(std::vector< double > *
self,std::vector< double >::value_type
const &x){
6169 SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__erase__SWIG_0(std::vector< double > *
self,std::vector< double >::iterator pos){
return self->erase(pos); }
6170 SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__erase__SWIG_1(std::vector< double > *
self,std::vector< double >::iterator first,std::vector< double >::iterator last){
return self->erase(first, last); }
6171 SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__insert__SWIG_0(std::vector< double > *
self,std::vector< double >::iterator pos,std::vector< double >::value_type
const &x){
return self->insert(pos, x); }
6172 SWIGINTERN
void std_vector_Sl_double_Sg__insert__SWIG_1(std::vector< double > *
self,std::vector< double >::iterator pos,std::vector< double >::size_type n,std::vector< double >::value_type
const &x){
self->insert(pos, n, x); }
6177 static const char* type_name() {
return"ActivatedItem"; }
6183 template <>
struct traits<
std::vector<ActivatedItem*, std::allocator< ActivatedItem * > > > {
6185 static const char* type_name() {
6186 return "std::vector<" "ActivatedItem" " *," "std::allocator< ActivatedItem * >" " >";
6191 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_ActivatedItem_Sm__Sg__iterator(std::vector< ActivatedItem * > *
self,PyObject **PYTHON_SELF){
6192 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6194 SWIGINTERN
bool std_vector_Sl_ActivatedItem_Sm__Sg____nonzero__(std::vector< ActivatedItem * >
const *
self){
6195 return !(
self->empty());
6197 SWIGINTERN
bool std_vector_Sl_ActivatedItem_Sm__Sg____bool__(std::vector< ActivatedItem * >
const *
self){
6198 return !(
self->empty());
6200 SWIGINTERN std::vector< ActivatedItem * >::size_type std_vector_Sl_ActivatedItem_Sm__Sg____len__(std::vector< ActivatedItem * >
const *
self){
6201 return self->size();
6203 SWIGINTERN std::vector< ActivatedItem * >::value_type std_vector_Sl_ActivatedItem_Sm__Sg__pop(std::vector< ActivatedItem * > *
self){
6204 if (self->size() == 0)
6205 throw std::out_of_range(
"pop from empty container");
6206 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::value_type x =
self->back();
6210 SWIGINTERN std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *std_vector_Sl_ActivatedItem_Sm__Sg____getslice__(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::difference_type i,std::vector< ActivatedItem * >::difference_type j){
6211 return swig::getslice(
self, i, j, 1);
6213 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____setslice____SWIG_0(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::difference_type i,std::vector< ActivatedItem * >::difference_type j,std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >
const &v=std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >()){
6214 swig::setslice(
self, i, j, 1, v);
6216 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____delslice__(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::difference_type i,std::vector< ActivatedItem * >::difference_type j){
6217 swig::delslice(
self, i, j, 1);
6219 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____delitem____SWIG_0(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::difference_type i){
6220 self->erase(swig::getpos(
self,i));
6222 SWIGINTERN std::vector< ActivatedItem *,std::allocator< ActivatedItem * > > *std_vector_Sl_ActivatedItem_Sm__Sg____getitem____SWIG_0(std::vector< ActivatedItem * > *
self,PySliceObject *slice){
6223 Py_ssize_t i, j, step;
6224 if( !PySlice_Check(slice) ) {
6225 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6228 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6229 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type
id = i;
6230 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type jd = j;
6231 return swig::getslice(
self,
id, jd, step);
6233 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____setitem____SWIG_0(std::vector< ActivatedItem * > *
self,PySliceObject *slice,std::vector< ActivatedItem *,std::allocator< ActivatedItem * > >
const &v){
6234 Py_ssize_t i, j, step;
6235 if( !PySlice_Check(slice) ) {
6236 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6239 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6240 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type
id = i;
6241 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type jd = j;
6242 swig::setslice(
self,
id, jd, step, v);
6244 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____setitem____SWIG_1(std::vector< ActivatedItem * > *
self,PySliceObject *slice){
6245 Py_ssize_t i, j, step;
6246 if( !PySlice_Check(slice) ) {
6247 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6250 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6251 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type
id = i;
6252 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type jd = j;
6253 swig::delslice(
self,
id, jd, step);
6255 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____delitem____SWIG_1(std::vector< ActivatedItem * > *
self,PySliceObject *slice){
6256 Py_ssize_t i, j, step;
6257 if( !PySlice_Check(slice) ) {
6258 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6261 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6262 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type
id = i;
6263 std::vector<ActivatedItem*,std::allocator< ActivatedItem * > >::difference_type jd = j;
6264 swig::delslice(
self,
id, jd, step);
6266 SWIGINTERN std::vector< ActivatedItem * >::value_type std_vector_Sl_ActivatedItem_Sm__Sg____getitem____SWIG_1(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::difference_type i){
6267 return *(swig::cgetpos(
self, i));
6269 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg____setitem____SWIG_2(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::difference_type i,std::vector< ActivatedItem * >::value_type x){
6270 *(swig::getpos(
self,i)) = x;
6272 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg__append(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::value_type x){
6275 SWIGINTERN std::vector< ActivatedItem * >::iterator std_vector_Sl_ActivatedItem_Sm__Sg__erase__SWIG_0(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::iterator pos){
return self->erase(pos); }
6276 SWIGINTERN std::vector< ActivatedItem * >::iterator std_vector_Sl_ActivatedItem_Sm__Sg__erase__SWIG_1(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::iterator first,std::vector< ActivatedItem * >::iterator last){
return self->erase(first, last); }
6277 SWIGINTERN std::vector< ActivatedItem * >::iterator std_vector_Sl_ActivatedItem_Sm__Sg__insert__SWIG_0(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::iterator pos,std::vector< ActivatedItem * >::value_type x){
return self->insert(pos, x); }
6278 SWIGINTERN
void std_vector_Sl_ActivatedItem_Sm__Sg__insert__SWIG_1(std::vector< ActivatedItem * > *
self,std::vector< ActivatedItem * >::iterator pos,std::vector< ActivatedItem * >::size_type n,std::vector< ActivatedItem * >::value_type x){
self->insert(pos, n, x); }
6283 static const char* type_name() {
return"Adapter"; }
6289 template <>
struct traits<
std::vector<Adapter*, std::allocator< Adapter * > > > {
6291 static const char* type_name() {
6292 return "std::vector<" "Adapter" " *," "std::allocator< Adapter * >" " >";
6297 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Adapter_Sm__Sg__iterator(std::vector< Adapter * > *
self,PyObject **PYTHON_SELF){
6298 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6300 SWIGINTERN
bool std_vector_Sl_Adapter_Sm__Sg____nonzero__(std::vector< Adapter * >
const *
self){
6301 return !(
self->empty());
6303 SWIGINTERN
bool std_vector_Sl_Adapter_Sm__Sg____bool__(std::vector< Adapter * >
const *
self){
6304 return !(
self->empty());
6306 SWIGINTERN std::vector< Adapter * >::size_type std_vector_Sl_Adapter_Sm__Sg____len__(std::vector< Adapter * >
const *
self){
6307 return self->size();
6309 SWIGINTERN std::vector< Adapter * >::value_type std_vector_Sl_Adapter_Sm__Sg__pop(std::vector< Adapter * > *
self){
6310 if (self->size() == 0)
6311 throw std::out_of_range(
"pop from empty container");
6312 std::vector<Adapter*,std::allocator< Adapter * > >::value_type x =
self->back();
6316 SWIGINTERN std::vector< Adapter *,std::allocator< Adapter * > > *std_vector_Sl_Adapter_Sm__Sg____getslice__(std::vector< Adapter * > *
self,std::vector< Adapter * >::difference_type i,std::vector< Adapter * >::difference_type j){
6317 return swig::getslice(
self, i, j, 1);
6319 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____setslice____SWIG_0(std::vector< Adapter * > *
self,std::vector< Adapter * >::difference_type i,std::vector< Adapter * >::difference_type j,std::vector< Adapter *,std::allocator< Adapter * > >
const &v=std::vector< Adapter *,std::allocator< Adapter * > >()){
6320 swig::setslice(
self, i, j, 1, v);
6322 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____delslice__(std::vector< Adapter * > *
self,std::vector< Adapter * >::difference_type i,std::vector< Adapter * >::difference_type j){
6323 swig::delslice(
self, i, j, 1);
6325 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____delitem____SWIG_0(std::vector< Adapter * > *
self,std::vector< Adapter * >::difference_type i){
6326 self->erase(swig::getpos(
self,i));
6328 SWIGINTERN std::vector< Adapter *,std::allocator< Adapter * > > *std_vector_Sl_Adapter_Sm__Sg____getitem____SWIG_0(std::vector< Adapter * > *
self,PySliceObject *slice){
6329 Py_ssize_t i, j, step;
6330 if( !PySlice_Check(slice) ) {
6331 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6334 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6335 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type
id = i;
6336 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type jd = j;
6337 return swig::getslice(
self,
id, jd, step);
6339 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____setitem____SWIG_0(std::vector< Adapter * > *
self,PySliceObject *slice,std::vector< Adapter *,std::allocator< Adapter * > >
const &v){
6340 Py_ssize_t i, j, step;
6341 if( !PySlice_Check(slice) ) {
6342 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6345 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6346 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type
id = i;
6347 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type jd = j;
6348 swig::setslice(
self,
id, jd, step, v);
6350 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____setitem____SWIG_1(std::vector< Adapter * > *
self,PySliceObject *slice){
6351 Py_ssize_t i, j, step;
6352 if( !PySlice_Check(slice) ) {
6353 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6356 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6357 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type
id = i;
6358 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type jd = j;
6359 swig::delslice(
self,
id, jd, step);
6361 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____delitem____SWIG_1(std::vector< Adapter * > *
self,PySliceObject *slice){
6362 Py_ssize_t i, j, step;
6363 if( !PySlice_Check(slice) ) {
6364 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6367 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6368 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type
id = i;
6369 std::vector<Adapter*,std::allocator< Adapter * > >::difference_type jd = j;
6370 swig::delslice(
self,
id, jd, step);
6372 SWIGINTERN std::vector< Adapter * >::value_type std_vector_Sl_Adapter_Sm__Sg____getitem____SWIG_1(std::vector< Adapter * > *
self,std::vector< Adapter * >::difference_type i){
6373 return *(swig::cgetpos(
self, i));
6375 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg____setitem____SWIG_2(std::vector< Adapter * > *
self,std::vector< Adapter * >::difference_type i,std::vector< Adapter * >::value_type x){
6376 *(swig::getpos(
self,i)) = x;
6378 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg__append(std::vector< Adapter * > *
self,std::vector< Adapter * >::value_type x){
6381 SWIGINTERN std::vector< Adapter * >::iterator std_vector_Sl_Adapter_Sm__Sg__erase__SWIG_0(std::vector< Adapter * > *
self,std::vector< Adapter * >::iterator pos){
return self->erase(pos); }
6382 SWIGINTERN std::vector< Adapter * >::iterator std_vector_Sl_Adapter_Sm__Sg__erase__SWIG_1(std::vector< Adapter * > *
self,std::vector< Adapter * >::iterator first,std::vector< Adapter * >::iterator last){
return self->erase(first, last); }
6383 SWIGINTERN std::vector< Adapter * >::iterator std_vector_Sl_Adapter_Sm__Sg__insert__SWIG_0(std::vector< Adapter * > *
self,std::vector< Adapter * >::iterator pos,std::vector< Adapter * >::value_type x){
return self->insert(pos, x); }
6384 SWIGINTERN
void std_vector_Sl_Adapter_Sm__Sg__insert__SWIG_1(std::vector< Adapter * > *
self,std::vector< Adapter * >::iterator pos,std::vector< Adapter * >::size_type n,std::vector< Adapter * >::value_type x){
self->insert(pos, n, x); }
6389 static const char* type_name() {
return"Attachment"; }
6395 template <>
struct traits<
std::vector<Attachment*, std::allocator< Attachment * > > > {
6397 static const char* type_name() {
6398 return "std::vector<" "Attachment" " *," "std::allocator< Attachment * >" " >";
6403 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Attachment_Sm__Sg__iterator(std::vector< Attachment * > *
self,PyObject **PYTHON_SELF){
6404 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6406 SWIGINTERN
bool std_vector_Sl_Attachment_Sm__Sg____nonzero__(std::vector< Attachment * >
const *
self){
6407 return !(
self->empty());
6409 SWIGINTERN
bool std_vector_Sl_Attachment_Sm__Sg____bool__(std::vector< Attachment * >
const *
self){
6410 return !(
self->empty());
6412 SWIGINTERN std::vector< Attachment * >::size_type std_vector_Sl_Attachment_Sm__Sg____len__(std::vector< Attachment * >
const *
self){
6413 return self->size();
6415 SWIGINTERN std::vector< Attachment * >::value_type std_vector_Sl_Attachment_Sm__Sg__pop(std::vector< Attachment * > *
self){
6416 if (self->size() == 0)
6417 throw std::out_of_range(
"pop from empty container");
6418 std::vector<Attachment*,std::allocator< Attachment * > >::value_type x =
self->back();
6422 SWIGINTERN std::vector< Attachment *,std::allocator< Attachment * > > *std_vector_Sl_Attachment_Sm__Sg____getslice__(std::vector< Attachment * > *
self,std::vector< Attachment * >::difference_type i,std::vector< Attachment * >::difference_type j){
6423 return swig::getslice(
self, i, j, 1);
6425 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____setslice____SWIG_0(std::vector< Attachment * > *
self,std::vector< Attachment * >::difference_type i,std::vector< Attachment * >::difference_type j,std::vector< Attachment *,std::allocator< Attachment * > >
const &v=std::vector< Attachment *,std::allocator< Attachment * > >()){
6426 swig::setslice(
self, i, j, 1, v);
6428 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____delslice__(std::vector< Attachment * > *
self,std::vector< Attachment * >::difference_type i,std::vector< Attachment * >::difference_type j){
6429 swig::delslice(
self, i, j, 1);
6431 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____delitem____SWIG_0(std::vector< Attachment * > *
self,std::vector< Attachment * >::difference_type i){
6432 self->erase(swig::getpos(
self,i));
6434 SWIGINTERN std::vector< Attachment *,std::allocator< Attachment * > > *std_vector_Sl_Attachment_Sm__Sg____getitem____SWIG_0(std::vector< Attachment * > *
self,PySliceObject *slice){
6435 Py_ssize_t i, j, step;
6436 if( !PySlice_Check(slice) ) {
6437 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6440 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6441 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type
id = i;
6442 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type jd = j;
6443 return swig::getslice(
self,
id, jd, step);
6445 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____setitem____SWIG_0(std::vector< Attachment * > *
self,PySliceObject *slice,std::vector< Attachment *,std::allocator< Attachment * > >
const &v){
6446 Py_ssize_t i, j, step;
6447 if( !PySlice_Check(slice) ) {
6448 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6451 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6452 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type
id = i;
6453 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type jd = j;
6454 swig::setslice(
self,
id, jd, step, v);
6456 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____setitem____SWIG_1(std::vector< Attachment * > *
self,PySliceObject *slice){
6457 Py_ssize_t i, j, step;
6458 if( !PySlice_Check(slice) ) {
6459 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6462 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6463 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type
id = i;
6464 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type jd = j;
6465 swig::delslice(
self,
id, jd, step);
6467 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____delitem____SWIG_1(std::vector< Attachment * > *
self,PySliceObject *slice){
6468 Py_ssize_t i, j, step;
6469 if( !PySlice_Check(slice) ) {
6470 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6473 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6474 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type
id = i;
6475 std::vector<Attachment*,std::allocator< Attachment * > >::difference_type jd = j;
6476 swig::delslice(
self,
id, jd, step);
6478 SWIGINTERN std::vector< Attachment * >::value_type std_vector_Sl_Attachment_Sm__Sg____getitem____SWIG_1(std::vector< Attachment * > *
self,std::vector< Attachment * >::difference_type i){
6479 return *(swig::cgetpos(
self, i));
6481 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg____setitem____SWIG_2(std::vector< Attachment * > *
self,std::vector< Attachment * >::difference_type i,std::vector< Attachment * >::value_type x){
6482 *(swig::getpos(
self,i)) = x;
6484 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg__append(std::vector< Attachment * > *
self,std::vector< Attachment * >::value_type x){
6487 SWIGINTERN std::vector< Attachment * >::iterator std_vector_Sl_Attachment_Sm__Sg__erase__SWIG_0(std::vector< Attachment * > *
self,std::vector< Attachment * >::iterator pos){
return self->erase(pos); }
6488 SWIGINTERN std::vector< Attachment * >::iterator std_vector_Sl_Attachment_Sm__Sg__erase__SWIG_1(std::vector< Attachment * > *
self,std::vector< Attachment * >::iterator first,std::vector< Attachment * >::iterator last){
return self->erase(first, last); }
6489 SWIGINTERN std::vector< Attachment * >::iterator std_vector_Sl_Attachment_Sm__Sg__insert__SWIG_0(std::vector< Attachment * > *
self,std::vector< Attachment * >::iterator pos,std::vector< Attachment * >::value_type x){
return self->insert(pos, x); }
6490 SWIGINTERN
void std_vector_Sl_Attachment_Sm__Sg__insert__SWIG_1(std::vector< Attachment * > *
self,std::vector< Attachment * >::iterator pos,std::vector< Attachment * >::size_type n,std::vector< Attachment * >::value_type x){
self->insert(pos, n, x); }
6495 static const char* type_name() {
return"BodyPart"; }
6501 template <>
struct traits<
std::vector<BodyPart*, std::allocator< BodyPart * > > > {
6503 static const char* type_name() {
6504 return "std::vector<" "BodyPart" " *," "std::allocator< BodyPart * >" " >";
6509 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_BodyPart_Sm__Sg__iterator(std::vector< BodyPart * > *
self,PyObject **PYTHON_SELF){
6510 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6512 SWIGINTERN
bool std_vector_Sl_BodyPart_Sm__Sg____nonzero__(std::vector< BodyPart * >
const *
self){
6513 return !(
self->empty());
6515 SWIGINTERN
bool std_vector_Sl_BodyPart_Sm__Sg____bool__(std::vector< BodyPart * >
const *
self){
6516 return !(
self->empty());
6518 SWIGINTERN std::vector< BodyPart * >::size_type std_vector_Sl_BodyPart_Sm__Sg____len__(std::vector< BodyPart * >
const *
self){
6519 return self->size();
6521 SWIGINTERN std::vector< BodyPart * >::value_type std_vector_Sl_BodyPart_Sm__Sg__pop(std::vector< BodyPart * > *
self){
6522 if (self->size() == 0)
6523 throw std::out_of_range(
"pop from empty container");
6524 std::vector<BodyPart*,std::allocator< BodyPart * > >::value_type x =
self->back();
6528 SWIGINTERN std::vector< BodyPart *,std::allocator< BodyPart * > > *std_vector_Sl_BodyPart_Sm__Sg____getslice__(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::difference_type i,std::vector< BodyPart * >::difference_type j){
6529 return swig::getslice(
self, i, j, 1);
6531 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____setslice____SWIG_0(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::difference_type i,std::vector< BodyPart * >::difference_type j,std::vector< BodyPart *,std::allocator< BodyPart * > >
const &v=std::vector< BodyPart *,std::allocator< BodyPart * > >()){
6532 swig::setslice(
self, i, j, 1, v);
6534 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____delslice__(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::difference_type i,std::vector< BodyPart * >::difference_type j){
6535 swig::delslice(
self, i, j, 1);
6537 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____delitem____SWIG_0(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::difference_type i){
6538 self->erase(swig::getpos(
self,i));
6540 SWIGINTERN std::vector< BodyPart *,std::allocator< BodyPart * > > *std_vector_Sl_BodyPart_Sm__Sg____getitem____SWIG_0(std::vector< BodyPart * > *
self,PySliceObject *slice){
6541 Py_ssize_t i, j, step;
6542 if( !PySlice_Check(slice) ) {
6543 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6546 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6547 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type
id = i;
6548 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type jd = j;
6549 return swig::getslice(
self,
id, jd, step);
6551 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____setitem____SWIG_0(std::vector< BodyPart * > *
self,PySliceObject *slice,std::vector< BodyPart *,std::allocator< BodyPart * > >
const &v){
6552 Py_ssize_t i, j, step;
6553 if( !PySlice_Check(slice) ) {
6554 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6557 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6558 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type
id = i;
6559 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type jd = j;
6560 swig::setslice(
self,
id, jd, step, v);
6562 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____setitem____SWIG_1(std::vector< BodyPart * > *
self,PySliceObject *slice){
6563 Py_ssize_t i, j, step;
6564 if( !PySlice_Check(slice) ) {
6565 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6568 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6569 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type
id = i;
6570 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type jd = j;
6571 swig::delslice(
self,
id, jd, step);
6573 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____delitem____SWIG_1(std::vector< BodyPart * > *
self,PySliceObject *slice){
6574 Py_ssize_t i, j, step;
6575 if( !PySlice_Check(slice) ) {
6576 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6579 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6580 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type
id = i;
6581 std::vector<BodyPart*,std::allocator< BodyPart * > >::difference_type jd = j;
6582 swig::delslice(
self,
id, jd, step);
6584 SWIGINTERN std::vector< BodyPart * >::value_type std_vector_Sl_BodyPart_Sm__Sg____getitem____SWIG_1(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::difference_type i){
6585 return *(swig::cgetpos(
self, i));
6587 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg____setitem____SWIG_2(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::difference_type i,std::vector< BodyPart * >::value_type x){
6588 *(swig::getpos(
self,i)) = x;
6590 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg__append(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::value_type x){
6593 SWIGINTERN std::vector< BodyPart * >::iterator std_vector_Sl_BodyPart_Sm__Sg__erase__SWIG_0(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::iterator pos){
return self->erase(pos); }
6594 SWIGINTERN std::vector< BodyPart * >::iterator std_vector_Sl_BodyPart_Sm__Sg__erase__SWIG_1(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::iterator first,std::vector< BodyPart * >::iterator last){
return self->erase(first, last); }
6595 SWIGINTERN std::vector< BodyPart * >::iterator std_vector_Sl_BodyPart_Sm__Sg__insert__SWIG_0(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::iterator pos,std::vector< BodyPart * >::value_type x){
return self->insert(pos, x); }
6596 SWIGINTERN
void std_vector_Sl_BodyPart_Sm__Sg__insert__SWIG_1(std::vector< BodyPart * > *
self,std::vector< BodyPart * >::iterator pos,std::vector< BodyPart * >::size_type n,std::vector< BodyPart * >::value_type x){
self->insert(pos, n, x); }
6601 static const char* type_name() {
return"CollisionPair"; }
6607 template <>
struct traits<
std::vector<CollisionPair*, std::allocator< CollisionPair * > > > {
6609 static const char* type_name() {
6610 return "std::vector<" "CollisionPair" " *," "std::allocator< CollisionPair * >" " >";
6615 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_CollisionPair_Sm__Sg__iterator(std::vector< CollisionPair * > *
self,PyObject **PYTHON_SELF){
6616 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6618 SWIGINTERN
bool std_vector_Sl_CollisionPair_Sm__Sg____nonzero__(std::vector< CollisionPair * >
const *
self){
6619 return !(
self->empty());
6621 SWIGINTERN
bool std_vector_Sl_CollisionPair_Sm__Sg____bool__(std::vector< CollisionPair * >
const *
self){
6622 return !(
self->empty());
6624 SWIGINTERN std::vector< CollisionPair * >::size_type std_vector_Sl_CollisionPair_Sm__Sg____len__(std::vector< CollisionPair * >
const *
self){
6625 return self->size();
6627 SWIGINTERN std::vector< CollisionPair * >::value_type std_vector_Sl_CollisionPair_Sm__Sg__pop(std::vector< CollisionPair * > *
self){
6628 if (self->size() == 0)
6629 throw std::out_of_range(
"pop from empty container");
6630 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::value_type x =
self->back();
6634 SWIGINTERN std::vector< CollisionPair *,std::allocator< CollisionPair * > > *std_vector_Sl_CollisionPair_Sm__Sg____getslice__(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::difference_type i,std::vector< CollisionPair * >::difference_type j){
6635 return swig::getslice(
self, i, j, 1);
6637 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____setslice____SWIG_0(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::difference_type i,std::vector< CollisionPair * >::difference_type j,std::vector< CollisionPair *,std::allocator< CollisionPair * > >
const &v=std::vector< CollisionPair *,std::allocator< CollisionPair * > >()){
6638 swig::setslice(
self, i, j, 1, v);
6640 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____delslice__(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::difference_type i,std::vector< CollisionPair * >::difference_type j){
6641 swig::delslice(
self, i, j, 1);
6643 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____delitem____SWIG_0(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::difference_type i){
6644 self->erase(swig::getpos(
self,i));
6646 SWIGINTERN std::vector< CollisionPair *,std::allocator< CollisionPair * > > *std_vector_Sl_CollisionPair_Sm__Sg____getitem____SWIG_0(std::vector< CollisionPair * > *
self,PySliceObject *slice){
6647 Py_ssize_t i, j, step;
6648 if( !PySlice_Check(slice) ) {
6649 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6652 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6653 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type
id = i;
6654 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type jd = j;
6655 return swig::getslice(
self,
id, jd, step);
6657 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____setitem____SWIG_0(std::vector< CollisionPair * > *
self,PySliceObject *slice,std::vector< CollisionPair *,std::allocator< CollisionPair * > >
const &v){
6658 Py_ssize_t i, j, step;
6659 if( !PySlice_Check(slice) ) {
6660 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6663 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6664 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type
id = i;
6665 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type jd = j;
6666 swig::setslice(
self,
id, jd, step, v);
6668 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____setitem____SWIG_1(std::vector< CollisionPair * > *
self,PySliceObject *slice){
6669 Py_ssize_t i, j, step;
6670 if( !PySlice_Check(slice) ) {
6671 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6674 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6675 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type
id = i;
6676 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type jd = j;
6677 swig::delslice(
self,
id, jd, step);
6679 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____delitem____SWIG_1(std::vector< CollisionPair * > *
self,PySliceObject *slice){
6680 Py_ssize_t i, j, step;
6681 if( !PySlice_Check(slice) ) {
6682 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6685 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6686 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type
id = i;
6687 std::vector<CollisionPair*,std::allocator< CollisionPair * > >::difference_type jd = j;
6688 swig::delslice(
self,
id, jd, step);
6690 SWIGINTERN std::vector< CollisionPair * >::value_type std_vector_Sl_CollisionPair_Sm__Sg____getitem____SWIG_1(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::difference_type i){
6691 return *(swig::cgetpos(
self, i));
6693 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg____setitem____SWIG_2(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::difference_type i,std::vector< CollisionPair * >::value_type x){
6694 *(swig::getpos(
self,i)) = x;
6696 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg__append(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::value_type x){
6699 SWIGINTERN std::vector< CollisionPair * >::iterator std_vector_Sl_CollisionPair_Sm__Sg__erase__SWIG_0(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::iterator pos){
return self->erase(pos); }
6700 SWIGINTERN std::vector< CollisionPair * >::iterator std_vector_Sl_CollisionPair_Sm__Sg__erase__SWIG_1(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::iterator first,std::vector< CollisionPair * >::iterator last){
return self->erase(first, last); }
6701 SWIGINTERN std::vector< CollisionPair * >::iterator std_vector_Sl_CollisionPair_Sm__Sg__insert__SWIG_0(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::iterator pos,std::vector< CollisionPair * >::value_type x){
return self->insert(pos, x); }
6702 SWIGINTERN
void std_vector_Sl_CollisionPair_Sm__Sg__insert__SWIG_1(std::vector< CollisionPair * > *
self,std::vector< CollisionPair * >::iterator pos,std::vector< CollisionPair * >::size_type n,std::vector< CollisionPair * >::value_type x){
self->insert(pos, n, x); }
6707 static const char* type_name() {
return"CStdVariable"; }
6713 template <>
struct traits<
std::vector<CStdVariable*, std::allocator< CStdVariable * > > > {
6715 static const char* type_name() {
6716 return "std::vector<" "CStdVariable" " *," "std::allocator< CStdVariable * >" " >";
6721 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_CStdVariable_Sm__Sg__iterator(std::vector< CStdVariable * > *
self,PyObject **PYTHON_SELF){
6722 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6724 SWIGINTERN
bool std_vector_Sl_CStdVariable_Sm__Sg____nonzero__(std::vector< CStdVariable * >
const *
self){
6725 return !(
self->empty());
6727 SWIGINTERN
bool std_vector_Sl_CStdVariable_Sm__Sg____bool__(std::vector< CStdVariable * >
const *
self){
6728 return !(
self->empty());
6730 SWIGINTERN std::vector< CStdVariable * >::size_type std_vector_Sl_CStdVariable_Sm__Sg____len__(std::vector< CStdVariable * >
const *
self){
6731 return self->size();
6733 SWIGINTERN std::vector< CStdVariable * >::value_type std_vector_Sl_CStdVariable_Sm__Sg__pop(std::vector< CStdVariable * > *
self){
6734 if (self->size() == 0)
6735 throw std::out_of_range(
"pop from empty container");
6736 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::value_type x =
self->back();
6740 SWIGINTERN std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *std_vector_Sl_CStdVariable_Sm__Sg____getslice__(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::difference_type i,std::vector< CStdVariable * >::difference_type j){
6741 return swig::getslice(
self, i, j, 1);
6743 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____setslice____SWIG_0(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::difference_type i,std::vector< CStdVariable * >::difference_type j,std::vector<
StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >
const &v=std::vector<
CStdVariable *,std::allocator< CStdVariable * > >()){
6744 swig::setslice(
self, i, j, 1, v);
6746 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____delslice__(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::difference_type i,std::vector< CStdVariable * >::difference_type j){
6747 swig::delslice(
self, i, j, 1);
6749 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____delitem____SWIG_0(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::difference_type i){
6750 self->erase(swig::getpos(
self,i));
6752 SWIGINTERN std::vector< StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > > *std_vector_Sl_CStdVariable_Sm__Sg____getitem____SWIG_0(std::vector< CStdVariable * > *
self,PySliceObject *slice){
6753 Py_ssize_t i, j, step;
6754 if( !PySlice_Check(slice) ) {
6755 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6758 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6759 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type
id = i;
6760 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type jd = j;
6761 return swig::getslice(
self,
id, jd, step);
6763 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____setitem____SWIG_0(std::vector< CStdVariable * > *
self,PySliceObject *slice,std::vector<
StdUtils::CStdVariable *,std::allocator< StdUtils::CStdVariable * > >
const &v){
6764 Py_ssize_t i, j, step;
6765 if( !PySlice_Check(slice) ) {
6766 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6769 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6770 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type
id = i;
6771 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type jd = j;
6772 swig::setslice(
self,
id, jd, step, v);
6774 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____setitem____SWIG_1(std::vector< CStdVariable * > *
self,PySliceObject *slice){
6775 Py_ssize_t i, j, step;
6776 if( !PySlice_Check(slice) ) {
6777 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6780 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6781 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type
id = i;
6782 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type jd = j;
6783 swig::delslice(
self,
id, jd, step);
6785 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____delitem____SWIG_1(std::vector< CStdVariable * > *
self,PySliceObject *slice){
6786 Py_ssize_t i, j, step;
6787 if( !PySlice_Check(slice) ) {
6788 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6791 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6792 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type
id = i;
6793 std::vector<CStdVariable*,std::allocator< CStdVariable * > >::difference_type jd = j;
6794 swig::delslice(
self,
id, jd, step);
6796 SWIGINTERN std::vector< CStdVariable * >::value_type std_vector_Sl_CStdVariable_Sm__Sg____getitem____SWIG_1(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::difference_type i){
6797 return *(swig::cgetpos(
self, i));
6799 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg____setitem____SWIG_2(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::difference_type i,std::vector< CStdVariable * >::value_type x){
6800 *(swig::getpos(
self,i)) = x;
6802 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg__append(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::value_type x){
6805 SWIGINTERN std::vector< CStdVariable * >::iterator std_vector_Sl_CStdVariable_Sm__Sg__erase__SWIG_0(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::iterator pos){
return self->erase(pos); }
6806 SWIGINTERN std::vector< CStdVariable * >::iterator std_vector_Sl_CStdVariable_Sm__Sg__erase__SWIG_1(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::iterator first,std::vector< CStdVariable * >::iterator last){
return self->erase(first, last); }
6807 SWIGINTERN std::vector< CStdVariable * >::iterator std_vector_Sl_CStdVariable_Sm__Sg__insert__SWIG_0(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::iterator pos,std::vector< CStdVariable * >::value_type x){
return self->insert(pos, x); }
6808 SWIGINTERN
void std_vector_Sl_CStdVariable_Sm__Sg__insert__SWIG_1(std::vector< CStdVariable * > *
self,std::vector< CStdVariable * >::iterator pos,std::vector< CStdVariable * >::size_type n,std::vector< CStdVariable * >::value_type x){
self->insert(pos, n, x); }
6813 static const char* type_name() {
return"DataColumn"; }
6819 template <>
struct traits<
std::vector<DataColumn*, std::allocator< DataColumn * > > > {